Skip to content
Agent Orchestration
Agent

runner-review

Review Python runner code for convention violations. Use after modifying files under components/runners/ambient-runner/. Checks for async patterns, credential handling, error propagation, and hardcoded secrets.

BOOST
From plugin
platform
1316 skills6 agents11 commands3 MCP
Install
$ npx -y skills add ambient-code/platform --agent claude-code

How it fires

How this agent gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.

Context preview

The summary Claude sees to decide when to auto-load this agent.

Review Python runner code for convention violations. Use after modifying files under components/runners/ambient-runner/. Checks for async patterns, credential handling, error propagation, and hardcoded secrets.

Agent definition

runner-review.md
name: runner-review
description: >
  Review Python runner code for convention violations. Use after modifying files
  under components/runners/ambient-runner/. Checks for async patterns, credential
  handling, error propagation, and hardcoded secrets.
tools:
  - Read
  - Grep
  - Glob
  - Bash

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.

Read more
Ships withplatform

Kubernetes-native AI automation platform for intelligent agentic sessions

Get the whole plugin

Other agents on platform.