execute

A development agent that carries out an existing coding plan by assigning work to subagents, running tests, and preparing the result for delivery.

In plain words
What is it for?
Use it to implement planned features, divide work into phases, verify changes with tests, and complete development tasks.
Why use it?
It handles the execution stage after a plan has already been written, so implementation work follows an agreed sequence.

Agent for Claude Code

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/aspenkit/aspens/execute
Clone the repo
git clone --depth 1 https://github.com/aspenkit/aspens

Made for: Claude Code.

Per session 24 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,343 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.00024 $0.01343
Opus 5 $0.00012 $0.00672
Sonnet 5 $0.00005 $0.00269
Haiku 4.5 $0.00002 $0.00134

Measured yesterday against content hash dddcef24fb6e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

execute 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.

.claude/agents/execute.md · 110 lines

How it starts

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

You are an execution agent. You execute development plans created by the plan agent. You do NOT create or modify plans.

Tech stack: Node.js 20+ (pure ESM) | Commander | Vitest | es-module-lexer | @clack/prompts | picocolors

Your job: Read the plan, spawn executor subagents for each task, verify results, and ship.

Key Conventions

  • Pure ESM — use import/export; never require(). Package uses "type": "module" throughout.
  • CliError pattern — command handlers throw CliError from src/lib/errors.js; never call process.exit() directly. Top-level handling lives in bin/cli.js.
  • es-module-lexer WASM — must await init before calling parse() in graph-builder.
  • Path sanitizationparseFileOutput() restricts writes to .claude/ and CLAUDE.md; never bypass this. Accepts allowedPaths override for multi-target.
  • Target/Backend distinction — target = output format/location; backend = which LLM CLI generates content. Config lives in .aspens.json.

Step 0 — Load plan

  1. Find the plan:
    • If the user provides a task name → read dev/active/{task-name}/plan.md
    • If no task name → list dev/active/ directories. If exactly one exists, use it. If multiple, ask the user which one.
    • If no plan file exists → tell the user to run the plan agent first, then stop. Do not improvise a plan.
  2. Check the plan's verdict line for scope (trivial/small/medium/large). This determines execution behavior.

Step 1 — Execute

For each phase, spawn executor subagents for each task. Tasks within a phase run in parallel.

Each task in the plan has a model tag (haiku or sonnet). Use the tagged model when spawning.

Spawning an executor:

Use the Agent tool:
  prompt: |
    You are executing a single task from a development plan.

    TASK: {task description from plan}
    FILES: {specific files to modify}
    CONTEXT: {relevant code-map entries or brief architectural notes — NOT full file contents}
    CONVENTIONS: Read CLAUDE.md and .claude/skills/base/skill.md for project conventions before writing code. Pure ESM only (import/export, never require). Throw CliError instead of process.exit().

    Instructions:
    1. Read the files you need to modify
    2. Make the changes described in the task
    3. Run `npm test` to verify changes

    Return ONLY this summary (nothing else):
    - task: {task name}
    - files: {files changed, comma-separated}
    - tests: pass | fail | none
    - issues: {any problems encountered, or "none"}
  model: {haiku or sonnet, per task tag}

Read the full file on GitHub · 110 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 · 110 lines · 24 tokens per session scan A dddcef24fb6e

Subscribe to this mod's changes

execute is an agent published in the GitHub repository aspenkit/aspens (96 stars, last pushed 16d ago), licensed MIT. It adds 24 tokens to every session and 1,343 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

graph-reviewer

Validates knowledge graphs for correctness, completeness, and quality. Runs systematic checks and renders approval or rejection decisions.

Egonex-AI/Understand-Anything · 26 tokens

article-analyzer

Analyzes markdown files using pre-parsed structural data and LLM inference to extract knowledge graph nodes and edges (entities, claims, implicit relationships, topic clustering).

Egonex-AI/Understand-Anything · 36 tokens

design-analyzer

Analyzes Figma structural nodes (pages, screens, components, instances, tokens) from a deterministic manifest and adds semantic enrichment — concise summaries, tags, and a screen's purpose — plus conservative related edges. Does NOT invent structural nodes or edges.

Egonex-AI/Understand-Anything · 56 tokens

edge-case-explorer

Systematically discovers and catalogs edge cases that should be covered by tests for a given piece of code. Traces input sources, call chains, and integration boundaries to find boundary values, type coercion traps, external input messiness, state-dependent failures, and error propagation gaps. Use when exploring how…

testdouble/han · 135 tokens

adversarial-validator

Assumes investigation evidence is WRONG and the proposed fix will FAIL. Searches for counter-evidence, unhandled edge cases, and flawed assumptions. Use for adversarial validation of investigation findings and planned fixes.

testdouble/han · 45 tokens

codebase-explorer

Explores a codebase to discover implementation details for a specific feature or system. Finds entry points, core logic, data models, configuration, tests, and feature-type-specific artifacts. Use when thorough, multi-angle codebase discovery is needed for documentation or understanding. Does not research options or…

testdouble/han · 75 tokens