garrytan

Brain Filing Rules — Development skill for Claude Code

Development community

Brain Filing Rules -- MANDATORY for all skills that write to the brain.

How to install Brain Filing Rules

Installs to ~/.claude/skills/garrytan-gbrain-_brain-filing-rules/SKILL.md

Terminal
mkdir -p ~/.claude/skills/garrytan-gbrain-_brain-filing-rules && curl -fsSL https://raw.githubusercontent.com/garrytan/gbrain/HEAD/skills/_brain-filing-rules.md -o ~/.claude/skills/garrytan-gbrain-_brain-filing-rules/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What Brain Filing Rules does

Brain Filing Rules -- MANDATORY for all skills that write to the brain

The Rule

The PRIMARY SUBJECT of the content determines where it goes. Not the format, not the source, not the skill that's running.

Decision Protocol

  1. Identify the primary subject (a person? company? concept? policy issue?)
  2. File in the directory that matches the subject
  3. Cross-link from related directories
  4. When in doubt: what would you search for to find this page again?

Common Misfiling Patterns --

Alternatives in Development

  • Agentic Stack — One brain, many harnesses 2.2k ★
  • Brain — Set up or use your Professional Brain — init, ingest, recall, or review 1.3k ★
  • Claudectl — Orchestrate a swarm of Claude Code agents with a local brain that learns from you 197 ★

Full documentation available on GitHub

View Source Repository