Agent skill

schema-mechanism

Drescher's computational theory of causal learning

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill schema-mechanism --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 11 KB
Bundled scripts: none
Path: skills/ai-ml/schema-mechanism/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. The Core Idea
  2. Schema Components
  3. Extended Context: Marginal Attribution
  4. Extended Results: Side Effect Discovery
  5. Synthetic Items: Hidden State
  6. Composite Actions: Planning
  7. The Learning Loop
  8. Implementation: pyleela.brain
  9. Why LLMs Complete Drescher's Vision
  10. 1. The Symbol Grounding Problem
  11. 2. Natural Language Context
  12. 3. Empathic Pattern Recognition
  13. 4. Creative Spin-offs
  14. 5. The Explanation Gap
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
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.

Keep going