agentleFS
gntrsgntrs/workflow/skills/brain/SKILL.md

brain

Skill4 starsChanged 7 days agoMITView on GitHub

Optional second brain in the vault (`$VAULT`, default `~/vault`). Answers from it with [[links]], or files what the user says. Invoke on /brain, "what's open", "what did we decide", "remember this", "note this", "file this".

27 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use validate and research.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • Microsoft AzureSkill

    validate

    Run the full CI validation workflow locally before submitting a PR. Use this as a final check to ensure all Azure DevOps CI pipeline steps will pass.

    Also in 3 projects that use this

  • NVIDIASkill

    research

    Before designing a feature, research how comparable libraries solve the problem, check best practices, known pitfalls, and upstream changes. Use when starting a new feature, investigating an unfamiliar area, or the user asks to research something.

    Also in 4 projects that use this

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 22 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    every fact carries its source as a [[note]] link, and a date if it can be stale.

    line 30
  2. Distinctive:

    not in the vault: say "not in the vault" and stop.

    line 33

“Common” is measured: kept by at least 6 in 10 of the 22 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

brain

optional: only if the brain is installed. without it, notes live in each repo's gitignored .claude/ (playbook, references/notes.md) and this skill has nothing to do.

the vault is $VAULT if set, else ~/vault. it is the one place that knows what is open, what was decided and what the user likes. a fresh one is made from this repo's brain-template/.

first

test -d "${VAULT:-$HOME/vault}". missing: say "no vault on this machine" in one line. do not guess from memory, do not answer from general knowledge. offer setup once: copy brain-template/ to ~/vault (or a path the user names, then VAULT points there). nothing is created without their yes.

answering

read in this order, stop when the answer is found:

  1. HOME.md, the map
  2. now.md, open items across every project
  3. projects/<repo>/<repo>.md and <repo>-tbd.md, the repo from git remote -v or the one the user names
  4. decisions/, newest first, grep the topic
  5. taste/ for anything visual or copy
  6. memory/ for gotchas, machines, how people work

answer shape:

  • the answer first, one to five lines.
  • every fact carries its source as a [[note]] link, and a date if it can be stale.
  • two notes disagree: say so, name both, say which is newer. never pick silently.
  • a note about code (a bug is live, a trap exists) is checked against the code before it is repeated. the code wins, and the note gets fixed.
  • not in the vault: say "not in the vault" and stop.

filing

when the user says remember, note, file, or gives a fact worth keeping:

it isgoes to
a decision, what and whydecisions/YYYY-MM-DD-<slug>.md
a reaction to a design or copytaste/
a machine, account, infra gotchasystems/
how a person works: role, how they reviewpeople/<name>.md
a project fact, plan, open itemprojects/<repo>/, the hub or the tbd
a lesson for future sessionsmemory/, with a line in MEMORY.md
not sureinbox/, /dream files it later

folders that do not exist yet are created on first use.

every note:

  • frontmatter: type, project, date, status. nothing else required. memory/ keeps its own format (see memory/MEMORY.md in the vault).
  • synthesis on top, rewritten when it changes. a ## timeline below it, append only, newest first, one dated line per entry.
  • links both ways. the new note links its hub, and the hub gets a line linking back.
  • a unique basename. never plan.md, log.md, notes.md: Obsidian resolves a bare [[log]] to whichever it finds first. dated notes keep their date prefix.
  • say where it went in one line: filed: [[2026-01-15-drop-the-legacy-api]], linked from [[_example]].

per repo, as the work happens

cook writes these, not the user: projects/<repo>/<repo>-log.md (newest first: date, branch, what changed, what is open) and <repo>-tbd.md (checkboxes grouped by who moves next, ## cooking on top while a task is live). a repo without a folder gets one copied from projects/_example/, renamed.

never

  • secrets. no keys, tokens, passwords, recovery codes, not even a prefix. a pasted secret gets "not filed, that is a secret" and nothing written.
  • personal data about other people beyond work context. role, projects, how they review: yes. emails, phone numbers, private profiles, scraped lists: no.
  • rewording the user's own first person lines. quote them as written.
  • deleting a note. something superseded moves to archive/ with a link from what replaced it.

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.