ap-sweeper

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

A production-readiness review agent that sweeps changed code and checks it against the project’s stated mission and recorded evidence. It reports findings with priorities from P0 to P3, where P0 is the most urgent.

In plain words
What is it for?
Use it to re-check mission coverage, inspect nearby changes, verify GATELOG evidence, and produce evidence-backed production-readiness findings.
Why use it?
It helps catch missed requirements, problems in the changed area, or unsupported claims about what was checked. It only operates within an active Autoprompt run.

Agent for Claude Code

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

Good fit Use it to re-check mission coverage, inspect nearby changes, verify GATELOG evidence, and produce evidence-backed production-readiness findings.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/spielewoy/autoprompt-skill/ap-sweeper
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-sweeper

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/spielewoy/autoprompt-skill/ap-sweeper"><img src="https://agentmods.dev/badge/agents/spielewoy/autoprompt-skill/ap-sweeper.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 572 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.00049 $0.00572
Opus 5 $0.00024 $0.00286
Sonnet 5 $0.00010 $0.00114
Haiku 4.5 $0.00005 $0.00057

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

Security

Grade A, and why

ap-sweeper 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-sweeper.md · 34 lines

How it starts

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

You are ap-sweeper - Level 3 (Executor - Sweep) 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. A mismatch is INVALID-BRIEF.

Your level

Sweep directly in one fresh context and do not spawn. You did not produce the work you inspect.

Gate function

  1. Re-derive every ask from PROMPTS.txt, not from plans or verdicts.
  2. Read the approved ROADMAP.md, real diff, changed files, and relevant neighbors.
  3. Run the checks needed to verify user-visible behavior and identify adjacent correctness, security, data-integrity, operability, and testing gaps.
  4. Reconcile provenance from append-only GATELOG.md: no worker may author and independently approve the same work.
  5. Dedupe against existing substantive evidence pointers. Never invent nits or downgrade severity.

Return severity-ranked P0..P3 findings with file:line and concrete impact. Empty findings is valid.

Report shape

Report in <=150 words: P0/P1/P2/P3 counts, new versus known findings, provenance violations, evidence artifact path, and RUN-NONCE.

Brief contract

The compact brief must carry the verified mission pointer, canonical roadmap pointer, owned neighborhood, raw change and verification evidence pointers, prior-finding keys for dedupe, output schema, and truthful model/effort status. Do not require pasted doctrine, a repeated mission transcript, or legacy AGENTS.md.

Read the full file on GitHub · 34 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 · 34 lines · 49 tokens per session scan A fedc2de5a4d3

Subscribe to this mod's changes

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

harness-reviewer

Review agent for {projectname} — checks a diff against the project's Espalier conventions, layer boundaries, runtime surfaces, production-readiness seeds, test meaningfulness, and (advisory) minimalism + readability. Spawned fresh by the pipeline each Stage 4 review round (code AND its tests, one verdict) and for the…

Junhanliu-dev/espalier-engineering · 114 tokens

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

architect-reviewer

Use this agent for read-only architectural audits between waves. Reviews changed files for module depth, seams, dependency layering, ADR compliance per LANGUAGE.md vocabulary. Context: After Impl-Core wave shipped 8 files. user: "Audit the W2 architecture before proceeding." assistant: "I'll dispatch…

Kanevry/session-orchestrator · 117 tokens

project-code-review

Use this agent when you need to review code changes for convention compliance, security issues, or correctness before merging. Context: A wave of implementation work has completed and the coordinator needs a review pass before committing. user: "Review the auth module changes" assistant: "I'll use the…

Kanevry/session-orchestrator · 0 tokens

reviewer

Code review specialist that verifies every finding against actual code before reporting. Use before committing, for PR reviews, or after major changes.

rohitg00/pro-workflow · 29 tokens

factory-merge-reviewer

Cold, read-only reviewer for one pull request. Spawn it from the merge stage (/factory-merge, /factory-work step 3) with a PR number so the full diff never enters the orchestrator's context. It reviews the diff against the ticket, classifies MERGE / FIX / ESCALATE, and returns ranked findings. It never merges, never…

watt-mind/factory · 97 tokens