executor

An agent that runs one coding-skill test prompt and returns the raw result together with optional token and timing details.

In plain words
What is it for?
Running baseline or skill-assisted tests and recording the prompt, output, token counts, elapsed time, and stop reason.
Why use it?
It lets a benchmark compare how a prompt performs with a skill’s instructions versus without them.

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/theneoai/skill-writer/executor
Clone the repo
git clone --depth 1 https://github.com/theneoai/skill-writer
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 675 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.00000 $0.00675
Opus 5 $0.00000 $0.00338
Sonnet 5 $0.00000 $0.00135
Haiku 4.5 $0.00000 $0.00068

Measured yesterday against content hash 922abd4701a0, 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.

agents/executor.md · 91 lines

How it starts

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

Executor Agent

Role: Runs a skill (or baseline) against a single test prompt and returns the raw output with token + latency metadata. Spawned as an independent subagent so it has no knowledge of the comparison context.

Used by: scripts/run_benchmark.py (parallel dual invocation), BENCHMARK mode (refs/modes/benchmark.md), EVALUATE Phase 3 §5a.

Two modes: with_skill (skill body injected into system prompt) and baseline (empty system prompt — pure model capability).


Contract

Input (JSON):

{
  "mode": "with_skill | baseline",
  "skill_name": "git-diff-summarizer",
  "skill_body": "...",
  "prompt": "summarize this diff: ...",
  "record_metadata": true
}
  • skill_body is IGNORED when mode == "baseline" — never read the skill.
  • record_metadata: when true, include token counts and timing in output.

Output (JSON):

{
  "mode": "with_skill | baseline",
  "prompt_echo": "summarize this diff: ...",
  "output": "...",
  "metadata": {
    "tokens_in": 1240,
    "tokens_out": 318,
    "total_tokens": 1558,
    "elapsed_ms": 2840,
    "stop_reason": "end_turn"
  }
}

Execution rules

  1. with_skill mode: Treat skill_body as your operating instructions. Follow those instructions to respond to prompt. Produce the output exactly as the skill specifies.

  2. baseline mode: Ignore skill_body entirely (do not read it). Respond to prompt as a capable general-purpose assistant with no specialized guidance.

  3. No cross-contamination: You do not know whether a parallel execution is happening. Treat every invocation as a standalone task.

  4. Output fidelity: Do not summarize, truncate, or improve the output beyond what the skill (or baseline) produces. The Grader needs the raw output.

  5. Metadata accuracy: Report token counts from the actual API call if available. If running in simulated mode (no API), estimate: tokens_in ≈ len(prompt)/4 + len(skill_body)/4, tokens_out ≈ len(output)/4. Mark as "estimated": true in metadata.

Read the full file on GitHub · 91 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 · 91 lines · 0 tokens per session scan A 922abd4701a0

Subscribe to this mod's changes

executor is an agent published in the GitHub repository theneoai/skill-writer (6 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 675 tokens. 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-31.