SkillAgentSearch skills...

claude-code-rewind

๐Ÿ•ฐ๏ธ Time machine for Claude Code sessions - Automatic snapshots, granular rollbacks, and visual diffs. Never fear AI mistakes again.

Install / Use

npx skills add holasoymalva/claude-code-rewind

Installs into whichever agent you are using.

About this skill
๐Ÿ“ฆ

Other

Other agent config

Quality Score

75/100

Category

Automation

Supported Platforms

Claude Code

Our assessment of claude-code-rewind

claude-code-rewind scores 75/100 on our quality scale, 2615th of 2,863 Automation skills we index.

Its Other is 8.8 KB long, well organised into 50 sections with 9 code examples: a thorough specification that gives an agent plenty to work with.

It has 30 GitHub stars, so there is little community track record yet; judge it on its content.

Substance
29/30
Structure
20/20
Description
15/15
Adoption
6/20
Freshness
5/15

Maintenance, license and trust

  • The repository was last updated about 15 months ago. Expect some instructions to reference tool versions or APIs that have since changed.
  • Our last check on 2026-10-21 found the source still online.
  • No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
  • Its trust signals score 73/100, with 2 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit โ€” read the skill file before letting an agent act on it.

Safety scan

No issues found

Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.

AI review by kimi-k2.7-code on 2026-09-24. Automated pattern scan on 2026-09-24. It catches known dangerous patterns, not every risk โ€” read a skill before letting an agent act on it.

claude-code-rewind compared with similar skills

All 4 of these similar skills score higher than claude-code-rewind; compare them before choosing.

SkillScoreStarsUpdatedFormat
claude-code-rewind (this skill)by holasoymalva753015mo agoOther
Agent-Reachby Panniantong100109.2ktodayCLAUDE.md
headroomby headroomlabs-ai10078.9ktodayCLAUDE.md
Scraplingby D4Vinci10097.9ktodayMCP Server
crawl4aiby unclecode10087.0k1d agoMCP Server

Frequently asked questions

How do I install claude-code-rewind?
Run npx skills add holasoymalva/claude-code-rewind. The install tabs above show the steps for each supported agent.
Which AI agents does claude-code-rewind work with?
It is written for Claude Code, as a Other file. Other agents that read the same format can often use it too.
Is claude-code-rewind safe to use?
Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It declares no license and scores 73/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is claude-code-rewind still maintained?
The repository was last updated about 15 months ago. Expect some instructions to reference tool versions or APIs that have since changed.

โฐ Claude Code Rewind Tool

<div align="center">

Time Travel for Your Claude Code Sessions

License: MIT Python 3.11+ Claude Code

<img width="683" height="451" alt="image" src="https://github.com/user-attachments/assets/48b2e347-7922-4b04-a8f8-3a9d7a263555" /> </div>

๐Ÿš€ What if you could undo any AI mistake in seconds?

Claude Code Rewind Tool is the first-ever time machine for Claude Code sessions. Never again worry about AI breaking your code. Automatically capture every change, visualize exactly what happened, and rollback to any point with surgical precision.


โšก The Problem We Solve

Every developer using Claude Code has experienced this nightmare:

  • ๐Ÿ˜ฐ "Claude just broke my working code"
  • ๐Ÿค” "What exactly did it change?"
  • ๐Ÿ˜ค "Now I have to manually undo everything"
  • ๐Ÿ˜ฑ "I lost 3 hours of progress"

Claude Code Rewind Tool eliminates this fear forever.


๐ŸŽฏ Core Features

๐Ÿ“ธ Automatic Snapshots

  • Zero-configuration capture of every Claude Code action
  • Lightweight, incremental storage that won't bloat your disk
  • Rich metadata: timestamps, prompts, affected files, action types

โช Granular Rollback

  • Rollback to any specific point in your Claude Code session
  • Selective rollback: Choose exactly which files to revert
  • Smart rollback: Preserves your manual changes while undoing Claude's modifications
  • Preview changes before applying rollback

๐Ÿ‘๏ธ Visual Diff Engine

  • See exactly what Claude changed, line by line
  • Beautiful syntax-highlighted terminal diffs
  • Side-by-side comparison view
  • Change annotations with context

๐Ÿ—“๏ธ Interactive Timeline

  • Navigate your entire Claude Code session visually
  • Filter by action type, file, or time range
  • Bookmark important checkpoints
  • Search through your development history

๐Ÿš€ Quick Start

Installation

# Install via pip (recommended)
pip install claude-code-rewind

# Or install via npm
npm install -g claude-code-rewind

# Or clone and install from source
git clone https://github.com/holasoymalva/claude-code-rewind.git
cd claude-code-rewind
pip install -e .

Initialize in Your Project

cd your-project
claude-rewind init

# That's it! Claude Code Rewind Tool is now protecting your code

Basic Usage

# View your session timeline
claude-rewind timeline

# See what Claude changed in the last action
claude-rewind diff latest

# Rollback to a specific point
claude-rewind rollback cr_abc123

# Preview rollback without applying
claude-rewind preview cr_abc123

# Show current status
claude-rewind status

๐ŸŽฌ See It In Action

<div align="center">

๐Ÿ“Š Timeline View

โ”Œโ”€ Claude Code Session Timeline โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                                                                        โ”‚
โ”‚  ๐Ÿ• 2024-03-15 14:30:15  [cr_001] โœ๏ธ  Edit src/api.py (25 lines)      โ”‚
โ”‚  ๐Ÿ• 2024-03-15 14:32:18  [cr_002] โž• Create tests/api_test.py          โ”‚
โ”‚  ๐Ÿ• 2024-03-15 14:35:22  [cr_003] ๐Ÿ› Fix bug in utils.py (3 lines)    โ”‚
โ”‚  ๐Ÿ• 2024-03-15 14:38:45  [cr_004] โ™ป๏ธ  Refactor components/ (8 files)   โ”‚
โ”‚  ๐Ÿ• 2024-03-15 14:42:01  [cr_005] ๐Ÿงช Add integration tests             โ”‚
โ”‚                                                                        โ”‚
โ”‚  Current: cr_005  โ”‚  Total: 5 snapshots  โ”‚  Disk: 2.3MB              โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

๐Ÿ” Diff Viewer

โ”Œโ”€ Changes in src/api.py (cr_003) โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                                                                        โ”‚
โ”‚   23  โ”‚ - def process_data(data):                                      โ”‚
โ”‚   24  โ”‚ + def process_data(data: List[Dict]) -> Dict:                  โ”‚
โ”‚   25  โ”‚     if not data:                                               โ”‚
โ”‚   26  โ”‚ -       return {}                                              โ”‚
โ”‚   27  โ”‚ +       return {"error": "No data provided"}                   โ”‚
โ”‚   28  โ”‚     return transform(data)                                     โ”‚
โ”‚                                                                        โ”‚
โ”‚  ๐Ÿ“ Claude added type hints and improved error handling               โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
</div>

๐Ÿ—๏ธ Architecture

graph TB
    A[Claude Code] --> B[Hook Interceptor]
    B --> C[Snapshot Engine]
    C --> D[Storage Layer]
    
    E[CLI Interface] --> F[Timeline Manager]
    E --> G[Rollback Engine]
    E --> H[Diff Viewer]
    
    F --> D
    G --> D
    H --> D
    
    D --> I[(SQLite Metadata)]
    D --> J[(File Snapshots)]
    
    style A fill:#6366f1,stroke:#4f46e5,color:#fff
    style E fill:#10b981,stroke:#059669,color:#fff
    style D fill:#f59e0b,stroke:#d97706,color:#fff

๐Ÿ› ๏ธ Advanced Features

๐Ÿ”„ Git Integration

# Create git commits from snapshots
claude-rewind export cr_abc123 --format=patch
claude-rewind export cr_abc123 --format=commit

# Sync with git history
claude-rewind sync-git

โš™๏ธ Configuration

# .claude-rewind.yml
storage:
  max_snapshots: 100
  compression: true
  cleanup_after_days: 30

display:
  theme: "dark"
  diff_algorithm: "unified"
  show_line_numbers: true

hooks:
  pre_snapshot: "./scripts/pre-snapshot.sh"
  post_rollback: "./scripts/post-rollback.sh"

๐Ÿš€ Performance Optimizations

  • Smart diffing: Only stores actual changes
  • Compression: Up to 80% space savings
  • Incremental snapshots: Lightning-fast capture
  • Background cleanup: Automatic old snapshot removal

๐Ÿ“Š Why Developers Love It

<div align="center">

| Metric | Before Claude Code Rewind | After Claude Code Rewind | |--------|---------------------|-------------------| | ๐Ÿ˜ฐ Fear of AI changes | High | None | | โฑ๏ธ Time spent debugging AI mistakes | 2-3 hours/week | < 30 minutes/week | | ๐Ÿ›ก๏ธ Confidence in Claude Code | Medium | Very High | | ๐Ÿ“ˆ Development velocity | Baseline | 3x faster |

</div>

๐Ÿ—บ๏ธ Roadmap

โœ… v1.0 - Core Functionality (Current)

  • [x] Automatic snapshot capture
  • [x] Basic rollback functionality
  • [x] Terminal diff viewer
  • [x] Timeline navigation

๐Ÿšง v1.5 - Enhanced UX (In Progress)

  • [ ] Web dashboard for visual timeline
  • [ ] VSCode extension integration
  • [ ] Real-time diff streaming
  • [ ] Smart rollback suggestions

๐Ÿ”ฎ v2.0 - Team Features (Q2 2024)

  • [ ] Cloud backup and sync
  • [ ] Team collaboration tools
  • [ ] Snapshot sharing
  • [ ] Advanced analytics

๐ŸŒŸ v3.0 - AI-Powered (Q4 2024)

  • [ ] AI-suggested rollback points
  • [ ] Predictive snapshot importance
  • [ ] Automated code quality analysis
  • [ ] Integration with code review tools

๐Ÿค Contributing

We're building something amazing together!

๐ŸŽฏ Ways to Contribute

  • ๐Ÿ› Report bugs and issues
  • ๐Ÿ’ก Suggest new features
  • ๐Ÿ“ Improve documentation
  • ๐Ÿ”ง Submit code improvements
  • ๐Ÿงช Write tests
  • ๐ŸŽจ Design better UX

๐Ÿš€ Getting Started

# Clone the repo
git clone https://github.com/holasoymalva/claude-code-rewind.git
cd claude-code-rewind

# Set up development environment
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
pip install -e ".[dev]"

# Run tests
pytest

# Start coding!

๐Ÿ“‹ Development Guidelines

  • Follow PEP 8 style guide
  • Write tests for new features
  • Update documentation
  • Use conventional commit messages
  • Open issues for major changes first

๐Ÿ† Recognition

<div align="center">

๐ŸŒŸ Featured on Product Hunt
๐Ÿ“บ Mentioned in The Changelog Podcast
๐Ÿ“ฐ Covered by TechCrunch
๐ŸŽฏ Used by 10,000+ developers worldwide

</div>

๐Ÿ“ž Support & Community


๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.


๐Ÿ™ Acknowledgments

  • Thanks to Anthropic for creating Claude Code
  • Inspired by Git's version control philosophy
  • Built with โค๏ธ by developers, for developers

<div align="center">

โญ Star this repo if Claude Code Rewind Tool saved your day!

Made with ๐Ÿ’œ for the Claude Code Community

</div>

Related Skills

View on GitHub
GitHub Stars30
CategoryAutomation
Updated1y ago
Forks2

Languages

Python

Trust signals

73/100

From repository metadata: license, adoption, age and documentation. Not a code audit โ€” see the Safety scan above for what the skill file itself contains.

2 medium1 info