Skip to content
Agent Memory
Skill

/schema-author

Use when adding, renaming, reviewing, or explaining Brain schema tokens, aliases, prefixes, link types, extractability, or expert routing in Open Second Brain vaults.

BOOST
From plugin
open-second-brain
4826 skills9 hooks
Install
$ npx -y skills add itechmeat/open-second-brain --skill schema-author --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/schema-author

Context preview

The summary Claude sees to decide when to auto-load this skill.

Use when adding, renaming, reviewing, or explaining Brain schema tokens, aliases, prefixes, link types, extractability, or expert routing in Open Second Brain vaults.

SKILL.md

schema-author.SKILL.md
name: schema-author
description: Use when adding, renaming, reviewing, or explaining Brain schema tokens, aliases, prefixes, link types, extractability, or expert routing in Open Second Brain vaults.

Schema Author

Use this skill when a task changes the active Brain schema pack in `Brain/_brain.yaml` or reviews content against that schema.

Workflow

1. Inspect the active schema pack with `schema_inspect` (`view="active_pack"`) or `o2b brain schema --json`. 2. Check current usage and findings with `schema_inspect` views `stats`, `lint`, and `orphans`. 3. Explain candidate tokens with `schema_inspect` (`view="explain_type"`) before renaming or deleting them. 4. Preview the batch first with `schema_apply_mutations` (`dry_run=true`) or `o2b brain schema apply --dry-run --mutation ...`: it returns the pack that would result and its diff and writes nothing at all - no config write, no audit record, no lock file. It runs the same pack validator the apply runs, so a batch that validator rejects raises identically in both. It does not run the two checks that exist only because the apply writes: the vault-identity write guard, and the atomic writer's re-parse of the rendered YAML. A batch that renders to unparseable YAML previews clean and fails on apply, so treat a clean preview as "the mutations are valid", not as "the apply will succeed". 5. Apply schema changes only through `schema_apply_mutations` or `o2b brain schema apply --mutation ...` so writes are locked, atomic, and audited. 6. Re-run lint/stats after mutation and report changed tokens plus any remaining findings.

Mutation Notes

Supported operations are `add_type`, `remove_type`, `update_type`, `add_alias`, `remove_alias`, `add_prefix`, `remove_prefix`, `add_link_type`, `remove_link_type`, `set_extractable`, and `set_expert_routing`.

Schema tokens must be lowercase normalized tokens accepted by Open Second Brain schema validation. Prefer small, durable tokens over project-specific phrasing unless the schema pack is explicitly project-scoped.

Read more
Ships withopen-second-brain

Open Second Brain is a memory layer for AI agents that lives in an Obsidian vault. Agents read and write it through MCP servers, lifecycle hooks and the o2b CLI.

Get the whole plugin

Other skills on open-second-brain.