executor

A focused coding agent for implementing specified changes across one or more files.

In plain words
What is it for?
Use it to make small fixes or complete multi-file changes, then run diagnostics, builds, and tests to verify the result.
Why use it?
It keeps implementation work within scope and checks that the resulting code is valid and tested.

Agent

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.

agentmods
npx agentmods add agents/yeachan-heo/oh-my-claudecode/executor
Clone the repo
git clone --depth 1 https://github.com/Yeachan-Heo/oh-my-claudecode
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,656 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00012 $0.01656
Opus 5 $0.00006 $0.00828
Sonnet 5 $0.00002 $0.00331
Haiku 4.5 $0.00001 $0.00166

Measured yesterday against content hash 996bfa5ed0b5, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 yesterday.

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:

  • executor — 91% identical, 42 lines differ
agents/executor.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.

<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 · 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. yesterday First seen · 122 lines · 12 tokens per session scan A 996bfa5ed0b5

Subscribe to this mod's changes

executor is an agent published in the GitHub repository Yeachan-Heo/oh-my-claudecode (38,897 stars, last pushed yesterday), licensed MIT. It adds 12 tokens to every session and 1,656 once invoked, about $0.0001 per session on Opus 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

build-agent-empty-input-diagnosis

Status: Resolved for interview injections. Date: 2026-08-10 Related PR: #818 (fix/preset-tui-slash-command) — same root class as the original /preset fix. Suspected sibling bug reported by user: During superpowers / brainstorm skill conversations, when the orchestrator asks for confirmation or work is interrupted…

alvinunreal/oh-my-opencode-slim · 0 tokens

codemap

Defines agent personalities (Orchestrator, Explorer, Librarian, etc.) and manages their configuration lifecycle. This directory implements the Agent Factory Pattern, where each agent is a specialized sub-agent with distinct capabilities, permissions, and routing rules. The Orchestrator agent (src/agents/index.ts)…

alvinunreal/oh-my-opencode-slim · 0 tokens

issue-tracker

Issues and PRs for this repo live as GitHub issues. Use the gh CLI for all operations. The project repo is alvinunreal/oh-my-opencode-slim.

alvinunreal/oh-my-opencode-slim · 0 tokens

domain

How the engineering skills should consume this repo's domain documentation when exploring the codebase.

alvinunreal/oh-my-opencode-slim · 0 tokens

triage-labels

Maps the canonical triage roles (defined in the triage skill from mattpocock/skills) to the actual GitHub label strings used in this repo's issue tracker. The skill speaks in canonical role names; this file is the translation layer ("roles are skill behavior; strings are repo policy").

alvinunreal/oh-my-opencode-slim · 0 tokens

architect

System architecture, data modeling, API contract design, and the creation of structured implementation blueprints for development teams.

martinffx/atelier · 23 tokens