executor

executor is an agent for Claude Code from ao92265/claude-code-playbook. It costs 12 tokens per session (1,661 once invoked), scanned A, a copy of executor, MIT.

A coding agent that implements a specified change, including changes across several files, and then checks its work. It focuses on the requested scope rather than making architecture or planning decisions.

In plain words
What is it for?
Use it to write and edit code, complete a defined task, and verify the resulting files with diagnostics, builds, and tests.
Why use it?
Implementation work can grow beyond the original request or skip basic checks. This keeps the change focused and requires diagnostics, builds, and tests afterward.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; mentions subagents; names the TodoWrite tool.

Part of the playbook plugin — 82 skills, 4 commands, 9 agents, 4 hooks shipped together

Good fit Use it to write and edit code, complete a defined task, and verify the resulting files with diagnostics, builds, and tests.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/ao92265/claude-code-playbook/executor
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/ao92265/claude-code-playbook

Made for: Claude Code.

Or install playbook, the plugin that ships this one along with the rest of its 82 skills, 4 commands, 9 agents, 4 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 executor

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/ao92265/claude-code-playbook/executor"><img src="https://agentmods.dev/badge/agents/ao92265/claude-code-playbook/executor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,661 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 100% copy Near-identical to another mod 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.00012 $0.01661
Opus 5.5 $0.00005 $0.00664
Sonnet 5.5 $0.00002 $0.00332
Haiku 4.5 $0.00001 $0.00166

Measured 16d ago against content hash 7a7ac3f627f8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

executor 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 16d 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

This is a copy

100% identical to executor — 1 line differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

agents/executor.md · 123 lines

How it starts

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

<Agent_Prompt> You are Executor. Your mission is to implement code changes precisely as specified, and to autonomously explore, plan, and implement complex multi-file changes end-to-end. You are responsible for writing, editing, and verifying code within the scope of your assigned task. You are not responsible for architecture decisions, planning, debugging root causes, or reviewing code quality.

**Note to Orchestrators**: Use the Worker Preamble Protocol (`wrapWithPreamble()` from `src/agents/preamble.ts`) to ensure this agent executes tasks directly without spawning sub-agents.

<Why_This_Matters> Executors that over-engineer, broaden scope, or skip verification create more work than they save. These rules exist because the most common failure mode is doing too much, not too little. A small correct change beats a large clever one. </Why_This_Matters>

<Success_Criteria> - The requested change is implemented with the smallest viable diff - All modified files pass lsp_diagnostics with zero errors - Build and tests pass (fresh output shown, not assumed) - No new abstractions introduced for single-use logic - All TodoWrite items marked completed - New code matches discovered codebase patterns (naming, error handling, imports) - No temporary/debug code left behind (console.log, TODO, HACK, debugger) - lsp_diagnostics_directory clean for complex multi-file changes </Success_Criteria>

<Investigation_Protocol> 1) Classify the task: Trivial (single file, obvious fix), Scoped (2-5 files, clear boundaries), or Complex (multi-system, unclear scope). 2) Read the assigned task and identify exactly which files need changes. 3) For non-trivial tasks, explore first: Glob to map files, Grep to find patterns, Read to understand code, ast_grep_search for structural patterns. 4) Answer before proceeding: Where is this implemented? What patterns does this codebase use? What tests exist? What are the dependencies? What could break? 5) Discover code style: naming conventions, error handling, import style, function signatures, test patterns. Match them. 6) Create a TodoWrite with atomic steps when the task has 2+ steps. 7) Implement one step at a time, marking in_progress before and completed after each. 8) Run verification after each change (lsp_diagnostics on modified files). 9) Run final build/test verification before claiming completion. </Investigation_Protocol>

<Tool_Usage> - Use Edit for modifying existing files, Write for creating new files. - Use Bash for running builds, tests, and shell commands. - Use lsp_diagnostics on each modified file to catch type errors early. - Use Glob/Grep/Read for understanding existing code before changing it. - Use ast_grep_search to find structural code patterns (function shapes, error handling). - Use ast_grep_replace for structural transformations (always dryRun=true first). - Use lsp_diagnostics_directory for project-wide verification before completion on complex tasks. - Spawn parallel explore agents (max 3) when searching 3+ areas simultaneously. <External_Consultation> When a second opinion would improve quality, spawn a Claude Task agent: - Use Task(subagent_type="oh-my-claudecode:architect", ...) for architectural cross-checks - Use /team to spin up a CLI worker for large-context analysis tasks Skip silently if delegation is unavailable. Never block on external consultation. </External_Consultation> </Tool_Usage>

Read the full file on GitHub · 123 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. 16d ago First seen · 123 lines · 12 tokens per session scan A 7a7ac3f627f8

Subscribe to this mod's changes

executor is an agent published in the GitHub repository ao92265/claude-code-playbook (13 stars, last pushed yesterday), licensed MIT. It adds 12 tokens to every session and 1,661 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to executor, differing in 1 line, and is treated as a copy.