agent-control-plane: Agent for Claude Code

.claude/agents/operator-review.md

operator-review is an agent for Claude Code from openshift-online/agent-control-plane. It costs 40 tokens per session (920 once invoked), scanned A, original, MIT.

A code-review agent for Kubernetes operators, which are programs that manage Kubernetes resources automatically.

In plain words
What is it for?
Use it after changing Go files under components/ambient-control-plane/ to check ownership metadata, reconciliation behavior, security settings, resource limits, and panic usage.
Why use it?
It catches violations of the project's required patterns for creating resources, handling errors, and reporting failures.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is openshift-online/agent-control-plane's own configuration. It tells Claude Code how to work on agent-control-plane itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything agent-control-plane configures →

Reuse

Borrowing it

Nothing to install: this file belongs to openshift-online/agent-control-plane. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/openshift-online/agent-control-plane/main/.claude/agents/operator-review.md
Clone the repo
git clone --depth 1 https://github.com/openshift-online/agent-control-plane

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for operator-review

README.md
[![agentmods](https://agentmods.dev/badge/agents/openshift-online/agent-control-plane/operator-review/github.svg)](https://agentmods.dev/agents/openshift-online/agent-control-plane/operator-review)
Your own site
<a href="https://agentmods.dev/agents/openshift-online/agent-control-plane/operator-review"><img src="https://agentmods.dev/badge/agents/openshift-online/agent-control-plane/operator-review/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for operator-review

Your own site · 80×15
<a href="https://agentmods.dev/agents/openshift-online/agent-control-plane/operator-review"><img src="https://agentmods.dev/badge/agents/openshift-online/agent-control-plane/operator-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 920 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00040 $0.00920
Opus 5.5 $0.00016 $0.00368
Sonnet 5.5 $0.00008 $0.00184
Haiku 4.5 $0.00004 $0.00092

Measured 1mo ago against content hash efa3cb93221a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

operator-review scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/agents/operator-review.md · 122 lines

How it starts

The opening of the file, as written. The whole thing — 122 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Operator Review Agent

Review operator Go code against documented conventions.

Context

Load these files before running checks:

  1. specs/standards/control-plane/conventions.spec.md

Checks

O1: OwnerReferences on child resources (Blocker)

# Find client.Create calls (handles multi-line builder chains)
rg -U "\.Create\s*\(" components/ambient-control-plane/ --glob="*.go" -l
# Then for each file, check whether OwnerReferences is set before Create
rg "OwnerReferences|controllerutil\.SetControllerReference" components/ambient-control-plane/ --glob="*.go"

For each Create( call in components/ambient-control-plane/, verify the created object's metadata.OwnerReferences is populated (or controllerutil.SetControllerReference is called) in the same function. See DEVELOPMENT.md for the required pattern.

O2: Proper reconciliation patterns (Critical)

  • errors.IsNotFound → return nil (resource deleted, don't retry)
  • Transient errors → return error (triggers requeue with backoff)
  • Terminal errors → update CR status to "Failed", return nil
# Find IsNotFound usages — verify they return nil, not an error
rg -n "errors\.IsNotFound" components/ambient-control-plane/ --glob="*.go" -A 2
# Find status updates that set Failed but still return errors (bad pattern: should return nil)
rg -U "status.*Failed|Failed.*status" components/ambient-control-plane/ --glob="*.go" -A 3
# Find Reconcile/reconcile functions for manual review of error return paths
rg -n "^func.*[Rr]econcile" components/ambient-control-plane/ --glob="*.go"

O3: SecurityContext on Job pod specs (Critical)

grep -rn "SecurityContext" components/ambient-control-plane/ --include="*.go" | grep -v "_test.go"

Required: AllowPrivilegeEscalation: false, Capabilities.Drop: ["ALL"]

O4: Resource limits/requests on containers (Major)

grep -rn "Resources\|Limits\|Requests" components/ambient-control-plane/ --include="*.go" | grep -v "_test.go"

Read the full file on GitHub · 122 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 122 lines · 40 tokens per session scan A efa3cb93221a

Subscribe to this mod's changes

operator-review is an agent published in the GitHub repository openshift-online/agent-control-plane (12 stars, last pushed today), licensed MIT. It adds 40 tokens to every session and 920 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

arbiter

Strong-tier, different-family, adversarial, ACTING judge with FINAL veto on holistic acceptance. Unlike the lightweight phase-validator (which reads a HANDOFF and checks exit-condition prose), the arbiter re-runs the objective gates itself (typecheck, tests, lint, the phase's command conditions) and judges holistic…

SethGammon/Citadel · 132 tokens

ap-juror

Report the compatibility redirect to ap-independent-checker; this retired role cannot perform new work.

Spielewoy/autoprompt-skill · 24 tokens

site_reliability_engineer

Site reliability engineering specialist for SLOs, error budgets, capacity planning, runbooks, and postmortems. Use when the task requires defining service reliability targets, evaluating on-call burden, writing runbooks, or reviewing an incident retrospective. For example: defining SLIs/SLOs for a new service…

josstei/maestro-orchestrate · 87 tokens

cloud_architect

Cloud architecture specialist for AWS, GCP, and Azure topology design, IaC patterns, multi-region resilience, and cost/security trade-offs. Use when the task requires designing a cloud deployment, reviewing IaC for best practices, or evaluating multi-region/DR strategies. For example: choosing between ECS and EKS…

josstei/maestro-orchestrate · 83 tokens

mlops_engineer

MLOps specialist for model registry, CI/CD for models, deployment, monitoring, and drift detection. Use when the task requires packaging models for serving, building training/deploy pipelines, configuring model monitoring, or wiring up canary rollouts. For example: automating retraining on a schedule, setting up…

josstei/maestro-orchestrate · 76 tokens

reviewer

Reviews code, plans, architecture risk, and test gaps without editing files.

heggria/taskflow · 17 tokens