SuperMarioYL

Counterstep — Development skill for Claude Code

Development community

A rehearsed undo ledger for developers running coding agents with write access.

How to install Counterstep

This entry records only its repository, not the path inside it, so there is no exact command to give. Open SuperMarioYL/counterstep and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Counterstep does

A rehearsed undo ledger for developers running coding agents with write access.

Alternatives in Development

  • Example Plugin — Reference implementation for plugin developers 14k ★
  • Memory Gc — Inspect or rotate the autopilot ledger JSONL files (findings.jsonl, negatives.jsonl) 3.8k ★
  • Agent Of Empires — Manage multiple Claude Code, OpenCode agents from either TUI or Web for easy access on mobile 3.1k ★

README

**English** | [简体中文](./README.zh-CN.md)

Counterstep

**A rehearsed undo ledger for developers running coding agents with write access.**

Deny until armed. Allow only when the undo is proven.

CI npm node license works with Claude Code



*"My coding agent pushed a commit deleting every file on main" should never be a point of no return. Counterstep arms a rehearsal-verified undo **before** every destructive agent action, and gives you a one-key ledger to fire it when the action turns out wrong.*

**Free and open source. No paid tier, no paywalled features.**

How it works

Counterstep hooks into the tool-call path of your coding agent. When the agent attempts something destructive — deleting files, overwriting an existing file, force-pushing — the call is held until an undo for it exists and has been proven:


  Fingerprint

The affected state is hashed before anything runs: recursive content of the filesystem scope, or the remote ref's current target read from the re