dynamic-sufficiency
Causal state gating via ε-machine. Coworld observer that prevents action
npx skills add majiayu000/claude-skill-registry --skill dynamic-sufficiency --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.
What it does
Gates actions using a pre-action sufficiency check that requires a minimal set of skills to be loaded before execution. If coverage is insufficient, it can load missing skills dynamically and recheck. It records observations of action success or failure to refine its ε-machine-based model of required skills.
How it works
- Before performing an action, inferred required skills are determined for the action. Coverage is computed against currently loaded skills. If coverage is sufficient (>= 0.95 by default), the action proceeds.
- If not sufficient, it tries to dynamically load missing skills one by one, then rechecks coverage. If still insufficient, it aborts with missing critical skills.
- When an action executes, it reports the outcome (success or failure) to an ε-machine that maintains states mapping actions to required skills and updates its learned minimal sufficient skill sets accordingly.
- The implementation includes a Sufficiency Gate Decorator that wraps complex actions, a Pre-Message Hook that analyzes messages to predict required actions and ensure sufficiency, and an ε-machine structure for learning from observations.
When to use it
Use this skill when you want to enforce a safety gate: no action should be taken without verified sufficiency of loaded skills. It is designed to prevent actions unless the agent has been validated to possess the necessary capabilities.
What it can touch
- Tools and skills: dynamic loading of missing skills, skill loading logic, and an ε-machine based tracking system. The implementation references concepts like Action, loaded skills, and loading utilities, and includes code for pre-action gating and pre-message hooks.
Caveats
- DEPENDS on a defined SUFFICIENCY_THRESHOLD (0.95) and a dynamic loading capability (can_load, load_skill).
- The system updates an internal ε-machine with observations (success/failure) to adjust minimal sufficient skill sets; behavior relies on correct state inference and feature extraction.
- The skill uses Python pseudocode and class structures (EpsilonMachine, SufficiencyGate, PreMessageHook) as part of its approach; actual behavior depends on integration with the surrounding agent framework.
# Dynamic Sufficiency Skill ## World/Coworld Awareness | Role | Skill | Function | |------|-------|----------| | **World** (+1) | gay-mcp | Generates deterministic color streams | | **Coordinator** (0) | skill-dispatch | Routes to GF(3) triads | | **Coworld** (-1) | dynamic-sufficiency | **THIS SKILL** - gates action on coverage | > *"No action without sufficient witness. The ε-machine observes, the gate permits."* ## Skills as World-Generating Self-Improvising Memories ``` ┌─────────────────────────────────────┐ │ AUTOPOIETIC SKILL LOOP │ └─────────────────────────────────────┘ │ ┌────────────────┼────────────────┐ ▼ ▼ ▼ ┌──────────┐ ┌──────────┐ ┌──────────┐ │ dynamic- │ │ skill- │ │ skill- │ │sufficiency│ │ dispatch │ │installer │ │ MINUS │◀──▶│ ERGODIC │◀──▶│ PLUS │ │ (-1) │ │ (0) │ │ (+1) │ └────┬─────┘ └────┬─────┘ └────┬─────┘ │ │ │ ▼ ▼ ▼ ┌──────────┐ ┌──────────┐ ┌──────────┐ │ GATE │ │ ROUTE │ │ LOAD │ │ action │ │ to triad │ │ skills │ └────┬─────┘ └────┬─────┘ └────┬─────┘ │ │ │ └───────────────┼───────────────┘ ▼ ┌──────────────────┐ │ WORLD MEMORY │ │ (ε-machine + │ │ observations) │ └────────┬─────────┘ │ ┌─────────────┼─────────────┐ ▼ ▼ ▼ ┌──────────┐ ┌──────────┐ ┌
- World/Coworld Awareness
- Skills as World-Generating Self-Improvising Memories
- Core Insight
- Variational Bound on Action
- Theoretical Foundation (Santa Fe Institute)
- 1. Causal States (Crutchfield-Young)
- 2. ε-Machine (Minimal Sufficient Model)
- 3. Effective Complexity (Gell-Mann-Lloyd)
- 4. Predictive Information (Bialek-Nemenman-Tishby)
- Sufficiency Verification Protocol
- Pre-Action Gate
- Causal State Inference
- ε-Machine Construction
- Skill Coverage Metrics
Check sufficiency for an action just sufficiency-check action="create haskell mcp server" Show ε-machine state just sufficiency-epsilon Compute statistical complexity just sufficiency-complexity Verify GF(3) conservation in loaded skills just sufficiency-gf3 Run full sufficiency audit just sufficiency-audit
What does the dynamic-sufficiency skill do?
Causal state gating via ε-machine. Coworld observer that prevents action
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill dynamic-sufficiency --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.
