tripwire

tripwire is a Claude Code mod by loneherd that blocks Bash commands that repeat known mistakes (heredoc source edits, relative ssh keys, hand-edited Terraform VMs, NAS deletes, force pushes) and shows a block count in the status line.

Updated 2026-11-13

What is tripwire?

tripwire is a Claude Code mod by loneherd that blocks Bash commands that repeat known mistakes (heredoc source edits, relative ssh keys, hand-edited Terraform VMs, NAS deletes, force pushes) and shows a block count in the status line. It is listed under Interface and has no public popularity data yet.

TypeClaude code mod
Authorloneherd
Repositoryloneherd/claude-code-mods
Popularityno public popularity data yet
CategoryInterface
SecurityLow risk (100/100)
Rank#7,088 of 9,397 Claude Code mods; #3,004 in Interface
LicenseMIT
Last commit2026-11-13
Hooks1 events
SeesBash calls
Draws onnothing

Is tripwire safe to install?

tripwire scores 100/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 8 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts no processesPass
Writes no files or configPass
Doesn't read environment variablesPass
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.ui.statusdraws interface

How do I install tripwire?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/loneherd/claude-code-mods
    claude plugin validate ./claude-code-mods/tripwire
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    git clone https://github.com/loneherd/claude-code-mods && claude --plugin-dir ./claude-code-mods/tripwire

Or ask Claude to set it up

Paste this into Claude Code and it installs tripwire for you:

Install the "tripwire" Claude Code mod from https://github.com/loneherd/claude-code-mods/tree/main/tripwire. Run claude plugin validate on it first and show me what it can access before you enable it.

More from loneherd/claude-code-mods

This repository has 7 Claude Code mods on MCPMods.

  • agent-dock: /dock N tells Claude to split work across N subagents; a band shows a live card per agent. (Low risk)
  • clean-view: Hides tool-call rows while Claude works; shows a plan checklist band (done / current / left). (Low risk)
  • first-mod: Starter mod: toast on start, status line counts tool calls (Low risk)
  • run-breakdown: Band above the prompt: after a long run, which model and effort the main session, each subagent, Gemini and Ollama used (Low risk)
  • session-recap: Band above the prompt: open questions Claude asked you plus bullets of what the last prompt did (Low risk)
  • subagent-models: Status line shows which model each running subagent is using (Low risk)