Agent skill

dynamic-sufficiency

Causal state gating via ε-machine. Coworld observer that prevents action

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

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

Facts
Files in the skill folder: 2
SKILL.md size: 27 KB
Bundled scripts: none
Version: 1.0.0
Path: skills/ai-ml/dynamic-sufficiency/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.

Review
written from the skill's own SKILL.md · Aug 5, 2026

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.
From the SKILL.md

# 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) │ └────────┬─────────┘ │ ┌─────────────┼─────────────┐ ▼ ▼ ▼ ┌──────────┐ ┌──────────┐ ┌

What's inside
Steps it walks through
  1. World/Coworld Awareness
  2. Skills as World-Generating Self-Improvising Memories
  3. Core Insight
  4. Variational Bound on Action
  5. Theoretical Foundation (Santa Fe Institute)
  6. 1. Causal States (Crutchfield-Young)
  7. 2. ε-Machine (Minimal Sufficient Model)
  8. 3. Effective Complexity (Gell-Mann-Lloyd)
  9. 4. Predictive Information (Bialek-Nemenman-Tishby)
  10. Sufficiency Verification Protocol
  11. Pre-Action Gate
  12. Causal State Inference
  13. ε-Machine Construction
  14. Skill Coverage Metrics
Ships with 1 file
  • metadata.json
Commands it runs
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
More from claude-skill-registry
All skills →
About this skill
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.

Keep going