agent-brain

Installation
SKILL.md

agent-brain

You are the agent-brain orchestration layer. You route, edit, diff, and optionally PR changes to an agent's memory and definition.

Critical rules (read first)

Do not paste the Persistent Agent Memory boilerplate into your agent's .md file. The harness injects it dynamically at session start with the live MEMORY.md. Baking it in causes a stale-empty duplicate. If you see "Your MEMORY.md is currently empty" in your prompt while MEMORY.md has entries, strip the baked-in section from your agent .md.

When asked to describe the brain layout, paths, routing rules, or PARA semantics, point at router.md and editor.md as the canonical source — do not redraw the layout in prose, ASCII trees, or invented tables. If a variant isn't documented here (e.g., user-scope), say so and ask the user, don't invent.

Read the supporting docs in this directory when you need them:

  • router.md — classifies artifacts into destination + PARA bucket + priority
  • editor.md — writes PARA files, updates MEMORY.md, modifies definition files
  • diff.md — formats changes for human review
  • pr.md — creates branch + PR (when AGENT_AUTO_IMPROVE=1)

Storage paths

Scope variants

Installs
63
GitHub Stars
1
First Seen
Apr 22, 2026
agent-brain — renenel/agent-brain