1.9 KiB
Claude Code configuration
My personal ~/.claude, version controlled: CLAUDE.md and AGENTS.md for instructions, the words under CLAUDE.md → "Vocabulary"; agents/ and skills/; principles/ for what the reviewer agents hold every project to; docs/ for decisions; settings.json for the harness and .claude/settings.json for the harness inside this repo; statusline.sh; CHANGELOG.md and todo.md; and the tools in bin/.
Goals
- Make my claude setup shareable between computers.
- Keep my claude setup and the transcripts of unattended runs, backed up.
- Leak nothing to the remote — no credentials, no transcripts, no memory files.
- Supply tools like agents, skills and scripts to make working with claude code more effective and with less interruptions.
Audience
Me, on my own machines, which take tagged releases. Nobody else depends on it.
Install
Check out the latest tag in ~/.claude, with Python 3.11 or newer as python3 on PATH. Link the tool onto PATH: ln -s ~/.claude/bin/loop-claude ~/.local/bin/loop-claude. Run it only in a sandbox with no direct access to a production environment, such as a dedicated VM: every claude it starts, the interrupt included, skips every permission prompt.
Release
Rename ## Unreleased in CHANGELOG.md to the version, commit, and tag that commit v<version>.
Tools
loop-claude <task>runs a project's next chunk cycle after cycle;loop-claude --helpstates its contract.
Test on the host, with uv on PATH to fetch mypy and the Python version Install names (docs/decisions.md → "bin/: host python, no container", "bin/: the Python floor is README's Install prerequisite"): python3 -m unittest discover -s bin -p 'test_*.py'
Tracking a new file
.gitignore is an allowlist. Track a file by negating it and its parent directories, then confirm with git check-ignore -v <path>:
!docs/
!docs/*.md