Hierarchical skills and skill based repr

From curiositech/windags-skills · View interactive version

Hierarchical skills and skill based repr is an AI agent skill from the GitHub repository curiositech/windags-skills. Use for affordances, hierarchical control, nullspace composition, and information-seeking action selection in embodied agents. NOT for pure symbolic planning, generic RL tuning, or domains without sensorimotor grounding.

How to use this skill

Skill file

Hierarchical Skills and Skill-based Representation

Use this skill when an embodied agent needs reusable control primitives that can serve as both executable skills and grounded knowledge.

When to Use

NOT for Boundaries

Core Mental Models

Control affordances are the knowledge primitive

Objects are represented by the control programs that reliably converge on them. A useful representation answers "what controller can stabilize here?" before it answers "what category is this?"

Skill learning is a curriculum of convergence

Reward the transition from transient to converged control on external signals. That gives the agent a domain-general way to discover what it can reliably do before task-specific semantics are introduced.

Composition should preserve superior objectives

When two controllers must coexist, project the subordinate one into the nullspace of the superior controller instead of mixing objectives with ad hoc weights. This preserves priority while still exploiting spare degrees of freedom.

Recognition and action selection share one model

The same affordance model that helps infer object identity should also predict which exploratory action will reduce uncertainty about the next useful affordance.

Decision Points

  1. Is the proposed representation grounded in executable control relations, or is it merely a feature vocabulary with no action semantics?
  2. Is the next capability best learned as a new primitive schema, or as a composition of already stable schemas?
  3. Should the agent commit to a goal action now, or spend one cheap action gathering information about the relevant affordance?
flowchart TD
  A[Need a reusable embodied capability] --> B{Grounded in executable control?}
  B -->|No| C[Redesign around control affordances and convergence signals]
  B -->|Yes| D{Primitive missing or composition missing?}
  D -->|Primitive missing| E[Learn a SEARCHTRACK-style primitive with intrinsic convergence reward]
  D -->|Composition missing| F[Compose stable primitives with sequencing or nullspace projection]
  E --> G{Goal affordance still uncertain at runtime?}
  F --> G
  G -->|Yes| H[Choose exploratory action with highest information gain]
  G -->|No| I[Execute goal-directed controller]

Failure Modes

| Failure mode | What it looks like | Recovery move |

| --- | --- | --- |

| Feature-only object models | Recognition works in the lab but does not help select actions under pose variation | Rebuild the representation around convergent controllers and spatial affordance distributions |

| Monolithic policy learning | The agent solves one configuration but cannot reuse the behavior or explain why it works | Factor the behavior into primitives and compositions with explicit prerequisites |

| Weighted-controller soup | Simultaneous objectives interfere and produce unstable or oscillatory behavior | Introduce explicit priority structure and project subordinate controllers into the superior nullspace |

| Premature action commitment | The system grasps, pushes, or cuts before locating the actual affordance geometry | Insert an information-seeking step and act only after uncertainty drops below a task threshold |

Worked Examples

Example: Grasping a mug in arbitrary poses

Example: Adding a polishing action after stable reach

Quality Gates

References

Read references/INDEX.md first, then load only the files needed for the current design question.

Shibboleths

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.