My Claude Code config, installed into ~/.claude/ via symlinks.
./setup.shIdempotent — re-run any time. Symlinks everything below, cleans up dead links into this repo, and rebuilds the
concatenated global CLAUDE.md. See CLAUDE.md for what it does and how to extend it.
# Numbered parts of the global instruction set, concatenated (in glob order)
# into ~/.claude/CLAUDE.md. Numeric prefixes control order; leave gaps for inserts.
# *.local.md files are private to the specific machine setup (e.g. work laptop)
- CLAUDE.md.d/:
- 10-Introduction.md # An introduction to the user
- 20-Security.md # Safety precautions for Claude to consider
- 30-Compaction.md # A style for compaction to try to promote efficiency
- 40-Communication-Style.md # How to write back to the user
- 45-Integrations.local.md # Private notes for specific MCP servers and integrations
- 50-Behaviours.md # Quirks and behaviours the user prefers
- 51-Behaviours.local.md # Private behaviour notes
# Shared global agents, symlinked per-file into ~/.claude/agents/<name>.md
- agents/: # none yet
# Generic, cross-project notes shared by all my Claude sessions, read via ~/.claude/kb-behaviours
# (symlinked by setup.sh). Must never mention my employer or anything
# project-specific; those notes live in ~/.claude/kb-projects, a directory outside this repo.
# Notes carry Last-Verified and Sources frontmatter, see rules/kb-behaviours.md.
- knowledgebase/:
# Rules, symlinked as a whole folder to ~/.claude/rules/dotclaude
# so they co-exist with rules from other sources.
- rules/:
- aws-sts-get-caller-identity.md # Resolve the AWS account/region natively, never hardcode
- gh-workflows-pinning.md # Pin GitHub Actions workflows to commit SHAs
- kb-behaviours.md # How to maintain the generic knowledgebase (no employer or project detail)
- kb-projects.md # How to maintain the project knowledgebase in ~/.claude/kb-projects
- tool-thoughts.md # Log anything that slowed development to ~/.claude/tool-thoughts.md
- typescript.md # Notes for working with Typescript code
# Skills, symlinked per-folder into ~/.claude/skills/<name>.
# Each has a SKILL.md (the procedure) and a README.md (what it's for, with an example).
# Skills named local-* are private (gitignored) but linked the same way, and aren't listed here.
- skills/:
- commit # Git commit workflow
- context-joke # Context-aware joke
- gh-pr-consider-comments # Work through unresolved PR review threads, discussion-first
- gh-pr-review # Review a PR: verify-don't-trust, numbered findings, clear verdict
- grill-me # Interrogate a loose idea until it can be committed to
- grill-proj # As above, with the codebase read first and every question grounded in it
- init2 # Generate a project CLAUDE.md
- knowledge-interview # Interview the user, then draft the doc in the right shape
- pull-request # Open a PR via gh CLI
# Copied to ~/.claude/ on first run (NOT symlinked), to allow edits per-machine.
# setup.sh never overwrites these once present.
- settings.json # Permissions, allowed commands, hooks, etc.
- statusline-command.sh # Custom statusline (screenshot below)