elephant

Restore deleted or lost codebase files from Claude's conversation memory.

Updated Dec 15, 2025
One-click install
npx skills add https://github.com/jhillbht/hackathon-clipper-program --skill elephant
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: elephant
Source: https://github.com/jhillbht/hackathon-clipper-program/tree/main/Library/Mobile Documents/com~apple~CloudDocs/BHT Promo iCloud/Organized AI/Windsurf/google-marketing-hub-mcp/.claude/skills/elephant
Command: npx skills add https://github.com/jhillbht/hackathon-clipper-program --skill elephant

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill remembers and can restore your entire codebase from Claude's conversation memory, helping you recover work when deletion occurs or when Git history is unavailable.

Core Features & Use Cases

  • Full memory-based recovery: reconstruct files and directories shown or created earlier in the conversation.
  • Selective restoration: recover specific files or paths from memory.
  • Memory checkpointing: create snapshots before risky operations.

Quick Start

Elephant, restore the entire codebase to: /path/to/recovery/

Frequently Asked Questions about elephant

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I recover a deleted codebase from conversation memory?

Codebase recovery from memory reconstructs files and directories shown or created earlier in your conversation. Elephant restores your full codebase or selective files by extracting them from Claude's conversation history, Read/Write/Edit tool logs, Bash output, and generated code, then writes them back to your specified recovery path.

Can I restore specific files instead of the entire codebase?

Yes, selective restoration lets you recover specific files or directories from memory rather than the full codebase. Specify the exact paths or file names you need recovered, and Elephant extracts only those items from conversation history and tool outputs.

What situations require memory-based codebase recovery?

Memory-based recovery applies when files are accidentally deleted, destructive commands wipe critical code, Git history is unavailable or corrupted, or you need to checkpoint your current state before risky operations. It preserves work that exists only in conversation context.

How do I create a memory checkpoint before risky operations?

Memory checkpointing captures your current codebase state as a snapshot before executing potentially destructive commands. This snapshot stays in conversation memory and can be fully or selectively restored later if something goes wrong.

Does codebase recovery work if Git history is lost or corrupted?

Yes, memory-based recovery works independently of Git availability. If your Git history is unavailable or corrupted, Elephant reconstructs files from Claude's conversation memory, tool execution logs, and code generated or displayed during your session.

What data sources does Elephant use to restore code?

Elephant restores code from multiple sources: Read/Write/Edit tool histories, Bash command output, user-provided code, generated code within the conversation, and memory checkpoints. It synthesizes these sources to reconstruct the full or partial codebase state.