# agent-rollback

> agent-rollback — nainish-rai-agent-rollback. Use this tool when you need to undo and rollback changes made by OpenAI Codex CLI, providing a safety net with Git-like functionality to snapshot, diff, and restore files. It solves problems of accidental edits or unwanted changes, allowing for easy restoration of previous versions. Ideal for use during Codex-assisted coding sessions to ensure a secure and reversible editing process.

Canonical page: https://skillsregistry.net/skills/nainish-rai-agent-rollback  
JSON: https://api.skillsregistry.net/v1/skills/nainish-rai-agent-rollback

## Description

Git-like undo and rollback checkpoints for OpenAI Codex CLI. Snapshot, diff, and restore files before and after Codex edits. MCP server + Codex hooks for an automatic safety net.

## Trust

- **Trust score (0–1):** 0.89
- **Verification tier:** verified
- **Last scanned:** 2026-09-28

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** container
- **Runtime environment:** vm
- **License:** MIT
- **Updated:** 2026-09-28

## Source

- **Source listing:** [GitHub](https://github.com/Nainish-Rai/agent-rollback)

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "nainish-rai-agent-rollback"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/nainish-rai-agent-rollback` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/nainish-rai-agent-rollback/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
