platform: Agent for Claude Code

.claude/agents/runner-review.md

runner-review is an agent for Claude Code from ambient-code/platform. It costs 40 tokens per session (390 once invoked), scanned A, original, MIT.

A code-review agent for Python files in the ambient runner component. It checks the code against rules for asynchronous work, credentials, errors, and secrets.

In plain words
What is it for?
Use it after changing files under components/runners/ambient-runner/. It produces a review grouped by severity and reports how many checks passed.
Why use it?
It catches common safety and reliability problems after runner code changes, such as blocking an async task, exposing credentials, or hiding subprocess failures.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is ambient-code/platform's own configuration. It tells Claude Code how to work on platform 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 platform configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ambient-code/platform. 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/ambient-code/platform/main/.claude/agents/runner-review.md
Clone the repo
git clone --depth 1 https://github.com/ambient-code/platform

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 runner-review

README.md
[![agentmods](https://agentmods.dev/badge/agents/ambient-code/platform/runner-review/github.svg)](https://agentmods.dev/agents/ambient-code/platform/runner-review)
Your own site
<a href="https://agentmods.dev/agents/ambient-code/platform/runner-review"><img src="https://agentmods.dev/badge/agents/ambient-code/platform/runner-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 runner-review

Your own site · 80×15
<a href="https://agentmods.dev/agents/ambient-code/platform/runner-review"><img src="https://agentmods.dev/badge/agents/ambient-code/platform/runner-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 390 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.00390
Opus 5.5 $0.00016 $0.00156
Sonnet 5.5 $0.00008 $0.00078
Haiku 4.5 $0.00004 $0.00039

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

Security

Grade A, and why

runner-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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.claude/agents/runner-review.md · 69 lines

What it actually says

Runner Review Agent

Review runner Python code against documented conventions.

Context

No runner-specific DEVELOPMENT.md exists yet. Review against general Python best practices and the patterns visible in components/runners/ambient-runner/src/.

Checks

R1: Proper async patterns (Major)

No blocking calls (open(), requests., time.sleep()) inside async functions. Use aiofiles, httpx, asyncio.sleep().

R2: Credential handling (Blocker)

No hardcoded credential values. Credentials loaded from environment or K8s secrets. No credentials in log statements.

R3: Error propagation from subprocess (Critical)

Subprocess calls must propagate errors, not swallow them. Return codes checked, errors raised or logged with context.

R4: No hardcoded secrets or API keys (Blocker)

grep -rn "sk-\|api_key=\|password=" components/runners/ambient-runner/ --include="*.py" | grep -v "_test\|test_\|example\|mock"

Output Format

# Runner Review

## Summary
[1-2 sentence overview]

## Findings

### Blocker
[Must fix — or "None"]

### Critical
[Should fix — or "None"]

### Major
[Important — or "None"]

### Minor
[Nice-to-have — or "None"]

## Score
[X/4 checks passed]

Each finding includes: file:line, problem description, convention violated, suggested fix.

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 · 69 lines · 40 tokens per session scan A ac3a4e6ca435

Subscribe to this mod's changes

runner-review is an agent published in the GitHub repository ambient-code/platform (131 stars, last pushed yesterday), licensed MIT. It adds 40 tokens to every session and 390 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-30.

Related

Other agents, from other repositories

checker

Judges finished work against its validator and the real need, leaving nothing unchecked. Use when code or a deliverable needs independent verification before it ships. Never edits the work, never implements the fix.

ai-driven-dev/framework · 42 tokens

analytics_engineer

Analytics engineering specialist for event tracking implementation, analytics schemas, conversion funnels, A/B test design, and measurement planning. Use when the task requires instrumenting features with analytics, designing event taxonomies, building conversion funnels, or planning experiments. For example: adding…

josstei/maestro-orchestrate · 77 tokens

compliance_reviewer

Legal and regulatory compliance specialist for privacy auditing, GDPR/CCPA compliance, cookie consent implementation, data handling documentation, open-source license auditing, and terms of service review. Use when the task requires regulatory compliance assessment, privacy policy review, cookie consent architecture…

josstei/maestro-orchestrate · 86 tokens

i18n_specialist

Internationalization specialist for i18n architecture, string extraction, locale management, pluralization rules, RTL support, and date/number/currency formatting. Use when the task requires internationalizing an application, setting up locale file structures, extracting hardcoded strings, or adding right-to-left…

josstei/maestro-orchestrate · 91 tokens

mobile_engineer

Mobile engineering specialist for iOS, Android, React Native, and Flutter feature work. Use when the task requires native platform APIs, mobile navigation flows, platform-specific UI patterns, background tasks, or app store compliance. For example: building a push notification handler, wiring biometric auth…

josstei/maestro-orchestrate · 71 tokens

product_manager

Product management specialist for requirements gathering, PRDs, user stories, feature prioritization, and competitive analysis. Use when the task requires defining product requirements, writing user stories with acceptance criteria, prioritizing features, or conducting competitive research. For example: writing a PRD…

josstei/maestro-orchestrate · 78 tokens