07-reaudit

07-reaudit is a command for Claude Code from ViryaZheng/recomby-geo. It costs 70 tokens per session (2,250 once invoked), scanned A, original, MIT.

A monthly comparison command for checking whether content and distribution work changed a site’s search visibility. It compares the previous baseline with the new audit and links changes to recorded actions.

In plain words
What is it for?
Use it after a previous audit and publishing cycle to create a new comparison report, preserve the old baseline, and update the current visibility baseline.
Why use it?
It closes the feedback loop: instead of assuming an action worked, it records movement, affected queries, and confidence in the attribution.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions subagents.

Part of the recomby-geo plugin — 9 skills, 7 commands shipped together

Good fit Use it after a previous audit and publishing cycle to create a new comparison report, preserve the old baseline, and update the current visibility baseline.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/viryazheng/recomby-geo/07-reaudit
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/ViryaZheng/recomby-geo

Made for: Claude Code.

Or install recomby-geo, the plugin that ships this one along with the rest of its 9 skills, 7 commands.

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 07-reaudit

README.md
[![agentmods](https://agentmods.dev/badge/commands/viryazheng/recomby-geo/07-reaudit/github.svg)](https://agentmods.dev/commands/viryazheng/recomby-geo/07-reaudit)
Your own site
<a href="https://agentmods.dev/commands/viryazheng/recomby-geo/07-reaudit"><img src="https://agentmods.dev/badge/commands/viryazheng/recomby-geo/07-reaudit/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 07-reaudit

Your own site · 80×15
<a href="https://agentmods.dev/commands/viryazheng/recomby-geo/07-reaudit"><img src="https://agentmods.dev/badge/commands/viryazheng/recomby-geo/07-reaudit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,250 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.00070 $0.02250
Opus 5 $0.00035 $0.01125
Sonnet 5 $0.00014 $0.00450
Haiku 4.5 $0.00007 $0.00225

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

Security

Grade A, and why

07-reaudit 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 11d 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.

plugins/recomby-geo/commands/07-reaudit.md · 224 lines

How it starts

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

07 · Re-audit & Attribution

Closes the loop. Without this command, the pipeline is open-loop — actions go out, no proof they did anything. With this command, every action gets graded: did it move queries, which queries, by how much, with what confidence.


Inputs

  • clients/<slug>/visibility_baseline.json (current — about to be replaced)
  • clients/<slug>/baselines/round-<N-1>.json (previous round)
  • clients/<slug>/distribution/log.jsonl (every action since previous round)

Output

  • clients/<slug>/reaudit/round-<N>.json — validates against schemas/attribution_diff.schema.json.
  • clients/<slug>/reaudit/round-<N>.report.md — human-readable monthly review.
  • (side effect) clients/<slug>/baselines/round-<N>.json — new baseline preserved.
  • (side effect) Updates clients/<slug>/visibility_baseline.json to the new round.

Procedure

Step 1 — Snapshot previous baseline

Before re-running audit, copy current visibility_baseline.json to baselines/round-<N-1>.json if not already there. Idempotent.

Step 2 — Invoke 02-audit

Call 02-audit with meta.audit_round = N. Use the SAME target_queries list as the previous round (do not silently drop or add queries — that breaks the diff). If brand_context.target_queries has changed, log the delta but keep the audit on the union for one round; signal to user that next round will adopt the new list.

After 02-audit completes, the new baseline is at clients/<slug>/visibility_baseline.json.

Step 3 — Load both rounds + the action log

PREV=clients/<slug>/baselines/round-<N-1>.json
CURR=clients/<slug>/visibility_baseline.json
LOG=clients/<slug>/distribution/log.jsonl

Filter log entries to those with shipped_at between PREV.captured_at and CURR.captured_at. These are the actions in this round's window.

Step 4 — Per-query diff

For each query in PREV.summary.per_query:

  • Look up matching query in CURR.summary.per_query (by query_id, fall back to query string). Keep the query text byte-identical across roundsquery_id is derived from the query string (02-audit Step 1), so any edit (even punctuation) mints a new id and silently drops the query from the diff. To revise a tracked query, retire the old one and add the new under a fresh id rather than editing in place.
  • Compute delta: mention_rate_delta, position_delta.
  • Determine verdict_change:
    • improved — mention_rate up by ≥10pp OR position improved by ≥1.
    • regressed — mention_rate down by ≥10pp OR position worse by ≥1.
    • newly-won — was 0 mention_rate, now > 0.3.
    • newly-lost — was > 0.3 mention_rate, now 0.
    • stable — within ±10pp and ±1 position.

Read the full file on GitHub · 224 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. 11d ago First seen · 224 lines · 70 tokens per session scan A c346876766ff

Subscribe to this mod's changes

07-reaudit is a command published in the GitHub repository ViryaZheng/recomby-geo (454 stars, last pushed 2mo ago), licensed MIT. It adds 70 tokens to every session and 2,250 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.