Restory — AI skill for Claude Code
Records, blocks, and restores what your AI coding agent does.
How to install Restory
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open DarkAxiom93/Restory and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Restory does
Records, blocks, and restores what your AI coding agent does. Local-only.
Alternatives in AI
- Business Model — Generate Business Model Canvas with all 9 building blocks 7.8k ★
- Tma1 — Local-first observability your agent reads back 116 ★
- Ex Ussr Kinship Research — Evidence-first genealogy skill for AI agents (Codex, Claude Code): church books, civil, military, deportation 69 ★
README
🐕🦺 restory
The seatbelt for AI coding agents.
[](https://github.com/DarkAxiom93/Restory/actions/workflows/ci.yml) [](https://www.python.org/downloads/)
**restory adds best-effort guardrails to your AI coding agent: it flags or blocks dangerous commands before they run (each with a severity — WARN / BLOCK / CRITICAL), records intercepted tool calls to a local timeline, and rolls back Git-visible workspace changes to the session baseline. Local-only. Claude Code · Gemini CLI (experimental) · Cursor (experimental).**
 *Claude Code edits normally while restory records the session, blocks high-risk commands, and rolls the workspace back to the session baseline.*
pip install restory && restory init # then run your agent as usual
restory open # watch the live blast-radius timeline
Why this exists
AI coding agents (Claude Code, Cursor, Copilot) run as *you* — with your files, your keys, your shell. A single hallucination or a poisoned file in a repo can `rm -rf` your home dir or POST your `.env` to a pastebin. Allowlists don't catch it ([CVE-2026-22708](https://www.docker.com/blog/coding-agent-horror-stories-the-command-you-already-approved/)), and a container is too heavy for the inner loop.
**restory** sits between the agent and your machine: it inspects the *effect* of each command before it runs, records the tool calls it intercepts, and restores your Git-visible workspace changes with one keystroke.
What it does
- 🛑 Flags or blocks dangerous effects — secret-file reads via shell commands, network exfiltration, mass deletes, git-history nukes, writes outside the repo, symlinks (
ln -s) to secrets/system paths/outside the repo, permission changes (chmod/chown) that are world-writable, repo-wide, secre
Related Skills
Lmsk
Masks API keys, passwords, .env values and emails before Claude Code or pi sends them to the LLM, and restores
AI Usage Inspector
Records every AI coding-agent prompt — tokens, model, context %, and cost — from Claude Code, Codex, Cursor, O
Shield
Local guardrails for AI coding agents. Wraps any MCP server and blocks destructive tool calls — DROP TABLE, rm
Aigate
AI Prompt Secret Scanner: local proxy and Claude Code hook that blocks secrets before they reach AI APIs
Stroq
Local action firewall for AI coding agents: scans what the agent reads, taints the session, blocks dangerous f
Usewarden
Free, local guardrail for AI coding agents — Claude Code, Cursor, Gemini CLI and more. Blocks out-of-scope wri
Related Agents
Branch Janitor
Post-merge cleanup agent — after the human confirms a PR/branch merge, removes stale agent worktrees, deletes
Asset Curator
Resolves named AI and tool identities to exact user-supplied, original-owner, pinned Vibe SVGs, or verified Lo
Committee Engineering Architect
Architect, a member of the committee's engineering chapter. Checks that an option follows the repo's concepts