rollback

rollback is a skill for Claude Code, Codex from qwerfunch/cladding. It costs 80 tokens per session (524 once invoked), scanned A, original, MIT.

A rollback command for restoring a feature to its latest recorded checkpoint. It records the rollback and prints a Git command for the maintainer to run.

In plain words
What is it for?
Use it to abandon a failed feature attempt, record why it was abandoned, and find the Git commit to restore. If the project is not a Git repository, it points to manual restoration from version history.
Why use it?
It provides a clear recovery point after a failed implementation without changing the working tree automatically. The maintainer can decide how to handle uncommitted changes or branch state.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to abandon a failed feature attempt, record why it was abandoned, and find the Git commit to restore. If the project is not a Git repository, it points to manual restoration from version history.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/qwerfunch/cladding/rollback
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 qwerfunch/cladding --skill rollback
Clone the repo
git clone --depth 1 https://github.com/qwerfunch/cladding

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 rollback

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/qwerfunch/cladding/rollback"><img src="https://agentmods.dev/badge/skills/qwerfunch/cladding/rollback.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 524 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 medium

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 →

  • medium Agent Snooping · line 39
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
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.00080 $0.00524
Opus 5.5 $0.00032 $0.00210
Sonnet 5.5 $0.00016 $0.00105
Haiku 4.5 $0.00008 $0.00052

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

Security

Grade A, and why

rollback 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 2mo 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/antigravity/skills/rollback/SKILL.md · 40 lines

What it actually says

Cladding rollback

Run clad rollback <featureId> from the project root. The verb is the partner of clad checkpoint (iron-law.md §2.5 Iron Law backbone Phase 1) — it stamps a feature_rolled_back event into .cladding/events.log.jsonl and prints the git checkout <sha> command the maintainer can run. Cladding does not run the checkout itself — the host's branch policy, dirty-working-tree state, or detached-HEAD concerns may demand a non-default strategy, so the decision stays with the maintainer.

  • -r, --reason <reason> — optional free-text reason recorded on the event payload. Useful for post-mortems and the Librarian's archival flow.
clad rollback F-001
clad rollback F-a3f9c2e1 --reason "specialist dispatched a regression on the L1 lint gate"

The output is a single Pulse line plus the restoration command:

✓ rollback · F-a3f9c2e1  target head=<sha12> ts=<iso>
Run: git checkout <sha40>

When the latest checkpoint has no gitHead (the project is not a git repo), the verb prints No git head pinned — restore spec.yaml manually from VCS history. instead.

Exit codes

  • 0 — rollback event stamped, restoration command printed.
  • 1 — no prior checkpoint exists for the feature; nothing to roll back to. Run clad checkpoint <featureId> next time before mutating.
  • 2 — feature id argument missing.

When to use

  • After an attempt that ended with the gate stuck, failing repeatedly, or erroring out.
  • After a manual implementation attempt that introduced a regression you don't want to bisect.
  • Before retrying the same feature so the next attempt starts from a known-good HEAD instead of an in-progress mess.

Pair with

clad checkpoint <featureId> — stamps the safety net rollback restores from. See skills/checkpoint/SKILL.md.

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. 2mo ago Changed df2e07a4daf1
  2. 3mo ago First seen · 40 lines · 80 tokens per session scan A d472dc3a562b

Subscribe to this mod's changes

rollback is a skill published in the GitHub repository qwerfunch/cladding (16 stars, last pushed 2mo ago), licensed MIT. It adds 80 tokens to every session and 524 once invoked, about $0.0003 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

rollback compared with skills from other repositories

rollback next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rollbackqwerfunch/claddingSkill162mo agoMITA80Claude Code, Codex
investigating-repository-historyCodeAlive-AI/ai-driven-developmentSkill1942d agoMITA84Claude Code, Codex
repo-activity-summaryCodeAlive-AI/ai-driven-developmentSkill1942d agoMITA70Claude Code
git-workflowOpendray/opendraySkill725d agoApache-2.0A56Claude Code, Codex
finishing-a-development-branchpeintune/runjamSkill2211mo agoMITA38Claude Code, Codex
worktree-prscarletkc/agentsSkill23227d agoApache-2.0A148Claude Code, Codex
pr-contributionxobotyi/cc-foundrySkill233d agoMITA51Claude Code