This skill should be used when the user provides a structured prompt contract, acceptance criteria, runbook, SPEC, or automation brief and asks which Claude primitive should own it: prompt, /goal, scheduled task, API tool runtime, agent loop, explicit command, reusable skill, static plan, dynamic workflow, hook, external event push, independent work, coordinated parallelism, cloud routine, headless run, CI, or human review. It normalizes a fail-closed v2.2 operating packet, selects exactly one primary primitive, and records composed primitives separately.
Normalize a structured request into an operating packet, choose exactly one
primary primitive, and route implementation to the existing owner skill. Keep
all lower-precedence mechanisms in composed_primitives; never return two
co-primary answers. This router decides and drafts only. [CONFIG]
SPEC is one accepted adapter alongside briefs, runbooks, issue templates, system/user pairs, and acceptance criteria. Preserve the caller's vocabulary; do not impose a methodology or brand. [CONFIG][INFERENCIA]
contract_ref when work spans turns or runs. [CONFIG]If effect is absent, normalize it to unknown. If runtime or control evidence
is absent, expose a coverage_gap; never infer authorization. [CONFIG]
primary_primitive, a reason, and its owner_skills. [CONFIG]composed_primitives, never alternate primary answers. [CONFIG]ready, draft, blocked, policy_denied, or contract_changed plus typed
gaps and enforcement requirements. [CONFIG]Resolve authority in this order: [CONFIG]
Runtime observations are evidence. They may invalidate a precondition but never
grant permission or elevate authority. A material scope, permission, or
acceptance change returns contract_changed, supersedes the old reference,
freezes pending work, and requires a new policy gate plus explicit
reauthorization. [CONFIG]
Validate JSON inputs against assets/operating-contract.schema.json and the
stdlib compiler. Reject unknown fields and malformed nested structures. The
schema and normalizer field sets must remain identical. [CONFIG][CODE]
Materialize structured runtime evidence as verified, source, provenance,
observed_at, runtime, capabilities, and constraints. Accept
runtime_verified only as a legacy adapter; it cannot make sensitive work
ready because it lacks independently supplied provenance. [CONFIG]
Materialize authorization as decision, authority source, provenance, scope, evidence reference, and verification state. A boolean verification flag alone never grants authority. Evidence policy likewise requires named sources and provenance for sensitive work. [CONFIG]
Require execution_surface to distinguish claude_platform, agent_sdk,
claude_code, generic, and unknown execution. Do not infer Agent SDK from
runtime: sdk or cloud durability; an unresolved cloud surface blocks routing.
[CONFIG]
Materialize conservative defaults for milestones, action/evidence/verifier
policies, budget, stop states, composition, cleanup, rollback, concurrency, and
resource ownership. Omitted effect becomes unknown and action default becomes
deny. [CONFIG]
human_review with contract_changed. [CONFIG]human_review with policy_denied. [CONFIG]human_review with blocked. [CONFIG]blocked. [CONFIG]Use the precedence in references/decision-model.md: [CONFIG]
Distinguish the four commonly conflated surfaces: [CONFIG]
| Surface | Required signal | Primary owner |
|---|---|---|
| explicit command | caller requests a named/reusable invocation (explicit_command) | claude-command-authoring |
| reusable skill | instructions should load on demand across tasks (reusable) | claude-skill-authoring |
| static plan | one run owns a fixed phase map (orchestration: fixed) | current run; no authoring owner |
| dynamic workflow | runtime owns branches, fan-out, or state (orchestration: dynamic) | dynamic-workflow-forge |
Record lower-precedence mechanisms in composed_primitives. Examples include a
dynamic workflow behind event push, coordinated peers inside a dynamic workflow,
a goal exposed through an explicit command, tool_permission_policy for unknown
or write-capable effects, and worktree_isolation for worktree boundaries.
[CONFIG]
Load only the primary owner next; load composed owners only when the handoff
needs them. The complete primitive-to-owner matrix lives in
references/decision-model.md. [CONFIG]
draft. [CONFIG]budget limit before status can be ready. [CONFIG]verified: true is never sufficient by itself. [CONFIG]draft unless its dedicated policy and all general
write controls are complete. [CONFIG]Use templates/output.md. Validate JSON packets with
scripts/compile_operating_contract.py; it uses only the Python standard
library and checks schema-normalizer parity before classification. [CODE]
The executable quality criteria and adversarial cases live in
scripts/tests/test_operating_contract.py; the detailed decision distinctions
and anti-patterns live in references/decision-model.md. [CÓDIGO][CONFIG]
Capas del packet, cargables bajo demanda (disciplina ICM: una capa por vez, nunca todas juntas): references/ guías de profundidad (cargar UNA por etapa) · templates/ plantilla de output · scripts/ automatización local · assets/ recursos estáticos.
e8f986b
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.