agent-native
The agent-native skill enables Claude agents running outside interactive sessions to operate under AgentOps guardrails by bundling AgentOps skills into the agent definition and exposing the `ao` CLI as a callable tool for self-bootstrapping and validation. Use this when deploying out-of-session agent loops that require the same compliance and observability enforcement as interactive managed agents, without relying on hooks or MCP integrations.
git clone --depth 1 https://github.com/boshu2/agentops /tmp/agent-native && cp -r /tmp/agent-native/skills-codex/agent-native ~/.claude/skills/agent-nativeSKILL.md
# Agent Native Operate caller-selected agent sessions as explicit roles without turning the runtime into AgentOps lifecycle authority. For caller-elected multi-model judgment (mixed council, dueling perspectives, cross-model validate), follow [references/model-dispatch.md](references/model-dispatch.md): the working session is the controller; probe `codex-exec` and `ntm` at runtime; never require either; never use Agent Mail for judgment; never invoke `claude -p`. Role separation works because each role's authority is checkable from its packet: a worker that cannot exceed its declared subject cannot corrupt a sibling's evidence, so factory failures stay local instead of systemic. When a worker looks stuck, score interventions by evidence and reversibility before acting: observe more (free, fully reversible), then nudge, then replace the worker, then restart the runtime — escalate only when observable state, not impatience, rules out the cheaper step. Stop the observe-nudge cycle once the worker reaches a terminal status or the caller's observation window ends; past that point further intervention manufactures noise, not evidence. Named failure mode — **prompt-send optimism**: treating a successfully delivered prompt as a working worker; delivery proves transport, not engagement. Anti-pattern: restarting an unresponsive worker as the first move. Corrective: capture its observable state first — a restart destroys the evidence of why it stalled, and rescue is usually cheaper than rerun. ## Roles - **Orchestrator:** passes explicit packets and reports runtime facts. - **Implementer:** may modify only its packet's declared subject. - **Validator:** receives exact candidate content in a fresh, read-only context. - **Scribe:** records runtime evidence without judging acceptance. ## Contract 1. Require an explicit packet, role, workspace, context identity, and evidence destination before starting a worker. 2. Prove runtime readiness and engagement from observable state; a successful prompt send is not proof of work. 3. Keep concurrent writers disjoint and isolated. Runtime coordination is not a claim, lease, queue, or completion state in AgentOps. 4. Record provider state, transcript references, artifacts, and terminal status. 5. Return runtime evidence to the caller. Do not convert provider retries, reconnects, idle states, or failures into Plan, Candidate, or verdict state. 6. A validator session may supply judgment to Validate, but only Validate writes `verdict.v2`. The adapter cannot select AgentOps semantics, issue a binding verdict, or turn factory completion into delivery or validation proof. NTM, Codex exec, native processes, Agent Mail, and Gas City are replaceable adapters. Use them only when the caller selected that execution shape. A single local agent pays no factory coordination cost. Model identity, when recorded, is a declared runtime fact like context identity — see [references/model-dispatch.md](references/model-dispatch.md).
Use Agent Mail as an optional messaging and Triggers: "coordinate writers", "reserve files".
>-
>-
Use when converting markdown plans into br beads with dependencies for implementation or swarm execution.
Use when switching AI coding CLI accounts quickly to recover from subscription rate limits or OAuth friction.
>-
Use when starting non-trivial work, mining lessons, or preventing repeated mistakes with cm procedural memory.
Mine past agent sessions for working Triggers: "cass", "mine past agent sessions for", "cass skill".