brain-taxonomist
What it does
This skill checks where a new page should go before it is created. It follows the filing rules you have set up, so pages stay organized from the start.
When to use it
- βWhen your agent is about to create a new page in your brain.
- βWhen a new note could fit more than one folder and you want a clear answer.
- βWhen you want to check whether older pages have drifted out of their right folder.
Skill link
https://github.com/garrytan/gbrain/blob/master/plugin/skills/brain-taxonomist/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βBefore you create a page for my new client, tell me which folder it belongs in.β
5 new skills a week. 1 minute to read.
How it works
The agent reads your active filing rules and matches the content to the right page type. The same content always gets the same answer, and unclear cases are sent to you to decide.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
brain-taxonomist
Purpose
Gate function: Before creating ANY new brain page, consult this skill to determine the correct filing path. This prevents misfiling at write time rather than cleaning up drift after the fact.
Drift function: Periodic scan for pages that have outgrown their current location.
Contract
This skill guarantees:
- Every new page is filed at the path determined by the ACTIVE schema pack β never against a hardcoded directory table baked into this skill.
- The decision is reproducible: invoking brain-taxonomist twice on the same content produces the same recommended path.
- Ambiguous cases surface to the user via
skills/ask-user/rather than silently picking a default. - Per-source overrides via
--source <id>are honored β multi-brain users (Persona B) get a different recommendation per source if their packs diverge. - When no matching
page_types[]entry exists in the active pack, the skill signals to EIIRP Phase 3 (SCHEMA CHECK) rather than picking the closest-fitting fallback.
Critical: this skill reads the ACTIVE schema pack as data
brain-taxonomist has NO hardcoded directory table. Every decision is
driven by gbrain schema show --json. This means:
- A user who runs
gbrain schema use gbrain-recommendedgets the full recommended directory set (deal, meeting, concept, project, source, daily, personal, civic, original, place, trip, conversation, writing, plus all gbrain-base types). - A user who authored a custom pack via
gbrain schema init+ edit gets filing recommendations based on THEIR taxonomy, not gbrain's defaults. - Per-source overrides (tier 3 in the 7-tier resolution chain) are honored
when
--source <id>is passed to brain-taxonomist.
This is the single-source-of-truth principle (D9 from the v0.39 plan-eng-review).
When to Consult (MANDATORY)
Run the taxonomist check before writing to the brain in these cases:
- New brain page β any
type(person, company, concept, book, meeting, etc.) - Bulk import β before committing a batch of new pages
- Uncertain filing β when the primary subject is ambiguous
You do NOT need to consult for:
- Updating an existing page in place (same path)
- Appending to a Timeline section
- Meeting entity propagation to existing pages
Decision Protocol
Step 1: Identify primary subject type
Walk these questions in order:
- Is the primary subject a NAMED PERSON? β person-typed directory
- Is the primary subject a NAMED ORGANIZATION? β company-typed directory
- Is it about a TIME-BOUNDED EVENT (meeting, deal, trip)? β temporal-typed directory
- Is it a REUSABLE MENTAL MODEL? β concept-typed directory
- Is it RAW MEDIA (article, video, book, PDF)? β media-typed directory
- Is it BULK SOURCE DATA? β source-typed directory
- None of the above β consult EIIRP Phase 3 for schema-pack candidate creation.
Step 2: Look up the directory for that type in the active pack
gbrain schema show --json | jq '.page_types[] | select(.primitive == "entity")'
Each page_types[] entry has a path_prefixes: array. The first prefix
is the canonical path. If multiple types match (e.g. both person and
founder exist in the pack with expert_routing: true), prefer the more
specific one (the one with the more specific path prefix).
Step 3: For books β determine sub-category
The gbrain-recommended pack treats books as media/books/<category>/<slug>.md
where category is one of: psychology, philosophy, spirituality, business,
media-and-society, family-and-divorce, heritage, science, fiction,
biography, arts-and-design. If your active pack has a different scheme,
walk it from gbrain schema show --json instead of hardcoding here.
Step 4: Construct the slug
- kebab-case, descriptive
- no author name unless disambiguation is needed
- match the canonical path prefix exactly (no leading slash)
Step 5: Validate before writing
- Path follows the active pack's
page_types[].path_prefixes - Slug is kebab-case, descriptive
- Frontmatter includes
type:matching one of the pack'spage_types[].name - Cross-links to related pages are included
If the active pack doesn't have a type for what you're trying to file, DON'T pick the closest-fitting one. Instead, signal to EIIRP that a new type is needed and let the schema-pack cathedral handle the proposal flow.
Integration with Other Skills
eiirpβ calls this skill as Phase 2 TAXONOMY for every output in
FAQ
Does it use fixed folder names?
No. It reads the folder rules you have set up, so the answer follows your own structure.
What happens if no folder fits?
The skill does not guess. It asks you what to do.
Can it check older pages too?
Yes. It can scan for pages that seem to be in the wrong place.
Details
Original description by the author
Filing gate for ALL brain writes. Consulted before creating any new brain page to determine the correct path. Reads the ACTIVE schema pack via `gbrain schema show --json` β no hardcoded directory table. Also runs periodic taxonomy drift detection via `gbrain schema review-orphans`.
repo: garrytan/gbrain
Popularity
- GitHub stars
- 31k
- Ranking position
- #9290
- License
- MIT
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
gbrain
31kLets your agent search a shared company knowledge brain for facts about people, projects and decisions, and save durable notes to it.
brain-ingest-gate
31kChecks new content against an existing knowledge brain before it is added, to avoid duplicates and resolve named entities first.
brain-link-discipline
31kMakes sure your agent includes a working link to each brain page it reports, in the same message, so you can open it right away.
brain-ops
31kGives your agent the core routine for a knowledge brain: check existing context first, save explicit notes with their source, and link related pages.
Similar skills
technical-documentation
394kHelps your agent write and review clear technical docs and agent instruction files, so people and AI tools can follow them easily.
architecture-decision-records
280kHas your agent record important project structure decisions. It helps to understand the reasoning behind choices and maintain a clear history of changes.
code-tour
280kLets your agent create step-by-step code walkthroughs with exact file and line references. Useful for intros, explanations, and reviews.