본문으로 건너뛰기
cccskills
무료GitHub에 공개

brain-taxonomist

Recommend where new gbrain pages belong using the active schema pack, a configuration defining page types and storage paths. It also checks existing pages for missing or undeclared types and highlights cases requiring a classification decision.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

원문원문 설명 보기

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`.

설치 방법 보기

이럴 때 유용합니다

  • Choose a storage path before creating a brain page
  • Check filing rules before a bulk import
  • Apply classification settings for a specific source
  • Audit existing pages for missing or undeclared types

포함된 파일(2)

  • SKILL.md9.1 KB
  • routing-eval.jsonl632 B

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

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-recommended gets 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:

  1. New brain page — any type (person, company, concept, book, meeting, etc.)
  2. Bulk import — before committing a batch of new pages
  3. 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:

  1. Is the primary subject a NAMED PERSON? → person-typed directory
  2. Is the primary subject a NAMED ORGANIZATION? → company-typed directory
  3. Is it about a TIME-BOUNDED EVENT (meeting, deal, trip)? → temporal-typed directory
  4. Is it a REUSABLE MENTAL MODEL? → concept-typed directory
  5. Is it RAW MEDIA (article, video, book, PDF)? → media-typed directory
  6. Is it BULK SOURCE DATA? → source-typed directory
  7. 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's page_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 its inventory.
  • ingest — article/media ingestion consults brain-taxonomist for filing.
  • repo-architecture — delegates the filing decision to this skill.
  • book-mirror — after generating a mirror, files it via brain-taxonomist.

Periodic Drift Detection

# Which pages have no type matching the active pack? Counts untyped pages AND
# pages whose type the pack neither declares nor aliases (undeclared_types).
gbrain schema review-orphans --json

# Per-type audit of the stored corpus (stored_type_undeclared / stored_type_is_alias).
gbrain schema lint --with-db --json

Both commands run locally. Over MCP, the run_doctor report carries the same verdict as its schema_pack_consistency check (an undeclared type warns with code page_type_undeclared).

When undeclared types show up, declare them in the pack (gbrain schema add-type <type> --primitive <p> --prefix <dir/>) or rewrite the pages with a declared type. When more than 10% of a source is untyped, run the EIIRP Phase 3 SCHEMA CHECK flow to surface candidate types via schema detect.

Output Format

Advisory: a single recommendation block plus a one-line reasoning trail.

**File at:** `<directory>/<slug>.md`
**Reasoning:**
- Primary subject: <person|company|concept|...>
- Matched page_type: <name> (primitive: <entity|temporal|concept|media|annotation>)
- Active pack: <pack-name> v<version>
- Source: <source_id>

When ambiguous, surface 2 candidates via skills/ask-user/ rather than silently choosing.

When the active pack has NO matching type, signal to EIIRP Phase 3 (SCHEMA CHECK) and emit:

**No match in active pack `<name>`.**
**Suggested next step:** `gbrain schema detect --source <source_id>` then
`gbrain schema review-candidates`.

When it fails

Follow the agent operator protocol for any gbrain error code, exit code, [AGENT] block or notice block. Specific to this skill:

  • gbrain schema show / gbrain schema lint fails because no schema pack is active or the pack is corrupt: report it and route to the schema-author skill; do not guess a directory from memory.
  • A recommendation needs a schema change (gbrain schema add-type, gbrain schema use): this skill is advisory. Hand it to EIIRP or schema-author with the user's agreement; never mutate the active pack from here.

Anti-Patterns

  • Hardcoded directory table in this skill. Every decision goes through gbrain schema show --json. v0.39+ broke the old hardcoded table on purpose so users on gbrain-recommended or custom packs get the right routing automatically.
  • Picking the closest-fitting type when no type matches. Closest-fit silently degrades user filing. Surface to EIIRP Phase 3 instead.
  • Ignoring --source <id> on multi-brain setups. Per-source overrides are tier-3 in the 7-tier resolution chain; missing the flag silently uses the brain-wide active pack.
  • Auto-applying a gbrain schema review-candidates --apply decision. Even high-confidence suggestions need user approval — this skill is a GATE, not an automator.

Hard Rules

  • Never hardcode a directory table in this skill. Every decision goes through gbrain schema show --json. The active pack is canonical.
  • Per-source flag is first-class. Pass --source <id> to every CLI call when working with a non-default source.
  • Confidence-floor honor. EIIRP's Phase 3 produces suggestions with confidence < 0.6 that brain-taxonomist must surface to the user rather than auto-apply. Don't silently promote a low-confidence schema delta.

Changelog

v1.0.0 — gbrain v0.39.0.0

  • Initial port from upstream OpenClaw. Genericized — no references to private fork names per CLAUDE.md privacy rules.
  • Hardcoded directory table REMOVED. Every decision now reads the active schema pack via gbrain schema show --json. Single source of truth.
  • Book taxonomy moved from skill-text to the gbrain-recommended pack's media/books/ branch (see src/core/schema-pack/base/gbrain-recommended.yaml).
  • --source <id> propagation documented for multi-brain users (Persona B).

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Check research claims cited in books, articles, or conversations by tracing the original paper, methods, underlying data, and independent replication. Save a sourced assessment explaining whether the claim holds up and what remains uncertain.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Check a study cited in a book
  • Trace a numerical claim in an article to its source data
  • Verify research evidence before using it in writing
garrytan/gbrain3.1만2026년 10월 22일 업데이트

Explore old files and email archives to rediscover personal writing, ideas, and meaningful conversations. Review selected items one at a time, save worthwhile material as organized notes, and track progress within explicitly permitted folders.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Rediscover old journals and creative writing
  • Find meaningful letters and email conversations
  • Recover past product and business ideas
garrytan/gbrain3.1만2026년 10월 22일 업데이트

Restructure raw article text stored in gbrain into summaries, exact quotes, key insights, and links to related pages. Preserve the original text and connect the article's significance to projects and interests already recorded in gbrain.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Organizing saved articles into readable notes
  • Collecting exact quotes for essays
  • Connecting articles to current projects
garrytan/gbrain3.1만2026년 10월 22일 업데이트

ask-user

무료

Present clear choices when a task needs a human decision, then pause execution until the user replies. This reusable interaction pattern supports filing decisions, priority selection, and confirmation before destructive actions, with an option to decline.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Clarifying requests with several possible meanings
  • Confirming before bulk deletion or overwriting
  • Choosing where to file meeting notes
garrytan/gbrain3.1만2026년 10월 22일 업데이트

Collect public posts across a blog, newsletter, or feed archive and save clean Markdown pages for each article. The workflow avoids duplicates, supports resumed runs, repairs empty results, and hands articles to a separate enrichment skill.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Importing a blog's public article archive
  • Organizing public newsletter posts as knowledge pages
  • Rerunning a feed import without duplicates
garrytan/gbrain3.1만2026년 10월 22일 업데이트

Create a detailed chapter-by-chapter reading companion from an EPUB or PDF, connecting the book’s ideas to experiences and words saved in your personal knowledge store. The result highlights parallels without prescribing actions.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Connect a book’s ideas to personal experiences
  • Review detailed chapter summaries alongside personal reflections
  • Create a parent’s guide for reading a children’s book aloud
garrytan/gbrain3.1만2026년 10월 22일 업데이트

garrytan의 스킬 모두 보기

이 스킬의 문제 신고