post-rollback-diagnose

post-rollback-diagnose is a skill for Claude Code, Codex from Szotasz/marveen. It costs 40 tokens per session (542 once invoked), scanned A, original, MIT.

An on-demand workflow for finding out why a software update failed after the system automatically returned to its previous working version. It examines update records, repository state, and the failed update’s result.

In plain words
What is it for?
Use it to inspect update logs, recorded failure details, Git history, and local changes, then safely apply a repair when the cause can be fixed.
Why use it?
It lets someone investigate a failed update without disturbing the version that is currently working. It also sets safeguards against force-pushing or discarding local changes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit Use it to inspect update logs, recorded failure details, Git history, and local changes, then safely apply a repair when the cause can be fixed.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/szotasz/marveen/post-rollback-diagnose
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.

Any agent
npx skills add Szotasz/marveen --skill post-rollback-diagnose
Clone the repo
git clone --depth 1 https://github.com/Szotasz/marveen

Made for: Claude Code, Codex.

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 post-rollback-diagnose

README.md
[![agentmods](https://agentmods.dev/badge/skills/szotasz/marveen/post-rollback-diagnose/github.svg)](https://agentmods.dev/skills/szotasz/marveen/post-rollback-diagnose)
Your own site
<a href="https://agentmods.dev/skills/szotasz/marveen/post-rollback-diagnose"><img src="https://agentmods.dev/badge/skills/szotasz/marveen/post-rollback-diagnose/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 post-rollback-diagnose

Your own site · 80×15
<a href="https://agentmods.dev/skills/szotasz/marveen/post-rollback-diagnose"><img src="https://agentmods.dev/badge/skills/szotasz/marveen/post-rollback-diagnose.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 542 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Tool Misuse · line 20
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
How audits are shown
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.00040 $0.00542
Opus 5.5 $0.00016 $0.00217
Sonnet 5.5 $0.00008 $0.00108
Haiku 4.5 $0.00004 $0.00054

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

Security

Grade A, and why

post-rollback-diagnose 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 10d 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.

i18n/en/seed-scheduled-tasks/post-rollback-diagnose/SKILL.md · 27 lines

What it actually says

[Operator-initiated task from the dashboard: diagnosis of a failed update]

The latest update failed, and the system automatically rolled back to the previous, working version. The box is NOW running the old, working version, so there is NO urgency. Work calmly and carefully. The user explicitly requested this diagnosis on the dashboard (Claude credit approved).

Goal: find out WHY the update failed, and if it can be fixed safely, fix it.

If you have a backend/dev sub-agent, delegate the diagnosis and the fix to it, then verify; if you do not, do it yourself.

Diagnosis sources (read these FIRST):

  • {{INSTALL_DIR}}/store/update.log -- the concrete cause of the failure (the latest run is at the end of the file)
  • {{INSTALL_DIR}}/store/update.last-result -- the recorded output (status, phase, message)
  • git status, git log @{u}..HEAD, git log --oneline -10

MANDATORY guardrails (NEVER break them):

  • NEVER git push --force / -f. Force-push is forbidden.
  • NEVER discard local changes. If the working tree is dirty: git stash (NOT git checkout/reset --hard on local work). Keep the stash; do not drop it.
  • The update/rollback itself is the job of the robust update.sh. Do NOT write parallel update or rollback logic; your diagnosis should be about why it failed, and the fix should target the root cause (e.g. package-lock sync, node ABI, build error, diverged history).
  • If you change code for the fix: first run npm run build LOCALLY, then make sure the build is green BEFORE you report anything as done. Do not restart the service on your own in a production environment; the next update/restart will do that anyway.
  • If diverged history is the root cause (the local checkout is ahead of upstream): do NOT force a reset. Write down exactly which local commits there are (git log @{u}..HEAD), and ask for the operator's decision before you rearrange anything.

When you are done (whether you fixed it or only diagnosed it): report the result briefly -- the root cause, what you did (or what you propose), and whether the build is green. The box stayed on the working old version the whole time.

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 10d ago Changed · -13 tokens per session 845a454d4ff0
  2. 3mo ago First seen · 27 lines · 53 tokens per session scan A c7a58a217225

Subscribe to this mod's changes

post-rollback-diagnose is a skill published in the GitHub repository Szotasz/marveen (154 stars, last pushed today), licensed MIT. It adds 40 tokens to every session and 542 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-30.

Related

post-rollback-diagnose compared with skills from other repositories

post-rollback-diagnose next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
post-rollback-diagnoseSzotasz/marveenSkill154todayMITA40Claude Code, Codex
oma-observabilityfirst-fluke/oh-my-agentSkill1.5ktodayMITA31Claude Code
oma-debugfirst-fluke/oh-my-agentSkill1.5ktodayMITA30Claude Code
runtime-diagnosticspioneerdotai/pioneerSkill22todayMITA49Claude Code
log-troubleshootingcomisai/comisSkill52mo agoApache-2.0A89Claude Code, Codex
debuggingdineshdb/pieSkill22mo agoMITA15Claude Code, Codex
verificationdineshdb/pieSkill22mo agoMITA14Claude Code, Codex