schema-factory
Build, lint, ingest, compose Drescher-style schemas
npx skills add majiayu000/claude-skill-registry --skill schema-factory --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# SCHEMA-FACTORY > **"Deterministic checks first, LLM second."** Build, lint, ingest, compose, and generate context for Drescher-style schemas. --- ## Why This Exists Gary Drescher's schema mechanism is strongest when it has: 1. **Prescriptive schema-schema** — what valid schemas must look like 2. **Deterministic layer** — evaluate and refine before asking the LLM 3. **Context generator** — emit only needed patterns and evidence The goal is **hybrid orchestration**: Python does deterministic work, Cursor/LLM handles synthesis, MOOLLM stays explicit about what came from where. --- ## Key Files | File | Purpose | |------|---------| | `SCHEMA-SCHEMA.yml` | Drives linting and ingestion | | `schema_tool.py` | CLI for all operations | | `examples/schema-example.yml` | Compact schema set | | `examples/henry-minsky-blocksworld.yml` | Classic microworld data | --- ## Quick Use ```bash # Validate schemas python3 schema_tool.py lint examples/schema-example.yml # Compose action chain toward goal python3 schema_tool.py compose --schemas examples/schema-example.yml --goal postgres-running # Generate LLM context bundle python3 schema_tool.py context --schemas examples/schema-example.yml --goal py
- Why This Exists
- Key Files
- Quick Use
- Methods
- LINT
- INGEST
- COMPOSE
- CONTEXT
- Schema Structure
- Principles
- The Schema-Schema
- Integration with LLM
- Dovetails With
Validate schemas python3 schema_tool.py lint examples/schema-example.yml Compose action chain toward goal python3 schema_tool.py compose --schemas examples/schema-example.yml --goal postgres-running Generate LLM context bundle python3 schema_tool.py context --schemas examples/schema-example.yml --goal pyvision-running python3 schema_tool.py lint my-schemas.yml python3 schema_tool.py ingest experience-log.yml --into my-schemas.yml python3 schema_tool.py compose --schemas my-schemas.yml --goal target-state python3 schema_tool.py context --schemas my-schemas.yml --goal target-state --focus item1,item2
What does the schema-factory skill do?
Build, lint, ingest, compose Drescher-style schemas
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill schema-factory --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
