schema-author

Evolve GBrain schema packs by adding, updating, and validating page types.

1|Updated May 9, 2026
One-click install
npx skills add https://github.com/weiping/gbrain-cn --skill schema-author
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: schema-author
Source: https://github.com/weiping/gbrain-cn/tree/main/skills/schema-author
Command: npx skills add https://github.com/weiping/gbrain-cn --skill schema-author

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

schema-author helps you fix and improve your brain’s schema pack so previously invisible content (untyped pages) becomes correctly typed, expert-routable, and queryable with consistent prefixes, link verbs, and extraction settings.

Core Features & Use Cases

  • Add and evolve page types: Introduce new types (e.g., researcher, contract, deposition), define primitives, prefixes, aliases, extractable flags, and expert routing so your brain understands what each page “is.”
  • Audit and repair pack health: Detect untyped/orphan pages, identify coverage gaps, and flag dead prefixes so schema changes align with real corpus content.
  • Backfill existing pages: Sync the pack to update pages.type across matching pages, producing measurable coverage improvements while keeping mutations idempotent and validated.
  • Use corpus-driven proposals: Propose candidate types from ingested page patterns and refine decisions before applying them.

Quick Start

Tell the agent: "Propose schema types for my corpus, then fork my active bundled pack if needed, add the best new types, sync to backfill existing pages, and verify coverage."

Frequently Asked Questions about schema-author

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add new page types to a knowledge graph schema?

To add new page types to a knowledge graph schema, you define primitives, prefixes, aliases, and expert routing flags. This ensures previously untyped content becomes correctly typed and queryable with consistent link verbs.

How do I fix untyped or orphan pages in my metadata corpus?

To fix untyped or orphan pages in your metadata corpus, you audit schema pack health to detect coverage gaps and dead prefixes. This flags content needing alignment before applying validated, idempotent mutations.

What is schema pack forking and when do I need it for schema evolution?

Schema pack forking creates a separate branch to safely evolve schema structures without breaking existing queries. You need it when introducing new domain-specific page categories or updating extraction settings.

Can I backfill existing pages when updating a knowledge graph schema?

Yes, you can backfill existing pages during a schema update by running a dry-run sync. This process updates page types across matching pages idempotently, producing measurable coverage improvements without data loss.

How do I propose new schema types based on existing page patterns?

You propose new schema types by analyzing ingested page patterns within your corpus. The system generates corpus-driven candidate types, allowing you to refine decisions and verify coverage before applying them.

Does schema evolution support YAML frontmatter for skill discovery?

Yes, schema evolution supports YAML-frontmatter-driven skill discovery. This mechanism allows agents to detect missing types, mismatched schema coverage, or the need for new domain-specific categories for expert routing.