executor

executor is an agent for Claude Code from RobinNorberg/oh-my-copilot. It costs 12 tokens per session (1,655 once invoked), scanned A, a copy of executor, MIT.

A focused coding agent for implementing specified changes. It explores the relevant files, makes the required edits, and verifies the result.

In plain words
What is it for?
Writing and editing code, handling multi-file implementation tasks, running diagnostics, and verifying builds and tests.
Why use it?
It keeps implementation work within the requested scope and checks that the change builds and passes tests.

Agent for Claude Code

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

Part of the oh-my-copilot plugin — 63 skills, 21 commands, 20 agents, 11 hooks, 1 MCP server shipped together

Good fit Writing and editing code, handling multi-file implementation tasks, running diagnostics, and verifying builds and tests.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/robinnorberg/oh-my-copilot/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/RobinNorberg/oh-my-copilot

Made for: Claude Code.

Or install oh-my-copilot, the plugin that ships this one along with the rest of its 63 skills, 21 commands, 20 agents, 11 hooks, 1 MCP server.

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/robinnorberg/oh-my-copilot/executor/github.svg)](https://agentmods.dev/agents/robinnorberg/oh-my-copilot/executor)
Your own site
<a href="https://agentmods.dev/agents/robinnorberg/oh-my-copilot/executor"><img src="https://agentmods.dev/badge/agents/robinnorberg/oh-my-copilot/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/robinnorberg/oh-my-copilot/executor"><img src="https://agentmods.dev/badge/agents/robinnorberg/oh-my-copilot/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,655 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 91% 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.01655
Opus 5.5 $0.00005 $0.00662
Sonnet 5.5 $0.00002 $0.00331
Haiku 4.5 $0.00001 $0.00166

Measured 1mo ago against content hash 687961a6d1d2, 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 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

This is a copy

91% identical to executor — 6 lines 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 · 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-copilot: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. 1mo ago Changed · -30 lines 687961a6d1d2
  2. 1mo ago First seen · 152 lines · 12 tokens per session scan A 0a669638cd9d

Subscribe to this mod's changes

executor is an agent published in the GitHub repository RobinNorberg/oh-my-copilot (5 stars, last pushed 7d ago), licensed MIT. It adds 12 tokens to every session and 1,655 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 91% identical to executor, differing in 6 lines, and is treated as a copy.