eval-rollback

A command for restoring a skill to an earlier saved version. A skill is a set of instructions that guides an agent through a task.

In plain words
What is it for?
Use it to view a skill's version timeline or restore a selected version. It can also start an evaluation before rolling back when the command is run interactively.
Why use it?
It gives you a way to undo an unwanted change when version history is available. If no target version is supplied, it shows the recorded versions first.

Command

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.

agentmods
npx agentmods add commands/evol-ai/skillcompass/eval-rollback
Clone the repo
git clone --depth 1 https://github.com/Evol-ai/SkillCompass
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 1,151 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.01151
Opus 5 $0.00000 $0.00575
Sonnet 5 $0.00000 $0.00230
Haiku 4.5 $0.00000 $0.00115

Measured 2d ago against content hash 8248920d7faf, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

eval-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 2d 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.

commands/eval-rollback.md · 113 lines

How it starts

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

/eval-rollback — Version Rollback

Locale: All templates in this spec are written in English. Detect the user's language from the session and translate user-facing text at display time per SKILL.md's Global UX Rules. Dimension labels: see the canonical table in SKILL.md.

Arguments

  • <skill-name> (required): Name of the skill to rollback.
  • --to <version> (optional): Target version to restore. If omitted, show version list.

Steps

Step 1: Load Manifest

Use the Read tool to load .skill-compass/{skill-name}/manifest.json.

If not found: output a locale-appropriate message, e.g.:

  • "No version history for '{skill-name}'. Run /eval-skill first to begin tracking."

Then present a choice (skip if --internal or --ci):

[Evaluate this skill now / Cancel]

If the user chooses Evaluate this skill now, invoke /eval-skill <skill-name> and stop. If Cancel, stop.

Step 2: Display Version Timeline

Show all tracked versions:

Version History: sql-optimizer
| # | Version      | Score | Verdict | Trigger      | Dimension | Date       |
|---|--------------|-------|---------|--------------|-----------|------------|
| 1 | 1.0.0        |    38 | FAIL    | initial      | —         | 2026-01-15 |
| 2 | 1.0.0-evo.1  |    52 | CAUTION | eval-improve | security  | 2026-01-16 |
| 3 | 1.0.0-evo.2  |    62 | CAUTION | eval-improve | trigger   | 2026-01-17 |
| 4 | 1.0.0-evo.3  |    71 | PASS    | eval-improve | functional| 2026-01-18 | ← current

If --to was specified: proceed to Step 3 with that version. If not: prompt the user to enter the row number (#) from the table above — do not ask them to type the version string. Example prompt:

Enter the row number to rollback to (e.g. 2):

Map the entered number to the corresponding version via the table. Re-prompt on invalid input.

Step 3: Safety Snapshot

Before rollback, snapshot the current version:

  1. Compute content hash of current SKILL.md
  2. If not already in snapshots: save using the Write tool

Read the full file on GitHub · 113 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. 2d ago First seen · 113 lines · 0 tokens per session scan A 8248920d7faf

Subscribe to this mod's changes

eval-rollback is a command published in the GitHub repository Evol-ai/SkillCompass (215 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,151 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.