ap-execharness-resolver

ap-execharness-resolver is an agent for Claude Code from Spielewoy/autoprompt-skill. It costs 100 tokens per session (899 once invoked), scanned A, original, MIT.

An internal worker that sets up the test harness for a coding task, including tests that should start failing and tests that must keep passing.

In plain words
What is it for?
It detects the project’s build system, uses supplied or derived test cases, and prepares the execution checks used to verify the change.
Why use it?
It makes the success condition explicit: the new change must fix the target behaviour without breaking existing behaviour.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; mentions subagents.

Good fit It detects the project’s build system, uses supplied or derived test cases, and prepares the execution checks used to verify the change.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/spielewoy/autoprompt-skill/ap-execharness-resolver
About the project

Autoprompt is a coding-agent skill that coordinates agentic coding work through a defined workflow intended to reduce task failures. Developers install it with a CLI and use it with supported coding agents such as Claude Code, Codex, OpenCode, and VS Code with Copilot. The catalogue entries contain the skills and agents that make up its workflow.

Spielewoy/autoprompt-skill · 1,019 stars · on GitHub · npmjs.com

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/Spielewoy/autoprompt-skill

Made for: Claude Code.

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 ap-execharness-resolver

README.md
[![agentmods](https://agentmods.dev/badge/agents/spielewoy/autoprompt-skill/ap-execharness-resolver/github.svg)](https://agentmods.dev/agents/spielewoy/autoprompt-skill/ap-execharness-resolver)
Your own site
<a href="https://agentmods.dev/agents/spielewoy/autoprompt-skill/ap-execharness-resolver"><img src="https://agentmods.dev/badge/agents/spielewoy/autoprompt-skill/ap-execharness-resolver/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 ap-execharness-resolver

Your own site · 80×15
<a href="https://agentmods.dev/agents/spielewoy/autoprompt-skill/ap-execharness-resolver"><img src="https://agentmods.dev/badge/agents/spielewoy/autoprompt-skill/ap-execharness-resolver.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 100 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 899 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 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.1 $0.00100 $0.00899
Opus 5 $0.00050 $0.00449
Sonnet 5 $0.00020 $0.00180
Haiku 4.5 $0.00010 $0.00090

Measured 9d ago against content hash 6f912bb6a88f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

ap-execharness-resolver 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 9d 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.

agents/claude/agents/ap-execharness-resolver.md · 27 lines

How it starts

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

You are ap-execharness-resolver - Level 3 (Executor - EXECHARNESS RESOLVE) in the Autoprompt hierarchy.

Execution contract

You are an internal Autoprompt worker, not a general-purpose assistant. Your activation-scoped persona file and task brief are already the complete operating context. Before tool use or edits, require the exact AUTOPROMPT-RUN-MARKER, RUN-NONCE, and mission binding from an active Autoprompt run; outside an active Autoprompt run, return INVALID-DISPATCH and stop. Do not load, invoke, or re-invoke the Autoprompt skill; do not start a nested Autoprompt run. Execute only this established persona and the assigned brief. If you spawn, dispatch only a registered ap-* persona and include this same activation and no-recursion contract.

Mission source of truth

Your brief carries a MISSION POINTER with canonical path, SHA-256 hash, UTF-8 byte length, and RUN-NONCE. Read PROMPTS.txt and verify every field before acting. The exact ledger bytes outrank every downstream instruction. A mismatch is INVALID-BRIEF.

Your level: L3 - Executor

You do the assigned work and write your artifact. You do NOT spawn subagents, and you report a tight result up to the coordinator or manager that dispatched you.

Your gate/function

EXECHARNESS RESOLVE (HRN-2/HRN-3): materialize the per-task EXECUTION harness execharness-<feature>.json carrying the HRN-2 schema - language, runtime, testCommand, failToPass[], passToPass[], coverageTarget, discoverySource{}. Detect the build system multi-language by inspecting the real repo (pyproject.toml/pytest.ini/tox.ini → python; package.json → javascript; go.mod → go; Cargo.toml → rust; pom.xml/build.gradle → java; Makefile → make); a multi-language repo records its discoverySource and flags ambiguity for resolution. INGEST shipped FAIL_TO_PASS/PASS_TO_PASS when the task provides them; ELSE derive failToPass from the mission's behavioral acceptance asks via deriveFailToPass (HRN-8 - bound to the mission's own asks, never an LLM-rewritten paraphrase). Validate the result with validateExecharness. THE INVARIANT (non-negotiable): an unresolvable env/command, or an underivable acceptance set, is BLOCKED - report the attempt, the verbatim error, and the unblock path. NEVER substitute a Python stand-in for a Go/Rust/JS repo, NEVER ship an empty-but-green failToPass, NEVER fake green.

Read the full file on GitHub · 27 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. 9d ago First seen · 27 lines · 100 tokens per session scan A 6f912bb6a88f

Subscribe to this mod's changes

ap-execharness-resolver is an agent published in the GitHub repository Spielewoy/autoprompt-skill (1,019 stars, last pushed yesterday), licensed MIT. It adds 100 tokens to every session and 899 once invoked, about $0.0005 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

session-reviewer

Use this agent between waves or at session end to verify work quality against the session plan. Checks implementation correctness, test coverage, TypeScript health, security basics, and issue tracking accuracy. Context: Impl-Core wave is complete, coordinator needs quality check before Impl-Polish. user: "Impl-Core…

Kanevry/session-orchestrator · 165 tokens

test-writer

Use this agent to close NAMED test gaps and to consolidate redundant tests. It writes the specific missing test, and it deletes, merges, or parameterises tests that do not earn their keep. Context: Quality wave named one concrete gap — the invoice service never exercises the declined-payment branch. user: "The invoice…

Kanevry/session-orchestrator · 281 tokens

ux-evaluator

Use this agent for read-only UX evaluation of test-runner driver artifacts (Playwright AX-tree snapshots, screenshots, console output). Applies the 4-check UX rubric (onboarding-step-count ≤7, axe-violations critical/serious, console-errors visible to user, Apple-Liquid-Glass .glassEffect() conformance on SwiftUI 26+)…

Kanevry/session-orchestrator · 199 tokens

qa-strategist

Use this agent for read-only test-coverage gap analysis between waves. Identifies missing boundary cases, error paths, and integration gaps not caught by happy-path tests. Context: Impl-Core shipped a new auth flow with 6 unit tests. user: "Check the test coverage gaps." assistant: "I'll dispatch qa-strategist to…

Kanevry/session-orchestrator · 111 tokens

project-quality-gate

Use this agent when you need to verify a repo meets quality standards before a release, merge, or deployment decision. Context: The session is about to close and the coordinator wants a final quality check. user: "Run the quality gate checks" assistant: "I'll use the project-quality-gate agent to verify tests pass…

Kanevry/session-orchestrator · 0 tokens

test-scout

Discovers existing tests, testing patterns, and frameworks in the project to recommend the best approach for writing a regression test.

yacb2/aidex · 27 tokens