forgekit / global
CLAUDE.md2 starsChanged 4 months agoMITView on GitHub
A template for your user-level ~/.claude/CLAUDE.md. Neither install.sh nor the plugin installs it (that would overwrite yours), so copy in the parts you want. Once there, Claude Code loads it every session. Keep it short — long files get ignored. Prune ruthlessly.
- Reads credentials
- Deletes or force-pushes
In this repository5 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- forge-impactSkill
- forge-ledgerSkill
- forge-verifySkill
The file
We split this CLAUDE.md into the rules it gives an agent
8 rules. About 0 are common, 3 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 9
Never mark work done without a check Claude can run: tests, build exit code, linter, or a diff against expected output.
- Very specific: line 13
Prefer rg/grep and targeted reads over reading whole files or directories.
- Very specific: line 15
Use the verifier subagent for an independent review of non-trivial diffs.
- Distinctive: line 20
Prefer the project's existing libraries.
- Distinctive: line 21
No comments that restate the code.
- Very specific: line 24
Never write secrets, tokens, or keys into code or commits.
- Very specific: line 25
Ask before: force-push, history rewrite, rm -rf, dropping DB tables, or touching production.
- Very specific: line 32
Use CLI tools when available: gh (GitHub), cloud CLIs, etc.
≈ “Common” is an estimate: at least 1 in 5 of the 26,980 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Global instructions (all projects)
A template for your user-level ~/.claude/CLAUDE.md. Neither install.sh nor the plugin
installs it (that would overwrite yours), so copy in the parts you want. Once there, Claude
Code loads it every session. Keep it short — long files get ignored. Prune ruthlessly.
Workflow
- Explore → plan → code → verify. For multi-file or unfamiliar changes, use plan mode first. Skip planning for one-line/obvious fixes.
- Never mark work done without a check Claude can run: tests, build exit code, linter, or a diff against expected output. Show the evidence (command + result), don't just assert success.
- Fix root causes, not symptoms. Don't suppress errors to make a check pass.
Context & cost (balanced)
- Prefer
rg/grepand targeted reads over reading whole files or directories. - For broad codebase investigation, delegate to the
scoutsubagent so exploration doesn't fill main context. - Use the
verifiersubagent for an independent review of non-trivial diffs. - Between unrelated tasks, expect a
/clear. Don't carry stale context forward.
Code style
- Match the surrounding file's conventions over any personal default.
- Prefer the project's existing libraries; don't add dependencies without reason.
- No comments that restate the code; comment only non-obvious "why".
Safety
- Never write secrets, tokens, or keys into code or commits.
.env*and key files are protected by a hook — don't work around it. - Ask before: force-push, history rewrite,
rm -rf, dropping DB tables, or touching production.
Memory
- The
recallskill records durable, cross-session facts to$XDG_STATE_HOME/forgekit/recall/(default~/.local/state/forgekit/recall/;FORGE_HOMEoverrides). - Save only what's non-obvious and lasting (env quirks, decisions, gotchas). Never save secrets or PII.
Tools
- Use CLI tools when available:
gh(GitHub), cloud CLIs, etc. — most context-efficient. - Learn unknown CLIs with
<tool> --helpbefore guessing flags.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

