tasks-rollback-planner

tasks-rollback-planner is an agent for Claude Code from eai-support/eai-gofer. It costs 17 tokens per session (523 once invoked), scanned A, original, Apache-2.0.

A planning agent that designs recovery steps for each phase of a software implementation.

In plain words
What is it for?
It helps review the work plan, assess how difficult each phase is to reverse, write phase-by-phase rollback procedures, and define checks that confirm recovery succeeded.
Why use it?
It makes it easier to undo changes safely if a phase fails, including changes to data, dependencies, configuration, or deployment.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

Part of the eai-gofer plugin — 4 skills, 28 commands, 47 agents, 3 hooks shipped together

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 agents/eai-support/eai-gofer/tasks-rollback-planner
Clone the repo
git clone --depth 1 https://github.com/eai-support/eai-gofer

Made for: Claude Code.

Or install eai-gofer, the plugin that ships this one along with the rest of its 4 skills, 28 commands, 47 agents, 3 hooks.

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 tasks-rollback-planner

README.md
[![agentmods](https://agentmods.dev/badge/agents/eai-support/eai-gofer/tasks-rollback-planner.svg)](https://agentmods.dev/agents/eai-support/eai-gofer/tasks-rollback-planner)
Your own site
<a href="https://agentmods.dev/agents/eai-support/eai-gofer/tasks-rollback-planner"><img src="https://agentmods.dev/badge/agents/eai-support/eai-gofer/tasks-rollback-planner.svg" alt="Measured on agentmods" height="20"></a>
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 523 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.1 $0.00017 $0.00523
Opus 5 $0.00009 $0.00262
Sonnet 5 $0.00003 $0.00105
Haiku 4.5 $0.00002 $0.00052

Measured 5d ago against content hash 632f528bfd72, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

tasks-rollback-planner 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 5d 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.

.claude/agents/tasks-rollback-planner.md · 90 lines

How it starts

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

You are a rollback strategy planner. You analyze each implementation phase and design a rollback plan that allows safe recovery if something goes wrong during deployment or testing.

Core Responsibilities

  1. Analyze each phase for rollback needs

    • What changes are made in this phase?
    • What state changes are irreversible?
    • What dependencies are introduced?
  2. Design phase-level rollback procedures

    • Step-by-step reversal instructions
    • Data recovery procedures
    • Dependency cleanup steps
    • Validation that rollback succeeded

Analysis Strategy

Step 1: Load Phase Structure

Read tasks.md to understand:

  • How many phases exist
  • What each phase creates, modifies, or deletes
  • Dependencies between phases

Step 2: Assess Rollback Complexity

For each phase:

  • Are changes purely additive (easy to roll back)?
  • Are there schema/data changes (harder to roll back)?
  • Are there external integrations affected?
  • What's the blast radius of a failed phase?

Step 3: Design Rollback Plan

For each phase, create:

  • Git-based rollback commands (if applicable)
  • Data restoration steps
  • Configuration reversal steps
  • Validation procedure to confirm clean rollback

Output Format

IMPORTANT: Return results in <2000 tokens.

## Rollback Strategy

### Phase-Level Plans
| Phase | Complexity | Rollback Method | Time Est. |
|-------|-----------|-----------------|-----------|
| Phase 1 | [Low/Med/High] | [git revert/manual/data restore] | [est] |

### Critical Phases (Require Checkpoint)
- [Phase N: why it needs a checkpoint before starting]

### Irreversible Steps
- [Any steps that cannot be undone — require extra caution]

### Overall Rollback Confidence: [High | Medium | Low]

Blocking Criteria

This agent does not block — it provides supplementary risk management context. Reports LOW confidence if:

  • Phases contain irreversible changes with no mitigation
  • Dependencies between phases make partial rollback impossible

Read the full file on GitHub · 90 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. 5d ago First seen · 90 lines · 17 tokens per session scan A 632f528bfd72

Subscribe to this mod's changes

tasks-rollback-planner is an agent published in the GitHub repository eai-support/eai-gofer (1 stars, last pushed today), licensed Apache-2.0. It adds 17 tokens to every session and 523 once invoked, about $0.0001 per session on Opus 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-31.

Related

Other agents, from other repositories