rollback.skeleton

rollback.skeleton is a command for Claude Code from varienos/agentic-workflow. It costs 0 tokens per session (2,398 once invoked), scanned A, original, MIT.

A command for restoring earlier agent-created Git checkpoints. Git is a version-control system that records changes so a project can be returned to an earlier state.

In plain words
What is it for?
Use it in a Git project to choose a checkpoint and restore it with either a reset or a reversible Git revert.
Why use it?
It provides a way to undo recent agent changes when they cause problems.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md). Also seen: mentions CLAUDE.md; names the AskUserQuestion tool.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is cd ../Codebase && git rev-parse --git-dir.

Good fit Use it in a Git project to choose a checkpoint and restore it with either a reset or a reversible Git revert.

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/varienos/agentic-workflow
agentmods
npx agentmods add commands/varienos/agentic-workflow/rollback.skeleton

Made for: Claude Code.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/varienos/agentic-workflow/rollback.skeleton"><img src="https://agentmods.dev/badge/commands/varienos/agentic-workflow/rollback.skeleton.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 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,398 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.00000 $0.02398
Opus 5.5 $0.00000 $0.00959
Sonnet 5.5 $0.00000 $0.00480
Haiku 4.5 $0.00000 $0.00240

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

Security

Grade A, and why

rollback.skeleton 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.

Agentbase/templates/core/commands/rollback.skeleton.md · 293 lines

How it starts

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

Rollback — Shadow Git Checkpoint Restore

Restores the agent's recent commits from hidden checkpoints. Lists refs accumulated by the git-checkpoint.js hook under refs/checkpoints/agent/*, then applies the selected one with git reset --hard or git revert. Usage: /rollback




Step 1 — Prerequisite Check

1.1 — Git Repo Validation

cd ../Codebase && git rev-parse --git-dir

If Codebase is NOT a git repo, tell the user and exit:

Read the full file on GitHub · 293 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. 2mo ago Changed · +1 lines a99d18628a7d
  2. 3mo ago First seen · 292 lines · 0 tokens per session scan A ae3b581a28a3

Subscribe to this mod's changes

rollback.skeleton is a command published in the GitHub repository varienos/agentic-workflow (57 stars, last pushed 2mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,398 tokens. 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.skeleton compared with commands from other repositories

rollback.skeleton next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rollback.skeletonvarienos/agentic-workflowCommand572mo agoMITA0Claude Code
githubmodu-ai/moai-adkCommand1.3ktodayApache-2.0A26Claude Code
revdiffumputun/revdiffCommand974yesterdayMITA14Claude Code
al-pr-preparejaviarmesto/ALDC-AL-Development-CollectionCommand1152d agoMITA34Claude Code
pr-managerruvnet/rufloCommand83ktodayMITA0Claude Code
gh-reviewsynaptiai/synapti-marketplaceCommand9todayApache-2.0A0Claude Code
gh-prsynaptiai/synapti-marketplaceCommand9todayApache-2.0A0Claude Code