agentleFS
Arthuro0103Arthuro0103/cogiforge/CLAUDE.md

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

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 16
  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 21

≈ “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.

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 (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

  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. The hook checks it (core/memory.py: format, date, the literal phrase in the source when the source is a file, invisible text).
  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 (the item stays in vault/inbox/ with a date).
  4. 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 ## 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.

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 forCommand
enable the hook, prove it workssh install.sh
check links, areas and frontmatterpython3 core/gate.py
check the memory: format, date, the phrase in its sourcepython3 core/memory.py [--staged]
rewrite each project's file-list blockpython3 tools/hub.py
find passages in the vault / check citations existpython3 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.

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.