ccc-rollback

ccc-rollback is a skill for Claude Code, Codex from KevinZai/commander. It costs 63 tokens per session (1,998 once invoked), scanned A, original, MIT.

A workflow for reverting a deployed change with Git commits, deploying the reverted version, and checking that the system is healthy. A rollback returns software to an earlier known state after a bad release.

In plain words
What is it for?
Use it to select a previous version, create revert commits, redeploy, and verify the result.
Why use it?
It provides a defined response when a production deployment causes problems while preserving the project's history.

Skill for Claude CodeCodex

Written for Claude Code and Codex: allowed-tools in frontmatter, but also agents/openai.yaml present. Also seen: names the AskUserQuestion tool; mentions Codex; $skill-name invocation.

Good fit Use it to select a previous version, create revert commits, redeploy, and verify the result.

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

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 ccc-rollback

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/kevinzai/commander/ccc-rollback"><img src="https://agentmods.dev/badge/skills/kevinzai/commander/ccc-rollback.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,998 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: 2 findings, 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 Excessive Agency · line 4
    Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.
    Fix: Remove the model/provider override or disclose it prominently and require explicit operator approval before invoking an external coding CLI or billed model.
  • medium Excessive Agency · line 211
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
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.00063 $0.01998
Opus 5.5 $0.00025 $0.00799
Sonnet 5.5 $0.00013 $0.00400
Haiku 4.5 $0.00006 $0.00200

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

Security

Grade A, and why

ccc-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 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.

commander/cowork-plugin-codex/skills/ccc-rollback/SKILL.md · 208 lines

How it starts

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

$ccc-rollback — Revert and redeploy

CC Commander · $ccc-rollback · pick target → revert commits → push → redeploy → verify

When to use / when not to

  • Use when production is bad and the safest fix is a revert commit followed by a fresh deploy. History is preserved; nothing is rewritten.
  • For an instant platform-level rollback with no git change (vercel rollback, fly releases rollback, wrangler rollback), use $ccc-ship rollback instead.
  • In Codex, ask each picker below as a plain-text question with the same options.

What happens

1. Read the current state

Run in one Bash call; a missing ref is not an error:

git rev-parse --abbrev-ref HEAD
git rev-parse --short HEAD
git status --short
git tag --sort=-creatordate | head -10
git log --oneline --decorate -12

Render one line:

Branch: `<branch>` · HEAD: `<short-sha>` · dirty files: `<N>` · latest tag: `<tag-or-none>`

If dirty files are present, ask with AskUserQuestion before any rollback command: "🟢 Stop — I'll commit or stash first" or "Continue with a dirty tree" (the revert may mix with uncommitted work). Do not proceed without an answer.

2. Rollback target picker — AskUserQuestion

Skip this picker when $ARGUMENTS names the target type.

question: "What should I roll back to?"
header: "Rollback"
multiSelect: false
options:
  - label: "🟢 Last good commit"
    description: "You provide or confirm the last known good commit sha."
    preview: "Creates revert commits for everything after that commit, then deploys."
  - label: "Specific tag"
    description: "Pick a release tag from the list shown in step 1."
    preview: "Reverts commits after the tag, pushes, then redeploys through $ccc-deploy."
  - label: "N versions back"
    description: "Choose how many release tags back to restore."
    preview: "Finds the older tag, warns about distance, reverts, then deploys."

3. Resolve and validate the target

Last good commit. Ask for the sha if it was not supplied. Validate:

Read the full file on GitHub · 208 lines

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. 1mo ago Changed · -2 lines 2106fa4f7071
  2. 1mo ago Changed · -1 lines 054e8d430ff8
  3. 1mo ago Changed · -9 lines · +24 tokens per session 9cf9d442d569
  4. 3mo ago First seen · 220 lines · 39 tokens per session scan A 15330832cfbe

Subscribe to this mod's changes

ccc-rollback is a skill published in the GitHub repository KevinZai/commander (6 stars, last pushed today), licensed MIT. It adds 63 tokens to every session and 1,998 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-09-03.

Related

ccc-rollback compared with skills from other repositories

ccc-rollback next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ccc-rollbackKevinZai/commanderSkill6todayMITA63Claude Code, Codex
memstack-development-changelog-generatorcwinvestments/memstackSkill43323d agoMITA63Claude Code
land-and-deployFlorianBruniaux/claude-code-ultimate-guideSkill7.6k3d agoCC-BY-SA-4.0A41Claude Code
release-notes-generatorFlorianBruniaux/claude-code-ultimate-guideSkill7.6k3d agoCC-BY-SA-4.0A59Claude Code
release-notesFlorianBruniaux/claude-code-ultimate-guideSkill7.6k3d agoCC-BY-SA-4.0A13Claude Code
shipFlorianBruniaux/claude-code-ultimate-guideSkill7.6k3d agoCC-BY-SA-4.0A12Claude Code
verify-releaseFlorianBruniaux/claude-code-ultimate-guideSkill7.6k3d agoCC-BY-SA-4.0A19Claude Code