schema-author
БесплатноБез исполняемых скриптовНе проверенEvolve your brain's schema pack. Add page types, propose new ones from corpus scans, backfill page.type on existing pages, audit pack health. Triggers when an…
от inbrainfun★ 142 звезды на GitHubОб этом скилле
schema-author — evolve your schema pack
Non-goals (use these other skills instead)
This skill AUTHORS the schema pack (adds page types, link verbs, prefixes, flags). For these adjacent jobs, route elsewhere:
- Filing one specific page →
skills/brain-taxonomist/SKILL.md. Brain- taxonomist routes at WRITE TIME ("where does this note go?"). schema-author changes the rules at AUTHORING TIME ("what types and prefixes exist?"). - Schema-check as part of EIIRP iteration →
skills/eiirp/SKILL.mdalready has a schema-check phase. Don't duplicate. - Just looking up a type's settings →
inbrain schema explain <type>directly. This skill is for CHANGING the pack, not READING from it. - Querying who knows about X →
skills/expert-routing/SKILL.md(orinbrain whoknowsdirectly). schema-author makes a type expert-routable; it does not run the query.
Convention
Convention: see conventions/brain-first.md for the lookup chain (search → query → get_page → external).
Convention: see conventions/schema-evolution.md for "when to add a type vs alias vs prefix" — the heuristic.
When to invoke
Invoke when the user (or a sibling skill) says any of:
- "Add a
researchertype to my schema" - "I have 4000 untyped pages under
meetings/" - "My brain doesn't know that
journal-articleis a type" - "Set
paperto be extractable" - "Propose types from what I've ingested"
- "Sync the new types to backfill existing pages"
DON'T invoke for "where does THIS note go" (use brain-taxonomist) or
"who knows about X" (use expert-routing / inbrain whoknows).
Tutorial + vision
- Why this matters:
docs/what-schemas-unlock.md— 7 killer use cases (4000 invisible meetings made queryable, founder ops brain, research brain, legal brain, team brain, agent-as-co-curator) plus the structural argument for why types matter at query time. Read this before pitching schema authoring to a user — it's the doc that explains the difference between a pile of notes and a brain with structure. - 5-minute walkthrough:
docs/schema-author-tutorial.md— fork the bundled pack, add a researcher type, sync, prove the T1.5 wiring viainbrain whoknows. Use placeholder pages so it runs against any brain without affecting real content.
Workflow
Phase 1 — Brain (know which pack is active)
inbrain schema active --json
Output gives you pack_name, version, sha8, page_types_count, source_tier.
If source_tier === "default", the user is on bundled inbrain-base and any
mutation will need a fork first (Phase 4).
Phase 2 — Assess (what does the current pack cover?)
inbrain schema stats --json
Returns per-type page counts, untyped count, and dead_prefixes (pack-
declared prefixes with zero matching pages — probable mis-declarations).
If coverage < 90%, there's untyped content worth typing.
inbrain schema review-orphans --limit 50 --json
Untyped pages drilldown. Look for shared path prefixes (e.g. "12 of these
are under research/papers/") — those are candidates for a new type.
Phase 3 — Propose (what types should the pack add?)
inbrain schema detect --json
Clusters pages by source_path and proposes candidate types. Heuristic
only (no LLM call).
inbrain schema suggest --json
LLM-refined candidates with confidence scores. Use the top-3 hit rate as the signal for which to promote.
Phase 4 — Apply (mutate the pack)
If the active pack is bundled (inbrain-base or inbrain-recommended),
fork it first:
inbrain schema fork inbrain-base mine
inbrain schema use mine
Then add the types one at a time:
inbrain schema add-type researcher \
--primitive entity \
--prefix people/researchers/ \
--extractable \
--expert
For complex multi-mutation refactors (e.g. add a type AND the link verb
that points to it), agents reaching this surface over MCP can use the
batched schema_apply_mutations op:
{"op": "add_type", "name": "researcher", "primitive": "entity", "prefix": "people/researchers/", "extractable": true, "expert_routing": true}
{"op": "add_type", "name": "paper", "primitive": "annotation", "prefix": "research/papers/", "extractable": true}
{"op": "add_link_type", "name": "authored", "inference": {"page_type": "researcher", "target_type": "paper"}}
Validate before sync:
inbrain schema lint --with-db
The --with-db flag opts into the 2 DB-aware rules
(extractable_empty_corpus, mutation_count_anomaly) that detect
mis-declared types you'd otherwise discover only at runtime.
Phase 5 — Sync (backfill existing pages with the new types)
Dry-run first:
inbrain schema sync --json
Returns per-prefix would_apply counts + sample slugs. If the numbers
look right:
inbrain schema sync --apply
Chunked UPDAT
Установить schema-author в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
inbrain schema activeinbrain schema listinbrain schema statsinbrain schema review-orphansinbrain schema detectinbrain schema suggestinbrain schema lintinbrain schema graphinbrain schema explaininbrain schema forkinbrain schema useinbrain schema add-typeinbrain schema remove-typeinbrain schema update-typeinbrain schema add-aliasinbrain schema remove-aliasinbrain schema add-prefixinbrain schema remove-prefixinbrain schema add-link-typeinbrain schema remove-link-typeinbrain schema set-extractableinbrain schema set-expert-routinginbrain schema syncinbrain schema reloadmcp:get_active_schema_packmcp:list_schema_packsmcp:schema_statsmcp:schema_lintmcp:schema_graphmcp:schema_explain_typemcp:schema_review_orphansmcp:schema_apply_mutationsmcp:reload_schema_packFAQ
Что делает скилл schema-author?
Evolve your brain's schema pack. Add page types, propose new ones from corpus scans, backfill page.type on existing pages, audit pack health. Triggers when an agent notices untyped pages, custom domains needing typed entities (researcher, contract, deposition), or wants to see what types the pack declares.
Как установить скилл schema-author?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл schema-author запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic