recovery-monitor

recovery-monitor is a command for Claude Code from maxschottke-spec/seo-survival-kit. It costs 15 tokens per session (5,188 once invoked), scanned A, original, MIT.

A weekly SEO recovery tracker. SEO means improving a website's visibility in search results; this command records visibility and keyword data over time.

In plain words
What is it for?
It helps monitor recovery, calculate a 0–100 score, report changes, and track how earlier SEO changes may have affected results without editing the live shop.
Why use it?
It creates a history even when some data sources are unavailable, so changes in search performance can still be compared from week to week.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node scripts/recovery-monitor.js --domain <domain> --cache-dir <path>.

Part of the seo-rescue plugin — 18 skills, 6 commands shipped together

Good fit It helps monitor recovery, calculate a 0–100 score, report changes, and track how earlier SEO changes may have affected results without editing the live shop.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/maxschottke-spec/seo-survival-kit
agentmods
npx agentmods add commands/maxschottke-spec/seo-survival-kit/recovery-monitor

Made for: Claude Code.

Or install seo-rescue, the plugin that ships this one along with the rest of its 18 skills, 6 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 recovery-monitor

README.md
[![agentmods](https://agentmods.dev/badge/commands/maxschottke-spec/seo-survival-kit/recovery-monitor/github.svg)](https://agentmods.dev/commands/maxschottke-spec/seo-survival-kit/recovery-monitor)
Your own site
<a href="https://agentmods.dev/commands/maxschottke-spec/seo-survival-kit/recovery-monitor"><img src="https://agentmods.dev/badge/commands/maxschottke-spec/seo-survival-kit/recovery-monitor/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 recovery-monitor

Your own site · 80×15
<a href="https://agentmods.dev/commands/maxschottke-spec/seo-survival-kit/recovery-monitor"><img src="https://agentmods.dev/badge/commands/maxschottke-spec/seo-survival-kit/recovery-monitor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,188 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.00015 $0.05188
Opus 5 $0.00008 $0.02594
Sonnet 5 $0.00003 $0.01038
Haiku 4.5 $0.00002 $0.00519

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

Security

Grade A, and why

recovery-monitor 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 12d 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/seo-rescue/commands/recovery-monitor.md · 370 lines

How it starts

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

Recovery Monitor

Zweck

Woechentliches Recovery-Tracking. Holt aktuelle VI + Keyword-Daten, berechnet Recovery-Score, appendet an die History-Datei. Laeuft auch bei fehlenden Datenquellen durch und schreibt einen Partial-Eintrag — der Zeitstempel allein ist wertvoll fuer die Zeitreihe.

Change Governance

Mode: read_only. Change Budget: 0. Keine Live-Shop-Writes. Schreibt nur History-Artefakte (history.ndjson, append-only, via lib/safe.js).

Wenn change-history.ndjson existiert, wird sie fuer die Change-History-Integration gelesen und im Eintrag referenziert (siehe ## Change History Integration). Jede Score-Bewegung traegt Quelle und Confidence.

Settlement Gate Awareness

Dieses Command ist read-only gegenueber dem Live-Shop (audit_only, Change Budget 0, schreibt nur Cache-Artefakte) — ein aktiver Settlement Gate (references/SEO_SETTLEMENT_GATE.md) blockiert es NIE. Es muss den Gate-State aber kennen und ausweisen:

  1. Lies ~/.cache/seo-rescue/{slug}/recovery-gate.json, falls vorhanden. Writer dieser Datei ist recovery-audit (siehe commands/recovery-audit.md, Schritt 7: Settlement-Gate-Detection) — recovery-monitor liest sie nur. Fehlt die Datei, gilt der Gate als never_triggered: keine Warnung, normaler Ablauf.
  2. Falls settlement_gate_active = true:
    • Monitoring laeuft normal weiter — read-only Tracking ist waehrend eines aktiven Gates immer erlaubt und ausdruecklich erwuenscht (der Gate braucht Re-Evaluation-Daten).

    • In den History-Eintrag (Top-Level) das Feld settlement_gate_status aufnehmen, gespiegelt aus der Gate-Datei:

      "settlement_gate_status": {
        "active": true,
        "next_allowed_review_date": "2026-06-06",
        "unlock_status": "blocked"
      }
      

      (unlock_status: blocked | partial | open, direkt aus der Gate-Datei uebernommen.)

    • In der User-Ausgabe (Delta-Report) eine Zeile ausgeben: Settlement Gate: AKTIV bis {next_allowed_review_date} — read-only Monitoring erlaubt, Live-Aenderungen blockiert

    • Jeder Empfehlungstext darf KEINE sofortigen Live-Aenderungen vorschlagen. Naechste Schritte als "jetzt vorbereiten/Drafts erstellen, Ausfuehrung nach Gate-Re-Evaluation" formulieren (prepare_now_execute_later-Prinzip aus SEO_SETTLEMENT_GATE.md).

    • Score-Bewegung waehrend aktivem Gate: Wenn der Recovery Score stark gefallen ist (Drop > 15 Punkte gegenueber dem letzten History-Eintrag), KEINE korrigierende Live-Aktion empfehlen. Stattdessen empfehlen, die Beobachtung in die Gate-Re-Evaluation am next_allowed_review_date mitzunehmen — der Gate existiert genau dafuer, dass frisches Post-Batch-Rauschen nicht sofort beantwortet wird. Das gilt auch fuer Rollback-Empfehlungen aus der Change-History-Integration: Anomalies werden geflagged und fuer die Re-Evaluation dokumentiert; ob daraus ein Emergency-Rollback per SEO_SETTLEMENT_GATE.md section 7 wird, entscheidet der Operator.

  3. Falls Gate-Datei fehlt oder settlement_gate_active = false: settlement_gate_status: { "active": false } in den History-Eintrag schreiben. Keine User-Ausgabe-Zeile noetig.

Read the full file on GitHub · 370 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. 12d ago First seen · 370 lines · 15 tokens per session scan A 0259e656ba57

Subscribe to this mod's changes

recovery-monitor is a command published in the GitHub repository maxschottke-spec/seo-survival-kit (9 stars, last pushed 1mo ago), licensed MIT. It adds 15 tokens to every session and 5,188 once invoked, about $0.0001 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.