Getting started
Read this first. The contents of this repository flow directly into Claude’s system prompt. Review every file before use, and never commit secrets or credentials.
settings.jsonin particular is deliberately permissive: it allows every tool (Bash(*),Edit(*),Write(*)…) and setsskipDangerousModePermissionPrompt. Don’t copy it as-is; start from Claude Code’s defaults and allow only what you need.
What’s in the repo
| Path | Purpose |
|---|---|
CLAUDE.md | Global instructions loaded by Claude Code on every session |
settings.json | Global Claude Code settings: permissions, hooks, status line, model, theme |
skills/ | Skills, auto-discovered by Claude Code and invoked as /skill-name |
commands/ | Custom slash commands (invoke with /command-name) |
lib/ | Shared libraries used by skills: graph_walker.py, audit-runner.sh, audit-verify.sh |
docs/ | Workflow documentation, including the dot-graph skill pattern |
scripts/ | Setup scripts, the status line command and the personal-info check |
Setup
git clone https://github.com/coreydaley/agent-config.git
cd agent-config
brew install gitleaks
make allmake all symlinks the repo into ~/.claude/ and installs the safety hooks. It’s idempotent, so it’s safe to run more than once.
What gets symlinked
CLAUDE.md → ~/.claude/CLAUDE.md
settings.json → ~/.claude/settings.json
commands/ → ~/.claude/commands/
skills/ → ~/.claude/skills/
lib/ → ~/.claude/lib/
scripts/statusline-command.sh → ~/.claude/statusline-command.sh
subagents/ → ~/.claude/agents/ (only if the directory exists)Existing files at the symlink destinations are backed up with a .old extension before they’re replaced. An existing symlink is simply replaced.
Because CLAUDE.md and settings.json are linked, running make all replaces your own global instructions and settings with mine. If you only want a few skills, copy those skill directories (and lib/, which the graph-driven skills import) instead.
Individual targets
make symlinks # Create the ~/.claude/ symlinks only
make hooks # Install the safety hooks only
make help # Show all available targetsAssumptions baked into the skills
The skills follow the conventions in CLAUDE.md, so they expect a setup like mine:
- Repositories live under
~/Code/<host>/<org>/<repo>/, cloned bare with git worktrees. - GitHub work goes through the
ghCLI over HTTPS. - Commits use Conventional Commits with a
Co-authored-by:trailer for the AI agent. - Feature, review and audit artifacts are written under
~/Reports/<org>/<repo>/, never into the project repo. - Nothing is committed or pushed unless you explicitly ask.
Audit and feature output
All feature, review and audit artifacts live under ~/Reports/<org>/<repo>/, where <org>/<repo> comes from the upstream remote, falling back to origin:
~/Reports/<org>/<repo>/
├── features/
│ └── YYYY-MM-DDTHH-MM-SS/ # one folder per /feature-create or /feature-plan session
│ ├── FEATURE.md # /feature-create working draft (the issue body)
│ ├── draft-a.md, draft-b.md # /feature-plan independent drafts
│ ├── devils-advocate.md, security-review.md
│ └── PLAN.md # /feature-plan working plan
└── audits/
└── YYYY-MM-DDTHH-MM-SS-<lens>/ # one folder per audit run
├── claude.md # review sub-agent's findings
├── synthesis.md # consolidated findings
├── devils-advocate.md # challenge pass
└── REPORT.md # final reportThe durable record of a feature is its GitHub issue, its native sub-issues and the commits that close them; the local files are working copies. See Feature workflow.