trouties/bashback

Stop your coding agent from rebuilding clobbered files from memory — /rewind for bash, with command-level snapshot and undo. Works with Claude Code, Codex CLI, and Cursor.

2Stars on the repository
9Mods indexed here, across every type
1mo agoLast push, which is what freshness is scored on
AGPL-3.0Licence, which decides whether bodies are shown

PreToolUse

01

trouties/bashback

Hook

Runs before the agent uses a tool for Bash tool calls, running an inline shell check. From trouties/bashback.

2 1mo ago A tokens not measured AGPL-3.0

PostToolUse

02

trouties/bashback

Hook

Runs after a tool call finishes for Bash, TaskOutput, TaskStop, BashOutput and KillShell tool calls, running an inline shell check (2 commands). From trouties/bashback.

2 1mo ago A tokens not measured AGPL-3.0

PostToolUseFailure

03

trouties/bashback

Hook

Runs when a tool call fails for Bash tool calls, running an inline shell check. From trouties/bashback.

2 1mo ago A tokens not measured AGPL-3.0

SessionStart

04

trouties/bashback

Hook

Runs when a session starts, executing bootstrap.sh via sh (2 commands). From trouties/bashback.

2 1mo ago A tokens not measured AGPL-3.0

SessionEnd

05

trouties/bashback

Hook

Runs when a session ends, running an inline shell check. From trouties/bashback.

2 1mo ago A tokens not measured AGPL-3.0