Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
Agent skills and validation bundle for Claude Code and Codex
AgentOps packages skills, rules, hooks, and plugin manifests that shape how coding agents plan, implement, validate, and remember work. It is built around fresh judgment: the same context that wrote the change does not get to declare it done.
Builders who want their coding agent to follow shared workflow rules, keep evidence, and re-check work in a fresh context.
You can turn agent output into a judged change with shared intent, evidence, and fresh validation instead of trusting self-approval.
What it does
RPI workflow
The `rpi` skill runs a plan → implement → validate flow with fresh judgment at the end.
Fresh validation
The `validate` skill reviews a candidate in a fresh context and can return `PASS`, `FAIL`, or `NOT_PROVEN`.
Memory and recall
The `memory` skill supports on-demand recall and curated topic pages for later tasks.
Multi-agent coordination
Skills like `swarm`, `agent-native`, `ntm`, and `using-gc` coordinate fleets of agents without owning the verdict.
Admission-control hooks
PreToolUse hooks block a small set of destructive actions and route the agent to safer tools.
Plugin and bundle installs
The repo ships Claude Code and Codex marketplace files so the bundle can be installed as a managed package.
How to get it
- 1Run
npx skills@latest add boshu2/agentops --all -g
README
AgentOps
AgentOps is the operations layer for agentic engineering. It is a set of
portable skills and evidence contracts that make one coding-agent change
independently judgeable: the context that wrote the code does not get to
declare it done. Your tracker keeps the work, Git keeps the history, and your
coding agents keep running the execution; AgentOps joins them as a
federated integration graph and adds the judgment step. A fresh context reads
the exact change and returns PASS, FAIL, or NOT_PROVEN. The standard
path is one RPI traversal:
RPI charter -> on-demand Plan -> Implement and checks -> fresh Validate -> finish
The lean RPI charter owns an authorized outcome through finish: Plan on demand, direct repair of understood failures, cheap checks and fresh final judgment. Evidence can revise an approach within unchanged outcome and scope. A clear small edit needs no planning or memory worksheet.
Memory offers on-demand recall and separately budgeted mining/curation over reviewed caller-selected external Markdown topic pages. Update an existing page; preserve support, limits and invalidation. Learning may remove rules. Saved pages do not prove benefit; only later task evidence does. This lean path uses public or already-cleared inputs and claims no native restricted-source enforcement. Protected external drafts, review before Git and legacy evidence preservation follow ADR-0016.
Quickstart
npx skills@latest add boshu2/agentops --all -g
One command installs the skill bundle into every coding agent you use. The
skills run inside your coding agent (Claude Code, Codex, Cursor, …): type
/rpi in that agent's chat, or ask for plan, implement, validate, and
learn by name. Most skills need nothing beyond the coding agent; these need
more:
| Skill | Needs | Why |
|---|---|---|
rpi | ao, conditional | delegates exact-subject checks to Validate; only persists verdict.v2 when requested, with the fixed-dispatch adapter optional |
plan | ao, conditional | runs ao provenance snapshot-intent with an explicit evidence root when the intent source is not durable |
validate | ao | derives exact subject identity with the helper and uses ao provenance store-verdict when persistence is requested; Python/schema checks are developer-only |
fitness | ao | its whole procedure is running one ao goals subcommand |
using-gc | ao | rig prep runs ao gc prepare and ao gc check |
handoff | ao, optional | ao session handoff/rehydrate cover the same artifact; the skill can write it directly |
status | ao, optional | describes ao status's output shape; the report can be read directly from .agents/ao/ |
reverse-engineer | python3 | Phase 1's mechanical teardown runs scripts/reverse_engineer.py |
skill-builder | python3, conditional | Create mode's build.sh runs scripts/generate-skill-mesh.py; heal/check/audit modes are bash-only |
ms | python3, conditional, plus ms binary | the MCP-search fallback runs python3 skills/ms/scripts/mcp-search.py; the ms binary is required for CLI load, write, and admin operations |
toil-mining | python3, conditional | the recent-human extractor runs scripts/recent_human.py for Codex JSONL session sources |
security | python3, conditional | the composable suite and offline redteam surfaces run security_suite.py when that scan type is selected |
cass | python3, optional | scripts/prompt_miner.py mines repeated prompts; one of several selectable Scripts-table entries |
The plugin and npx skills@latest add boshu2/agentops --all -g install all 54 skills today, regardless of whether you have python3 or ao.
Ran it? Tell us what it judged. Open an issue, and paste the verdict.v2 if
you asked validate to persist one:
https://github.com/boshu2/agentops/issues.
Plugins (Claude Code / Codex)
Prefer a managed bundle that updates with the release:
# Claude Code
claude plugin marketplace add boshu2/agentops
claude plugin install agentops@agentops-marketplace
# Codex
codex plugin marketplace add boshu2/agentops
codex plugin add agentops@agentops-marketplace
Three install paths:
- npx / skills.sh: universal; copies skills you can edit.
- Plugins: a read-only bundle that stays current with the repo.
- Checkout +
ao skills link: source-tracked symlinks for contributors (see Install and day-2 operations).
Admission-control hooks (on by default)
AgentOps ships a PreToolUse policy dispatcher: deterministic guards that block a small set of known-destructive commands (staging the private bead ledger, hand-editing the hash-chained provenance ledger, overwriting installed skill copies) and route you to the correct tool instead. Silent on every clean call; every block is one line.
- Claude Code plugin installs: active automatically; nothing to run.
- npx / skills.sh copies: run
~/.claude/skills/cc-hooks/scripts/install-hooks.shonce. - git clone / brew: run
scripts/install-policy-dispatch.shonce.
Disable anytime (/plugin disable agentops, or remove the two PreToolUse
matchers from settings). Policy list and design:
skills/cc-hooks/SKILL.md.
Remove with your runtime's plugin uninstall, or delete the linked skill directories.
Intent lives in a bead
Beads is the preferred tracker
(optional; brew install beads). Plan
writes BDD acceptance and DDD ubiquitous
language into the bead;
Implement builds against it; Validate judges a hashed snapshot under
.agents/ao/intents/sha256/. No beads? Plan shapes the caller's issue or chat
text and the runtime snapshots those bytes the same way. These are standalone
product-proof defaults; selected CDLC knowledge/disclosure evidence requires
protected external routing before storage (ADR-0016).
validate runs in a fresh context from the author's model family by default:
Codex reviews Codex work, and Claude reviews Claude work. Request
--cross-model [model] in Validate or RPI to add a different-family reviewer;
an unavailable requested leg leaves the combined result unproven. Review time
comes from caller/native bounds, with no fixed ten-minute cap. See the
model-dispatch recipe.
Multi-agent systems
The default is one agent, one writer. When you need a fleet,
swarm, agent-native,
ntm, and using-gc
orchestrate multi-agent work. They dispatch; they do not own the verdict.
Choose a software factory
AgentOps supplies skills and evidence contracts, not another software-factory
runtime or a competing Gas City pack. Install the skills in the agent runtime
used by the factory you choose; its Mayor, coordinator, and workers can then use
plan, implement, test, validate, and the rest of the catalog.
Two factory stacks are supported:
- Gas City is the preferred choice
for durable, supervised workflows. Use the upstream
gascitybuild pack, the workflow family used by Maintainer City. It owns formulas, roles, worktrees, dispatch, draining, and run state. Theusing-gcskill covers installation, launch, observation, and recovery. - Jeffrey Emanuel's
Agentic Coding Flywheel is a supported
alternative built from Beads, Agent Mail, NTM, and the wider Flywheel tool
stack. Use its native workflow and let its agents consume the same AgentOps
skills. The
using-flywheelskill covers provisioning, skill visibility, and the evidence boundary.
AgentOps does not wrap either factory or translate factory completion into
semantic PASS. When proof is required, a fresh validate context judges the
exact candidate and evidence.
Optional: ao CLI
Deterministic checks, inspection, and skill linking. fitness and
using-gc call it directly; the rest of the skills work without it. Install
steps (Homebrew or go install), and ao skills link for
tracking skills from a local checkout:
Install and day-2 operations.
Why AgentOps exists
1. The agent said it was done
Same session that wrote the code also declared victory. AgentOps separates
authorship from judgment: implement produces a candidate; validate must
run in a fresh context and may use a different model. It issues PASS,
FAIL, or NOT_PROVEN.
2. One perspective rubber-stamped another
A single context can share blind spots with the author. Opt into
idea-genie or council
for sealed or multi-judge review. They return a report; an author-distinct
validate context issues the binding result.
3. Acceptance drifted mid-flight
Keep accepted behavior and write scope in the existing intent source. Use
plan when they need shaping; revise the approach when evidence requires it,
without silently changing acceptance. Validation binds to that accepted intent.
4. Nobody can replay what was judged
Chat scrolls away. When replay or automation needs durable evidence, validate
writes a content-addressed verdict.v2 in caller-selected protected external
non-Git storage, with checked scope, omissions, and evidence refs. Existing
.agents/ proof remains preserved under owner policy.
Plain JSON. No hosted service required. Interactive validation does not create
one unless requested.
Core skills
| Skill | Job |
|---|---|
rpi | own the authorized outcome through checks, direct repair and fresh final judgment |
plan | shape existing intent when needed; revise disproved approaches within accepted scope |
implement | implement and repair known defects with discriminating checks |
validate | fresh context (optionally different model); optionally persist verdict.v2 |
memory | recall reviewed topic pages or separately mine and curate when useful |
Optional later: learn. Optional strategies:
anti-ceremony,
council, idea-genie,
premortem, postmortem,
one-way-door (is this decision reversible?),
reality-check (does the repo match the claim?).
Not sure which skill owns a request? Ask route.
One skill, many shapes
AgentOps prefers a smaller skill set you can steer over dozens of near-duplicate skills. Modes and flags change behavior inside one contract.
| Skill | Steer with | Examples |
|---|---|---|
doc | --mode | readme, oss, default API/docs; README mode runs a docs-prose (de-slop) pass |
codebase-recon | mode · view · lens · depth | baseline/delta; emphasize audit or mental model; one domain lens per pass |
idea-genie | elicit | duel | portfolio vs sealed multi-perspective challenge |
rpi | bead / intent ref | one full traversal against a frozen bead |
Read the skill's mode table before inventing a sibling skill. Full inventory: Skill Router.
Evidence contract
A PASS binds unchanged acceptance, a deterministic subject manifest, complete
changed-path coverage inside write scope, distinct author and validator context
IDs, a freshness attestation, and criterion-level evidence.
Missing identity, mutation, or incomplete coverage → NOT_PROVEN. Proven
out-of-scope change or failed criterion → FAIL.
RPI traversal · CLI · Docs
Contributing: docs/CONTRIBUTING.md. License: Apache-2.0.
Files in the repo
- .agents
- .beads
- .claude
- .claude-plugin
- .codex
- .codex-plugin
- .githooks
- .github
- .opencode
- .out-of-scope
- agents
- bin
- cli
- deploy
- docs
- evals
- evidence
- examples
- homebrew-tap
- hooks
- images
- lib
- packs
- plugins
- schemas
- scripts
- skills
- skills-codex
- skills-codex-overrides
- spec
- tests
- workflows
- .codecov.yml
- .gitattributes
- .gitignore
- .gitleaks.toml
- .goreleaser.yml
- .markdownlint.json
- AGENTS.md
- CHANGELOG.md
- CLAUDE.md
- goals-affects-files.yaml
- GOALS.md
- LICENSE
- Makefile
- MEMORY.md
- mkdocs.yml
- NOTICE
- PRACTICE-REGISTRY.md
- PRODUCT.md
- PROGRAM.md
- README.md
- registry.json
- renovate.json
- requirements-docs.txt
Discussion (0)
Ask about usage, or say what you built with itSign in to join the discussion.
No comments yet. Be the first to say what this is good for.
More plugins

Graphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
OmO: Just type "mass ulw" keyword with your prompt. Now you are the master of graph engineering.
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Opinionated Oxlint rules for rejecting low-evidence TypeScript and JavaScript patterns
Teams-first Multi-agent orchestration for Claude Code