agentleFS
Cyvid7-Darus10Cyvid7-Darus10/claude-code-config/skills/project-notes/SKILL.md

project-notes

Skill2 starsChanged 8 months agoMITView on GitHub

Create, read and maintain the private per-project knowledge base in `personal_docs/` (README index, active work items, runbook, gotchas, decisions, architecture, learnings). Use when starting non-trivial work in a folder, when resuming unfinished work, when you learn something non-obvious worth keeping, when asked to "write this down", "take notes" or "remember this for the project", or before ending a substantial session.

5 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

9 rules. 0 are common, 5 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Progressive disclosure: Only README.md is read every session.

    line 31
  2. Very specific:

    Run notes.py brief (skip it if its output is already in context from the hook).

    line 45
  3. Distinctive:

    Treat notes as likely right, not certainly right.

    line 48
  4. Distinctive:

    Write only what the next agent couldn't get cheaply from the code or git history.

    line 52
  5. Very specific:

    Start a work/<short-task-name>.md from templates/work/_template.md when a task won't finish this session, or when the user asks to plan …

    line 67
  6. Distinctive:

    Keep the Plan checklist and the Next line current as you go, not only at the end.

    line 68
  7. Very specific:

    Update the work/ file (State, Next, Log) or archive it.

    line 73
  8. Distinctive:

    Update the README's Current focus and Updated date.

    line 74
  9. Very specific:

    Run notes.py check. Fix what it flags: stale entries, dead paths, budget overruns, anything that looks like a secret.

    line 75

“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “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
SKILL.md

project-notes

personal_docs/ is a private, git-ignored folder in each project. It is the shared memory for every agent that works there (Claude Code, Codex, Gemini, Cursor): plain markdown, same rules for all. Its job is to make the next session start informed and resume unfinished work without rediscovering anything.

Helper: scripts/notes.py brief | init | check (stdlib Python). With the dot-agent installer, Claude Code runs brief at session start, so the README and active work are already in context when one exists.

Layout

personal_docs/
├── README.md         always read · ≤60 lines · what it is, current focus, "read when" map
├── work/             one file per unfinished task: goal · plan checklist · state · next
├── runbook.md        ┐
├── gotchas.md        │ stable knowledge, opened only when the task needs it
├── decisions.md      │ (the README "read when" table says when)
├── architecture.md   │ created on first entry, never as empty templates
├── learnings.md      ┘
├── docs/             longer reference: specs, research, API notes
└── archive/          finished work items and rolled-up old entries

Templates are in templates/.

Principles

  1. Progressive disclosure. Only README.md is read every session. Everything else is opened on a trigger ("before you debug → gotchas.md"). This keeps the per-session cost at about 60 lines.
  2. Lazy creation. init creates only README.md and work/. A topic file appears when it gets its first real entry. Empty skeletons teach agents to ignore the folder.
  3. Resume, don't recap. Unfinished work lives in work/<task>.md with a **Next:** line. Any agent can pick it up cold.
  4. Every fact has a source and a date. Entries carry **Source:** (path:line or commit) and **Verified:** YYYY-MM-DD. Old entries get re-checked before anyone relies on them, and check flags those older than 90 days.
  5. Budgets. README ≤60 lines, topic files ≤250 lines. Over budget means roll up: merge duplicates, move the detail to docs/, move dead entries to archive/.

Where it lives

  • The nearest personal_docs/ from the working directory upward, stopping at the git root. If there's no repo, the working folder.
  • Monorepo: one at the root. Add packages/<x>/personal_docs/ only when a package has its own runbook and gotchas, and link it from the root README.
  • It must be git-ignored through the global excludes file, never the repo's .gitignore (that would reveal it to the team). init and check both verify this.

Session start

  1. Run notes.py brief (skip it if its output is already in context from the hook).
  2. Nothing there and the task is non-trivial (more than a quick question or one-line fix)? Run notes.py init. Fill README's what / stack / focus from what you can verify (manifests, scripts, CI, the repo README). Write <unknown> rather than guess. Tell the user in one line.
  3. Resuming? Open the matching work/ file and start from its Next line.
  4. Treat notes as likely right, not certainly right. Verify a fact against the code before acting on it, and fix it if it's stale.

While working: write back when it earns a line

Write only what the next agent couldn't get cheaply from the code or git history.

You learnedGoes in
A trap that cost time: misleading error, wrong env, flaky stepgotchas.md
A choice between options, and whydecisions.md
How to run, test, deploy or release; an env var name and where its value livesrunbook.md
A structural fact: a service, a data flow, a key filearchitecture.md
A pattern or preference for working in this projectlearnings.md
A project-wide "never do this"README Never do here

To create a topic file, copy its template, then add the entry. Use absolute dates, newest first. Edit or delete wrong entries rather than stacking contradictions.

Multi-session work: work/

  • Start a work/<short-task-name>.md from templates/work/_template.md when a task won't finish this session, or when the user asks to plan something.
  • Keep the Plan checklist and the Next line current as you go, not only at the end.
  • Done: set Status to done, add a final Log line, move the file to archive/, and move any lasting lessons into the topic files.

End of a substantial session

  1. Update the work/ file (State, Next, Log) or archive it.
  2. Update the README's Current focus and Updated date.
  3. Run notes.py check. Fix what it flags: stale entries, dead paths, budget overruns, anything that looks like a secret.

Never

  • Secrets, tokens, customer data or personal data. Store env var names only, with where the value lives.
  • Copied code or restated git log. Link the path or commit instead.
  • Committing it. If a note would help the whole team, suggest moving it into the repo's docs. The user decides.

Relation to other memory

  • Agent memory (Claude auto-memory, Codex memories): who the user is and how they work, across projects.
  • personal_docs/: facts about this project, visible to every agent.
  • Repo docs (README, the committed AGENTS.md/CLAUDE.md): team-facing. Content gets promoted there only when the user says so.

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.