agentleFS
Arthuro0103Arthuro0103/cogiforge/CLAUDE.md

cogiforge

CLAUDE.md1 starsChanged 56 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: it says how the workbench operates. This file only carries the rules and the commands. Each rule has the mistake that originated it in POR-QUE.md. The gate only checks what is inside vault/: a file outside fails with an error, never as OK. onboard (onboarding) · open-session <project> · ask <question> (answers only from the notes, citations checked) ·…

  • Commits and pushes

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
  1. Very specific:

    Do not bypass the hook: If the commit was blocked, the message names the file and the reason: fix the file.

    line 14
  2. Very specific:

    A check that touched nothing is not OK: If you could not verify, say NOT_VERIFIED and why, instead of saying it is clean.

    line 19

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

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: it says how the workbench operates. This file only carries the rules and the commands. Each rule has the mistake that originated it in POR-QUE.md.

The rules

  1. Read and write only inside vault/. core/, tools/, tests/ and .githooks/ change only if the user asks.
  2. Do not write about the user what they did not say. You propose in vault/memory/observations.md; a line only enters vault/memory/profile.md with the user's "yes", with a date and the verbatim phrase.
  3. 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:: or none.
  4. Link by full path from vault/, in the middle of the text, only where the connection is real. No ## Connections block at the bottom.
  5. A note title is a statement of up to 10 words, not a category.
  6. Do not bypass the hook. If the commit was blocked, the message names the file and the reason: fix the file. --no-verify only if the user says so.
  7. Never run git push, nor create a remote, nor make anything public without the user's order.
  8. 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.
  9. A task is a TaskNotes plugin note in vault/tasks/ (status: open, in-progress, done; full-path link to the project in projects:). Details in vault/CLAUDE.md.
  10. If graphify-out/GRAPH_REPORT.md exists, read it before looking for connections between notes. It is generated: do not edit it, do not commit it.
  11. A check that touched nothing is not OK. If you could not verify, say NOT_VERIFIED and why, instead of saying it is clean.

Commands

What forCommand
enable the hook and prove it workssh install.sh
check links, areas and frontmatterpython3 core/gate.py
list orphan notespython3 core/ring.py
look for personal datapython3 core/leak.py .
rewrite each project's file-list blockpython3 tools/hub.py
find passages in the vault / check an answer's citations existpython3 tools/ask.py search "<question>" · python3 tools/ask.py cite <answer.md>
connection map (optional, needs graphify installed)/graphify vault at the repo root
run the tests (needs pytest; after sh install.sh)python3 -m pytest -q
break each check and require a red testpython3 tests/mutate.py

The gate only checks what is inside vault/: a file outside fails with an error, never as OK.

Skills (in .claude/skills/)

onboard (onboarding) · open-session <project> · ask <question> (answers only from the notes, citations checked) · close-session · task-observer (only proposes) · claude-corner (when the user leaves; only proposes) · adapt-skill (the user makes their own skill from a worksheet; you do not write the skill alone). The worksheets live in vault/skill-worksheets/.

Language

Skills and docs are in English; Claude replies in the language the user writes in.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.