Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

schema-author

Skill by garrytan

Evolves a gbrain schema pack by adding page types, proposing new ones from corpus scans, and backfilling page types on existing pages. Aimed at users who run a gbrain brain with custom domains.

  • Score 90
  • 34k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install schema-author

Built from the published package, never by AI.

git clone --depth 1 https://github.com/garrytan/gbrain /tmp/gbrain && mkdir -p ~/.claude/skills && cp -r /tmp/gbrain/skills/schema-author ~/.claude/skills/schema-author

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install schema-author in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

schema-author is an agent skill for changing a gbrain schema pack. It covers adding and removing page types, link verbs, prefixes and flags, and proposing new types from clusters of untyped pages. The skill guides the agent through a fixed sequence: check the active pack, assess coverage, propose types, apply changes, validate with lint, and backfill existing pages with a dry run before applying. Each mutation writes an audit row.

The skill is for users whose notes do not match their schema, such as untyped pages or domains that need typed entities like researchers, contracts or depositions. It does not file individual pages or answer who-knows queries. The source points to other skills and commands for those jobs.

Written from the project's SKILL.md and checked against it.

What it can do

  • Check active packReads which schema pack is active, its version and its page type count.
  • Assess coverageShows per-type page counts, untyped pages and prefixes with no matching pages.
  • Propose typesClusters pages by source path and suggests candidate types, with optional LLM refinement.
  • Add and remove typesAdds or removes page types with a primitive, prefix, extractable and expert routing flags.
  • Manage link types and prefixesAdds or removes link verbs, path prefixes and aliases in the pack.
  • Fork bundled packsCopies a bundled pack such as gbrain-base into an editable pack before changes.
  • Lint the packValidates the pack, with an option that checks the database for mis-declared types.
  • Backfill page typesDry-runs then applies page type updates to existing pages matching declared prefixes.
  • Commit the pack fileCommits and pushes only the pack file to source control using gbrain git commands.

What you need

  • gbrain CLI or MCP access to a gbrain brain
  • Admin scope on the MCP connection for schema write operations
  • gbrain v0.40.6.0 or later for expert routing of custom types

Try asking

  • Add a researcher type to my schema with the people/researchers/ prefix
  • Show me how many of my pages have no page type
  • Backfill page types for my meetings folder after a dry run

Good to know

  • Bundled packs gbrain-base and gbrain-recommended cannot be mutated; fork them first.
  • MCP write operations need the admin scope, which the brain host operator grants.
  • remove-type is refused while other types still reference the type.
  • Expert-routed types without a path prefix never match new pages.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/schema-author/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md14 KB

Alternatives to schema-author

All alternatives →

Compare with agentmemory-config, understand-knowledge or reports

schema-author: common questions

Does this skill edit my bundled schema pack?

No. The source says bundled packs are read-only and the mutation primitives refuse with PACK_READONLY. Fork the pack first with gbrain schema fork.

Does it file a single note into the right type?

No. The source says filing one page is handled by the brain-taxonomist skill, while schema-author changes the type rules themselves.

What changes are recorded?

Each mutation writes an audit row to a weekly schema-mutations JSONL file under ~/.gbrain/audit/.

How do I install schema-author?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is schema-author free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is schema-author safe to use?

It scores 90 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to schema-author?

Similar skills: agentmemory-config, understand-knowledge, reports, forget.

schema-author Install

Add to stack

Loading.