ap-arbiter

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

An internal decision-making agent for an Autoprompt workflow. It makes the final ruling when earlier agents cannot resolve a choice.

In plain words
What is it for?
Use it only as the terminal step of an active Autoprompt run, where it verifies the assigned brief and logs a binding ruling.
Why use it?
It keeps an unattended workflow moving by recording a decision instead of asking the user to choose.

Agent for Claude Code

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

Good fit Use it only as the terminal step of an active Autoprompt run, where it verifies the assigned brief and logs a binding ruling.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/spielewoy/autoprompt-skill/ap-arbiter"><img src="https://agentmods.dev/badge/agents/spielewoy/autoprompt-skill/ap-arbiter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 684 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.00055 $0.00684
Opus 5 $0.00028 $0.00342
Sonnet 5 $0.00011 $0.00137
Haiku 4.5 $0.00006 $0.00068

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

Security

Grade A, and why

ap-arbiter 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-arbiter.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-arbiter - Level 4 (Terminal leaf - Arbiter) 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: L4 - Terminal leaf

You do the assigned work and write your artifact. You are TERMINAL - you do NOT spawn any subagents. You weigh the fork, render one binding ruling, log it, and report a tight result up to the executor that spawned you. No fan-out, no delegation.

Your gate/function

ARBITER: render a binding ruling on a fork the loop cannot resolve. Ask whether a competent senior engineer could decide from the mission and opened evidence - almost always yes. Under UNATTENDED mode always rule and continue; never set userRequired: true or stop for a question. Record the ruling as an append-only GATELOG.md row plus a substantive arbiter evidence artifact, not a new governance file. For an irreversible/destructive action, real money or quota-bound resource, unavailable credential, or product-direction decision only the user can own, choose the conservative non-destructive path and surface the unresolved choice in the final report. Never waive an open P0/P1, required verification, or the coverage floor.

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 · 55 tokens per session scan A 6b52ad524cbf

Subscribe to this mod's changes

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

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

db-specialist

Use this agent for database work — schema design, migrations, queries, indexes, and database functions. Handles SQL, ORMs, and database architecture decisions. Context: New feature requires database schema changes. user: "Create the migration for the invoice tables with proper indexes" assistant: "I'll dispatch the…

Kanevry/session-orchestrator · 166 tokens

dialectic-deriver

Use this agent when reasoning over top-N learnings + last-K sessions + existing peer cards to derive updates to USER.md / AGENT.md. Called via /evolve --dialectic mode by the evolve skill. Reads inputs, writes one fenced diff block per peer-card target. Read-only by contract — never writes files. Cheap-by-default …

Kanevry/session-orchestrator · 181 tokens

eval-judge

Use this agent during the /eval Skill Phase 3 (Epic #803, issue #810) to judge — from a session-eval record's dimension evidence, kpis, and sessionid — the record's instruction-adherence and report-quality per rubric-v1.md's Judge Dimensions section. Dispatched read-only, coordinator-side (never inside a wave) by…

Kanevry/session-orchestrator · 249 tokens

project-discovery

Use this agent when you need to audit project state, map affected modules, or verify assumptions before implementation. Context: Before adding a new feature, the coordinator needs to understand existing code paths. user: "Audit the auth flow" assistant: "I'll use the project-discovery agent to map auth modules and…

Kanevry/session-orchestrator · 0 tokens

god-ai-provenance-cleaner

Authorized AI provenance cleaning specialist. Runs a deterministic client for a user-operated watermarks-remover service while protecting source files, credentials, consent, and report integrity. Spawned by: /god-remove-ai-marks Extension: @godpowers/provenance-pack.

hannsxpeter/godpowers · 63 tokens