Help us improve
Share bugs, ideas, or general feedback.
From agentops
Makes out-of-session agents (Managed Agent, Agent SDK, sandbox) AgentOps-native by loading skills, exposing the ao CLI as a callable tool, and using CI as the authoritative gate instead of hooks.
npx claudepluginhub boshu2/agentops --plugin agentopsHow this skill is triggered — by the user, by Claude, or both
Slash command
/agentops:agent-nativeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Run a Claude loop *outside* an interactive Claude Code / Codex session — an Anthropic **Managed Agent**, an **Agent SDK** loop, or a self-hosted sandbox job — and keep it under the same AgentOps guardrails. The old reflex ("port the ~50 marketplace hooks into the new runtime") is **wrong for AgentOps 3.0**. This skill is the hookless reframe.
Guides creation and configuration of autonomous agents for Claude Code plugins, covering frontmatter, triggering descriptions, system prompts, tools, teams, permissions, and best practices.
Explains AgentOps workflows including the RPI cycle (Research, Plan, Implement, Validate) and phase-to-skill mappings for coding agents.
Provides the full ADK agent development lifecycle: scaffold, build, evaluate, deploy, publish, and observe. Guides model selection, code preservation, and troubleshooting.
Share bugs, ideas, or general feedback.
Run a Claude loop outside an interactive Claude Code / Codex session — an Anthropic Managed Agent, an Agent SDK loop, or a self-hosted sandbox job — and keep it under the same AgentOps guardrails. The old reflex ("port the ~50 marketplace hooks into the new runtime") is wrong for AgentOps 3.0. This skill is the hookless reframe.
AgentOps 3.0 is hookless. Guardrails come from three things, never hooks:
skills/<name>/SKILL.md progressive-disclosure contracts (standards, behavioral-discipline, council, validation, trace, provenance).ao CLI — the deterministic tool surface (ao session bootstrap, ao inject, ao corpus inject --query, ao validate, ao goals measure) plus the standards skill loaded into the agent's instructions..github/workflows/validate.yml runs the standards/scenario checks as CI jobs, NOT as a PreToolUse hook.So an out-of-session agent becomes AgentOps-native by: (a) loading AgentOps skills into the Agent definition, (b) exposing the ao CLI as a callable tool (MCP or shell-tool) so the agent can ao session bootstrap / ao inject / ao validate itself, and (c) running the same CI-style validation gate on its outputs before the work is accepted. The Agent SDK's own hooks become an optional thin adapter for teams wanting in-loop interception — never the primary mechanism.
Mechanism status (planned, not yet shipped). This skill is the doctrine layer and lands first; the two concrete commands it names —
ao agent bundle(ag-jspr) andao mcp serve(ag-higd) — are open, ready beads under epic ag-7s9fo, not yet in the live CLI. Theao session bootstrap/ao inject/ao corpus inject/ao validate/ao goals measurecommands the bundled agent calls are real today. When ag-jspr and ag-higd land, remove this skill's entry fromscripts/skill-body-refs-allowlist.txt.
This is an extension of two existing skills, not a rewrite:
/vibe.skills/ ↔ skills-codex/ parity machinery — reused as-is to keep the bundle dual-runtime.Concrete runtime recipes — the three-phase workflow below, one per runtime:
ao shell calls (no Managed Agents API).ao + CI are the portable 3.0 waist that works in any runtime.skills/ files an interactive session uses. Why: a forked guardrail set drifts and defeats the corpus moat.target/ground_truth/PII into an Agent definition or its MCP tool responses. Why: anything sent to the cloud agent leaves the boundary permanently. For holdout-touching work see eval-outcomes.ao agent bundle --runtime managed > agent-def.json
Stitches the selected AgentOps skills (default: session-bootstrap, standards, behavioral-discipline, validation, provenance) into a Managed Agents API payload — model + instructions + skills array + an MCP descriptor for the ao tool surface. POST-able with the managed-agents-2026-04-01 beta header.
Checkpoint: the payload carries the skills + the ao MCP descriptor, and contains no holdout values.
ao as a toolRun a thin MCP server (ao mcp serve) — or a documented shell-tool spec — exposing session_bootstrap, inject, corpus_inject, validate, goals_measure so the hosted loop can orient and self-check. For self-hosted sandboxes (bushido), the MCP server runs inside the sandbox boundary with tailnet access to Dolt.
Checkpoint: the agent can call ao session bootstrap + ao inject itself before doing work.
A reusable workflow (agent-output-validate.yml) runs ao validate + the standards/scenario gates against whatever the agent produced (PR branch or artifact bundle) — the same authoritative gate as interactive work. Green CI is the merge gate.
Checkpoint: the agent's output passed the identical CI gate; nothing merges red.
For Agent SDK users who want in-loop interception, a documented PreToolUse/Stop adapter shells out to ao validate (with the standards checklist loaded). Clearly optional — the default path is CI, never hooks. Reference samples (TypeScript + Python, wired into no runtime by default): references/sdk-hook-adapter.md.
Format: a JSON Agent definition plus a validated PR/artifact. Path: the Agent definition is written to agent-def.json at the repo root; the runtime profile is written to docs/contracts/agent-runtime-profile.md (the frontmatter produces path). Structure: model, instructions (stitched skills), skills array, ao MCP descriptor; the output is accepted only on a green CI run.
skills/ files as interactive sessions (no fork).ao is callable by the agent (MCP/shell-tool); it can self-bootstrap + self-validate.target/ground_truth/PII in the Agent definition or tool responses.# Bundle, serve the ao tool surface, and let CI gate the output
ao agent bundle --runtime managed > agent-def.json
ao mcp serve & # exposes session_bootstrap/inject/validate/goals_measure as MCP tools
# (submit agent-def.json to the Managed Agents API; its PR is gated by agent-output-validate.yml)
| Problem | Cause | Solution |
|---|---|---|
| Tempted to port the hooks | Old runtime-coupled reflex | Don't — bundle skills + expose ao + gate via CI. Hooks are the optional adapter only |
| Agent can't orient | ao not exposed as a tool | Run ao mcp serve (or the shell-tool spec) so the loop can ao session bootstrap |
| Unvalidated work merged | Relied on the optional in-loop adapter | CI (agent-output-validate.yml) is the gate — never the adapter |
ao)/rpi skill loops (ao agent bundle produces the definition a managed-agents substrate runs)