confirm-revisions

confirm-revisions is a command for coding agents from HubWizard/second-pass. It costs 39 tokens per session (383 once invoked), scanned A, original, MIT.

A command for changing whether revised work receives a second judging pass in the Second Pass review tool. The setting is a true-or-false option stored in a local configuration file.

In plain words
What is it for?
Use it to enable or disable second-pass confirmation while preserving the other review settings in the local Second Pass configuration.
Why use it?
It lets you choose between checking revisions again for more confidence or accepting the first review after a revision to use fewer tokens.

Command

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 commands/hubwizard/second-pass/confirm-revisions
Clone the repo
git clone --depth 1 https://github.com/HubWizard/second-pass

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 confirm-revisions

README.md
[![agentmods](https://agentmods.dev/badge/commands/hubwizard/second-pass/confirm-revisions.svg)](https://agentmods.dev/commands/hubwizard/second-pass/confirm-revisions)
Your own site
<a href="https://agentmods.dev/commands/hubwizard/second-pass/confirm-revisions"><img src="https://agentmods.dev/badge/commands/hubwizard/second-pass/confirm-revisions.svg" alt="Measured on agentmods" height="20"></a>
Per session 39 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 383 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.00039 $0.00383
Opus 5 $0.00019 $0.00192
Sonnet 5 $0.00008 $0.00077
Haiku 4.5 $0.00004 $0.00038

Measured 3d ago against content hash 263cd607f3f1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

confirm-revisions 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 3d 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.

commands/confirm-revisions.md · 34 lines

What it actually says

Set Second Pass confirm-revisions flag

The user wants to set confirm_revisions to: $ARGUMENTS

Perform these steps:

  1. Validate the argument. Must be true or false (case-insensitive). Reject anything else with:

    Invalid value. Usage: /second-pass:confirm-revisions <true|false>
    

    and stop.

  2. Ensure the config directory exists: ~/.claude/second-pass/. Create it if missing.

  3. Read existing config at ~/.claude/second-pass/config.json if it exists. If it does not exist, start from defaults:

    {"passing_grade": "B", "iteration_cap": 3, "confirm_revisions": false}
    
  4. Update confirm_revisions to the parsed boolean. Preserve all other fields unchanged.

  5. Write the updated config back to ~/.claude/second-pass/config.json as valid JSON (pretty-printed, 2-space indent).

  6. Confirm to the user in a single line:

    • If true: Second Pass confirm-revisions set to true. Revisions are re-judged in a loop (more confidence, more tokens).
    • If false: Second Pass confirm-revisions set to false. Revisions ship after one pass (default, cheaper).

Do not ask the user questions. Do not list the rubric. Do not explain what Second Pass is. This is a config change — be terse and done.

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. 3d ago First seen · 34 lines · 39 tokens per session scan A 263cd607f3f1

Subscribe to this mod's changes

confirm-revisions is a command published in the GitHub repository HubWizard/second-pass (2 stars, last pushed 4mo ago), licensed MIT. It adds 39 tokens to every session and 383 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-31.