DarkAxiom93

Restory — AI skill for Claude Code

AI community

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.

[![CI](https://github.com/DarkAxiom93/Restory/actions/workflows/ci.yml/badge.svg)](https://github.com/DarkAxiom93/Restory/actions/workflows/ci.yml) [![Python](https://img.shields.io/badge/python-3.10%20%7C%203.11%20%7C%203.12-blue)](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).**

![restory in action](docs/demo.gif) *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