cogiforge
CLAUDE.md10 starsChanged 5 days agoMITView on GitHub
You are at the repo root. The workbench (the user's notes, projects and memory) lives in vault/. Before acting, read vault/CLAUDE.md (how the workbench operates). This file carries the rules and the commands. Each rule has the mistake that originated it in WHY.md. The same rules, for any agent, are in AGENTS.md. @vault/memory/profile.md @vault/memory/patterns.md @vault/memory/decisions.md This is the user's own memory; rule 2 applies to it. Shared mode: each person adds the @ lines for their vault/people/<handle>/memory/ files to their…
- Commits and pushes
In this repository20 other files it gives its agents.
- AGENTS.mdAGENTS.md
- vault/CLAUDE.mdCLAUDE.md
- cf-adapt-skillSkill
- cf-adoptSkill
- cf-askSkill
- cf-brainstormSkill
- cf-brandSkill
- cf-claude-cornerSkill
- cf-close-sessionSkill
- cf-extract-routineSkill
- cf-helpSkill
- cf-import-knowledgeSkill
- cf-know-my-productSkill
- cf-new-projectSkill
- cf-new-ruleSkill
- cf-onboardSkill
- cf-open-sessionSkill
- cf-studySkill
- cf-task-observerSkill
- cf-whats-realSkill
The file
We split this CLAUDE.md into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
Do not bypass the hook: If the commit was blocked, the message names the file and the reason: fix the file.
- Very specific: line 21
A check that touched nothing is not OK: If you could not verify, say NOT_VERIFIED and why, instead of saying it is clean.
≈ “Common” is an estimate: at least 1 in 5 of the 29,248 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
CLAUDE.md: cogiforge
You are at the repo root. The workbench (the user's notes, projects and memory) lives in vault/.
Before acting, read vault/CLAUDE.md (how the workbench operates). This file carries the
rules and the commands. Each rule has the mistake that originated it in WHY.md.
The same rules, for any agent, are in AGENTS.md.
The rules
- Read and write only inside
vault/.core/,tools/,tests/and.githooks/change only if the user asks. - Do not write about the user what they did not say. You propose in
vault/memory/observations.md; a line only entersvault/memory/profile.mdwith the user's "yes", with a date and the verbatim phrase. The hook checks it (core/memory.py: format, date, the literal phrase in the source when the source is a file, invisible text). - The target comes first. An item is only processed when a file that already existed changed. Name the target before writing:
project::,article::,question::,task::ornone(the item stays invault/inbox/with a date). - Link by full path from
vault/, in the middle of the text ([[projects/example-my-first-project/instructions|the project]]), only where the connection is real. No## Connectionsblock at the bottom. - A note title is a statement of up to 10 words, not a category.
- Do not bypass the hook. If the commit was blocked, the message names the file and the reason: fix the file.
--no-verifyonly if the user says so. - Never run
git push, nor create a remote, nor make anything public without the user's order. - Personal data does not enter the repo (machine path, email, phone, CPF, names from the private list). The hook blocks it; if it blocks, remove the data.
- A task is a TaskNotes plugin note in
vault/tasks/(status:open,in-progress,done; full-path link to the project inprojects:). Details invault/CLAUDE.md. - If
graphify-out/GRAPH_REPORT.mdexists, read it before looking for connections between notes. It is generated: do not edit it, do not commit it. - A check that touched nothing is not OK. If you could not verify, say
NOT_VERIFIEDand why, instead of saying it is clean.
Memory (loads in every session)
@vault/memory/profile.md @vault/memory/patterns.md @vault/memory/decisions.md
This is the user's own memory; rule 2 applies to it. Shared mode: each person adds the @ lines for their
vault/people/<handle>/memory/ files to their own CLAUDE.local.md (not versioned).
Commands
| What for | Command |
| enable the hook, prove it works | sh install.sh |
| check links, areas and frontmatter | python3 core/gate.py |
| check the memory: format, date, the phrase in its source | python3 core/memory.py [--staged] |
| rewrite each project's file-list block | python3 tools/hub.py |
| find passages in the vault / check citations exist | python3 tools/ask.py search "<question>" · python3 tools/ask.py cite <answer.md> |
run the tests (needs pytest) | python3 -m pytest -q |
The full table is in AGENTS.md (section Commands). The gate only checks inside vault/: a file outside fails, never as OK.
Skills (in .claude/skills/)
cf-onboard · cf-open-session <project> · cf-ask <question> (answers only from the notes) · cf-close-session · cf-task-observer (only proposes) ·
cf-claude-corner (when the user leaves; only proposes) · cf-adapt-skill (the user makes their own skill; you do not write it alone) · cf-new-project (tools/new_project.py) · cf-brand <mode> (only in the user's words; docs/BRAND.md). Worksheets: vault/skill-worksheets/.
Language
Skills and docs are in English; Claude replies in the language the user writes in.
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.

