From hipocampo
Generate a lean, operational AGENTS.md router for this repo (any language) plus the CLAUDE.md pointer and a .claude/rules/USER.md persona seed. Use after brain-init, or when the user says "generate the router", "set up AGENTS.md", "brain-router-init".
How this skill is triggered — by the user, by Claude, or both
Slash command
/hipocampo:brain-router-initThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Produce a **short, operational** `AGENTS.md` — vague, long instruction files
Produce a short, operational AGENTS.md — vague, long instruction files
measurably tax reasoning, so keep it concrete (commands, paths) and brief.
Read project_mode from brain.config.toml (set by brain-init) and branch:
Existing project — detect, then CONFIRM (one AskUserQuestion round):
package.json, pyproject.toml/requirements.txt, go.mod, Cargo.toml,
*.csproj/*.sln, pom.xml/build.gradle, Gemfile, etc. Note the test and
build commands and the base branch.AskUserQuestion round:
[[doc_sync]] rules in brain.config.toml (the gate is
born configured, not empty);Greenfield — ask, then generate (one AskUserQuestion round, up to 4):
main language/stack (+ framework) · desired architecture pattern ·
test conventions (framework, TDD?, coverage target) · commit/PR style
(conventional commits? base branch? squash?). Generate the router, the
build/test commands, and starter [[doc_sync]] rules from the answers.
3. Write AGENTS.md at the repo root with these sections, lean (when
team = true in the config, include the PR-workflow rule and suggest
protecting the vault branch):
AGENTS.md →
area skill → <vault>/knowledge/index.md (index-first) for non-trivial work.<vault>/capture.md (write-gated capture) and
<vault>/context-budget.md (never bulk-read the vault). Add the recall
cue so memory actually gets used: "Before asking the user about a past
decision, convention, or rationale, run the recall skill (search the vault)
first." This is the LoadMemoryTool half — without the cue the agent won't
fire it.[[doc_sync]] rules in brain.config.toml gate
sensitive areas (the pre-commit hook blocks a change lacking its doc).AGENTS.md is the single
source; each agent reaches it differently):
CLAUDE.md containing just @AGENTS.md (the official
bridge), unless one exists — then append the import if missing.AGENTS.md.context.fileName to ["AGENTS.md", "GEMINI.md"] in
.gemini/settings.json (older Gemini builds use the flat contextFileName
key — write the nested form, mention the old one). This is the one manual
router step Gemini needs.[memory] persona_file in brain.config.toml (default
.claude/rules/USER.md). On Claude Code it auto-loads; on Codex/Gemini set it
to a router-referenced path (e.g. <vault>/USER.md) and link it from AGENTS.md
so it's pulled in..claude/rules/<name>.md with a paths: glob frontmatter
instead of bloating AGENTS.md — they load only when the agent touches matching
files (native to Claude Code; Codex/Gemini have no equivalent, so fold such
rules into AGENTS.md there)..agents/skills/, Gemini reads
.gemini/skills/; npx skills add (or brain-scripts-init) places them. No
wrappers needed.AGENTS.md under ~120 lines. Every directive carries a command or a path.AGENTS.md/CLAUDE.md without showing a diff first.npx claudepluginhub ferraz2000/hipocampo-memory --plugin hipocampoProvides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.