Backpaw — AI skill for Claude Code
Undo for AI coding agents.
How to install Backpaw
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Ls1more/backpaw and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Backpaw does
Undo for AI coding agents. Blocks rm -rf and other permanent deletes from Claude Code, Codex, Cursor, Gemini CLI, Copilot, Windsurf, Qwen, Kimi and OpenCode, sends them to the Recycle Bin/Trash, and restores them in one click. Windows + macOS.
Alternatives in AI
- Omniget — Udemy & Hotmart course downloader, YouTube downloader (yt-dlp GUI, 1,800+ sites) + desktop app for AI agents 13.9k ★
- EchoBird — One-click install + model switch:Claude Code,Codex CLI (OpenAI), Grok Build (xAI), DeepSeek Harness, Kimi Code 3.1k ★
- WindsurfAPI — Turn Windsurf / Devin Desktop's 100+ AI models (Claude, GPT, Gemini, DeepSeek, Kimi, GLM, SWE) into OpenAI-, A 3k ★
README

Backpaw
**Get back what your AI coding agent deleted or moved.**
[](https://github.com/Ls1more/backpaw/actions/workflows/test.yml)
**Use at your own risk.** Backpaw reduces the damage from accidental or prompt-injected deletes. It is not a backup and cannot catch every way a program can delete files. Keep real backups (OneDrive, File History, Time Machine). Provided as-is under the [MIT License](LICENSE), with no warranty.

AI agents run shell commands. When one runs `rm -rf`, `Remove-Item` or `mv` on the wrong thing, the agent's own undo (like Claude Code's `/rewind`) can't help: shell side effects are outside checkpoint tracking. Backpaw covers that gap for every major agent:
| Agent | Hook used | Config Backpaw writes |
|---|---|---|
| Claude Code | PreToolUse + SessionStart |
~/.claude/settings.json |
| OpenAI Codex | PreToolUse + SessionStart |
~/.codex/hooks.json |
| Gemini CLI | BeforeTool + SessionStart |
~/.gemini/settings.json |
| Cursor | beforeShellExecution |
~/.cursor/hooks.json |
| GitHub Copilot CLI | preToolUse |
~/.copilot/hooks/backpaw.json |
| Windsurf | pre_run_command |
~/.codeium/windsurf/hooks.json |
| Qwen Code | PreToolUse |
~/.qwen/settings.json |
| Kimi Code CLI | PreToolUse |
~/.kimi-code/config.toml (marked block) |
| OpenCode | tool.execute.before plugin |
~/.config/opencode/plugins/backpaw.js |
Backpaw guards the **agent app**, not the model, so open-weight models (Kimi K2, Qwen3-Coder, DeepSeek, GLM, gpt-oss, local models via Ollama/LM Studio) are covered whenever they
Related Skills
Scrollback
Recall past AI conversations across coding agents — Claude Code, Codex, Devin, OpenCode, Qwen, Gemini, Kimi, F
OmniCopilot
1200+ AI models in your GitHub Copilot Chat — free & forever free. VS Code extension powered by OmniRoute: 340
Sync Instructions
Sync CLAUDE.md instruction files to other AI agents (Gemini, Codex, OpenCode, Kiro, Cursor, Kimi, Vibe, Qwen,
Wechat Acp
Bridge WeChat chat messages to any ACP-compatible AI agent (Claude, Codex, Copilot, Qwen, Gemini, OpenCode and
Agent History Tether
Move, rename, or copy a project folder without losing your AI coding agents' chat history. aht relinks the per
AI Toolkit
Professional-grade AI coding toolkit: 94 skills, 44 agents, multi-platform (Claude, Cursor, Windsurf, Copilot,
Related Agents
Opencode Worker
Forwards one scoped task to a model running in OpenCode (Grok, Kimi, GLM, Qwen, DeepSeek, …) through opencode
10x Tool Calls
Cursor and Windsurf meter usage by requests and tool calls rather than tokens, which means a finished or stall
ChatGPT On Wechat
CowAgent是基于大模型的超级AI助理,能主动思考和任务规划、访问操作系统和外部资源、创造和执行Skills、拥有长期记忆并不断成长,比OpenClaw更轻量和便捷。同时支持微信、飞书、钉钉、企微、QQ、公众号、网页