ClaudeCodeMod

All shelves / Mods / Safety

flywheel-mod

By HarperZ9

flywheel-mod is a Claude Code safety mod by HarperZ9.

Holds a risky shell or file-edit call when the Flywheel monitor flags it, shows held and passed counts above the prompt, and writes a receipt for each turn.

DrawsHolds a command

Install

The marketplace name is flywheel-skills.

In Claude Code
/plugin marketplace add HarperZ9/flywheel
/plugin install flywheel-mod@flywheel-skills
/plugin configure flywheel-mod@flywheel-skills
Open the repo

It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.

Version
0.1.0
Repo stars
3
Last change
2026-10-03

What it can reach

  • Draws in the session
  • Holds a command
  • Sees tool calls
  • Calls another program on this machine

A Claude Code build with mods; the author ran it on 2.1.286. The one required setting, monitor_source, is a clone of https://github.com/HarperZ9/flywheel, since released flywheel-verify packages up to 1.2.1 lack the monitor; left empty, every screened call is denied as unchecked. Python 3 on the machine. From a shell: claude plugin install flywheel-mod@flywheel-skills --config monitor_source=/path/to/flywheel. A held call is approved from your terminal with flywheel monitor approve. The author calls it experimental.

The marketplace, flywheel-skills, also holds flywheel-evidence-task, a skill for checking claims against sources. This one installs on its own. Holding a risky call is why this page files it under safety. blast-radius, by Anthropic, holds rm -rf, a force push, or a migration and shows what it would touch. taxi-speedcam, by devbrother2024, stops a risky shell command and asks, shown as a taxi speed camera. This one sends each flagged Bash, PowerShell, Edit, Write, MultiEdit, or NotebookEdit call to the Flywheel pre-action monitor, and a hold denies the call with the reason and a hold id. It never approves a call, so Claude Code's own permission check still runs on the rest. Each turn appends a hash-chained receipt line in .flywheel/mod-receipts/, with digests and no command text.

Demo

The What it does section of the Flywheel mod README: it holds risky calls through the Flywheel pre-action monitor, writes a hash-chained receipt per turn, shows a status line above the prompt with held and passed counts, and never approves a call.
Screenshot of the author's GitHub page.

What it hooks into

  • session.startWhen a session starts
  • tool.callAround a tool call, where it can hold oneBashPowerShellEditWriteMultiEditNotebookEdit
  • turn.completeWhen a turn ends
  • ui.renderDraws into the sessionAbovePrompt

Read from the on() calls in its hook modules. Open its source under Files to check what each one does.

Files

The author's README and source, 4 files. They load when you open them.

Facts

Author
HarperZ9
Category
Safety
Marketplace
flywheel-skills
Repo
HarperZ9/flywheel
Folder
integrations/claude-code-mod
Version
0.1.0
Repo stars
3
Last change
2026-10-03
Language
Python
Files
34

Other mods in Safety

push-gateIvanLutsenkoHolds a commandAsks before every git push the model runs, with the repository, branch, upstream, commit count, and a force-push warning, and runs the confirmed push itself.devtoolsNMenzelHolds a commandHolds a tool call at a breakpoint you set for Continue, Step, or Reject, with a dashboard pane of every call and Error Lens on why a call failed.agentic-flowruvnetHolds a commandRefuses an agentic_flow_agent call whose task matches a destructive or exfiltration pattern or passes an API key, and adds a status-line entry for the guard.agentdbruvnetHolds a commandRefuses a write to AgentDB memory that holds a key, token, password, or private key, and refuses its destructive admin tools unless you turn them on.cc-askpassGoneToneOpens a password pane when a command Claude runs asks for sudo, ssh, or git credentials, so the password goes to the program and never reaches the model.secret-envtoy-craneHolds a commandOpens a pane for typing an API key into a .env file, shows [hidden] wherever the value appears in tool results, and denies Write and Edit on that key's line.mod-blast-radiusv-amorimHolds a commandHolds a risky Bash command on a card until you choose Run or Cancel, shows what it would change first, and reads your own rules from a JSON file.mod-collision-guardv-amorimHolds a commandPauses a file edit when another open session just edited that file, and asks you to proceed, move to a worktree, cancel, or type an instruction for Claude.secret-guardvumichienHolds a commandHides secret values from your env files and secret-shaped text in tool results, tells Claude to use $NAME instead, and refuses commands that print them.blast-radiusAnthropicHolds a commandHolds a shell command such as rm -rf, a force push, a hard reset, or a migration, shows what it would touch, then asks you to proceed or cancel.merge-gatehamzaferHolds a commandHolds gh pr merge until CI is green and a Codex review has run once, and draws that pull request's status above the prompt.rulebook-guardhamzaferHolds a commandAsks before git commit --amend, an unformatted push, or personal details in notes and commits.
All 73 in Safety