npx skills add majiayu000/claude-skill-registry --skill schema-mechanism --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 Mechanism > *"An agent learns by discovering reliable patterns: when I do X in context C, result R tends to follow."* Gary Drescher's *Made-Up Minds* (1991) provides a computational theory of how minds learn causal models of the world. Drescher was a student of Marvin Minsky at MIT, and his schema mechanism extends Piaget's developmental psychology into executable algorithms. ## The Core Idea A **schema** is a causal unit: ``` Context → Action → Result ``` The agent doesn't start with schemas. It **discovers** them through experience, noticing which actions reliably produce which results in which contexts. ```yaml schema: action: push-button context: [door-closed] result: [door-open] reliability: 0.95 ``` ## Schema Components | Component | Description | MOOLLM Equivalent | |-----------|-------------|-------------------| | **Item** | Atomic state element (ON/OFF/UNKNOWN) | YAML field, file existence | | **Action** | Something the agent can do | Skill verb, procedure | | **Schema** | Context → Action → Result | Documented procedure | | **Extended Context** | Statistical tracking of context conditions | "Prerequisites" section | | **Extended Results** | Statistical tracking o
- The Core Idea
- Schema Components
- Extended Context: Marginal Attribution
- Extended Results: Side Effect Discovery
- Synthetic Items: Hidden State
- Composite Actions: Planning
- The Learning Loop
- Implementation: pyleela.brain
- Why LLMs Complete Drescher's Vision
- 1. The Symbol Grounding Problem
- 2. Natural Language Context
- 3. Empathic Pattern Recognition
- 4. Creative Spin-offs
- 5. The Explanation Gap
What does the schema-mechanism skill do?
Drescher's computational theory of causal learning
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill schema-mechanism --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.
