**ccundo** banner
RonitSachdev RonitSachdev

**ccundo**

Development community intermediate

Description

[](https://badge.fury.io/js/ccundo) [](https://opensource.org/licenses/MIT)

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

ccundo

[](https://badge.fury.io/js/ccundo) [](https://opensource.org/licenses/MIT)

**Intelligent undo for Claude Code sessions** - Revert individual operations with cascading safety and detailed previews.

ccundo seamlessly integrates with Claude Code to provide granular undo and redo functionality. It reads directly from Claude Code's session files to track file operations and allows you to selectively revert or restore changes with full preview and cascading safety.

✨ Features

  • Automatic Detection - Reads directly from Claude Code session files
  • Detailed Previews - See exactly what will be changed before undoing/redoing
  • Cascading Undo/Redo - Maintains project consistency by undoing/redoing dependent operations
  • Complete Redo System - Reverse any undo operation with full cascading support
  • Multi-language - Supports English and Japanese (日本語)
  • Smart Operation Tracking - Tracks file edits, creations, deletions, renames, and bash commands
  • Safe Backups - Creates backups before making changes
  • Zero Configuration - Works out of the box with Claude Code

Installation

npm install -g ccundo

Quick Start

  1. Navigate to a directory where you've used Claude Code
  2. List recent operations:
    ccundo list
  3. Preview what would be undone:
    ccundo preview
  4. Undo operations with confirmation:
    ccundo undo
  5. Redo previously undone operations:
    ccundo redo

Usage

List Operations

View all operations from your current Claude Code session:

ccundo list                    # Show recent operations
ccundo list --all             # Include already undone operations

**Example output:**

Operations from Claude Code session:

1. [ACTIVE] file_edit - 2m ago
   ID: toolu_01XYZ...
   File: /project/src/app.js

2. [ACTIVE] file_create - 5m ago
   ID: toolu_01ABC...
   File: /project/src/utils.js


...