confirm-revisions

confirm-revisions is a command for Claude Code 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 for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: reads .claude/ paths.

Good fit Use it to enable or disable second-pass confirmation while preserving the other review settings in the local Second Pass configuration.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/hubwizard/second-pass/confirm-revisions
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/HubWizard/second-pass

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/hubwizard/second-pass/confirm-revisions/github.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/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 confirm-revisions

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. 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.00039 $0.00383
Opus 5.5 $0.00016 $0.00153
Sonnet 5.5 $0.00008 $0.00077
Haiku 4.5 $0.00004 $0.00038

Measured 1mo ago against content hash 263cd607f3f1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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. 1mo 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 5mo ago), licensed MIT. It adds 39 tokens to every session and 383 once invoked, about $0.0002 per session on Opus 5.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.