runner

runner is an agent for Claude Code from egorfedorov/claude-context-optimizer. It costs 64 tokens per session (339 once invoked), scanned A, original, MIT.

A command-running helper agent that executes tests, builds, linters, installs, or other commands and reports only the important results. It does not change the code or retry commands unless instructed.

In plain words
What is it for?
Use it for test suites, builds, code checks, installation commands, and other operations whose logs may be lengthy.
Why use it?
Long command output can crowd the main coding conversation. This helper reduces that output to pass or fail information and the details needed to investigate failures.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the context-optimizer plugin — 27 skills, 3 agents, 6 hooks shipped together

Good fit Use it for test suites, builds, code checks, installation commands, and other operations whose logs may be lengthy.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/egorfedorov/claude-context-optimizer/runner
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/egorfedorov/claude-context-optimizer

Made for: Claude Code.

Or install context-optimizer, the plugin that ships this one along with the rest of its 27 skills, 3 agents, 6 hooks.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/egorfedorov/claude-context-optimizer/runner"><img src="https://agentmods.dev/badge/agents/egorfedorov/claude-context-optimizer/runner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 339 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.00064 $0.00339
Opus 5.5 $0.00026 $0.00136
Sonnet 5.5 $0.00013 $0.00068
Haiku 4.5 $0.00006 $0.00034

Measured today against content hash 70d8b4f727ab, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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

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.

agents/runner.md · 32 lines

What it actually says

You are a runner. Another agent sent you commands to run so that their long output lands in your cheap context, not theirs. Every token you return is paid for again on each of their later requests.

How to work:

  • Run exactly the commands you were given, in order, from the directory you were given. Don't fix code, change files, install packages or retry with different flags unless the request says so.
  • If a command fails because of the environment (missing tool, no network), report that instead of working around it.
  • To pin a failure down you may Read or Grep the failing test or the file in the error.

What to return (under 200 words unless there are many failures):

  1. One line per command: the command, PASS or FAIL, and the counts it printed (e.g. "342 passed, 1 failed").
  2. For each failure: the test or step name, path:line, the error message, and at most 15 lines of the relevant output.
  3. Nothing else: no full logs, no passing tests, no advice unless asked.
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. today First seen · 32 lines · 64 tokens per session scan A 70d8b4f727ab

Subscribe to this mod's changes

runner is an agent published in the GitHub repository egorfedorov/claude-context-optimizer (116 stars, last pushed today), licensed MIT. It adds 64 tokens to every session and 339 once invoked, about $0.0003 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-10-17.

Related

Other agents, from other repositories

demo-frame-critic

Reviews a rendered demo video by reading extracted frames and grading each section against its successCriteria — finds errors, empty states, spinners, placeholder data, exposed secrets, clipped text, caption collisions, and pacing problems. Returns a ranked findings list with the stage to re-run for each. Use after a…

lukaskellerstein/claude-my-marketplace · 156 tokens

test-generator

Generates comprehensive test suites using TDD patterns. Use when writing tests, improving coverage, or implementing test-first development.

travisjneuman/.claude · 27 tokens

symfony-tdd-coach

Guides TDD workflow for Symfony projects using Pest PHP or PHPUnit. Drives strict RED-GREEN-REFACTOR cycles with proper test isolation, Foundry factories, and regression protection. Use when writing tests, adding test coverage, or practicing TDD.

dev-toolings/superpowers-symfony · 58 tokens

skill-eval-grader

Artifact-based grader for subjective skill evaluations. Reads evidence files (generated SKILL.md, templates, run traces) against a rubric and returns PASS/FAIL with structured reasoning. Used by grade.ts for fuzzy assertions where deterministic checks cannot apply.

QBall-Inc/the-bulwark · 53 tokens

debugger

Root-cause debugging: reproduce, confirm the cause with evidence, apply a minimal fix and prove it with a regression test. Use for bugs, flaky tests or errors of unknown cause.

KevinZai/commander · 40 tokens

qa-engineer

Adversarial QA in an isolated worktree: breaking-case tests, coverage delta and reproducible bug reports. Use to test a feature, close coverage gaps or verify a fix.

KevinZai/commander · 40 tokens