What is tripwire?
tripwire is a Claude Code mod by pourya7 that rules that are enforced, not remembered: deny, ask, rewrite or note on any tool call, subagents included. A pixel-art trap for every mistake you already wrote down. It is listed under Security and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | pourya7 |
| Repository | pourya7/claude-code-mods |
| Popularity | no public popularity data yet |
| Category | Security |
| Security | Review before installing (60/100) |
| Rank | #4,316 of 5,272 Claude Code mods; #450 in Security |
| License | MIT |
| Last commit | 2026-10-04 |
| Hooks | 7 events |
| Sees | classic hooks, every prompt, every tool call |
| Draws on | AbovePrompt, Pane |
Is tripwire safe to install?
tripwire scores 60/100 on the MCPMods security check: Review before installing. Things to review: writes files or config; reads environment variables; watches every prompt or event. It passed 4 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.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts no processes | Pass |
| Writes files or config | Review |
| Reads environment variables | Review |
| Watches every prompt or event | Review |
| Drives Claude (model calls, prompts) | Note |
| Passes claude plugin validate | Pass |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.now | |
$.command.register | |
$.env.get | reads env vars |
$.fs.exists | reads files |
$.fs.read | reads files |
$.fs.write | writes files |
$.model.complete | drives Claude |
$.session.root | |
$.state.get | |
$.state.set | |
$.store.get | keeps its own state |
$.store.set | keeps its own state |
$.ui.open | draws interface |
$.ui.resolve | draws interface |
$.ui.status | draws interface |
$.ui.toast | draws interface |
How do I install tripwire?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/pourya7/claude-code-mods claude plugin validate ./claude-code-mods/tripwire
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add pourya7/claude-code-mods && claude plugin install tripwire@claude-code-mods
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/pourya7/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 pourya7/claude-code-mods
This repository has at least 9 Claude Code mods on MCPMods.
- anchor: Pin a session to its git worktree: every Bash call runs from the anchor, and the primary checkout is guarded against str (Low risk)
- anti-cheat: No claims without evidence: flags "tests pass", "CI green" and "verified" claims that nothing in the turn backs up. (Low risk)
- co-op: A second player reviews before the PR: gh pr create waits for a second-model review of the branch diff, and a failing re (Review before installing)
- dock: Container stacks per worktree: a pixel-art pane of every compose stack with its memory and worktree, orphans whose workt (Low risk)
- honest-exit: Make silent shell failures loud: a glob that matched nothing, a command missing from the agent's shell, or a pipe that h (Low risk)
- mender: Fix the arguments, not the model: repairs malformed MCP tool arguments ("true" for true, numbers as strings, unknown key (Low risk)
- party: A raid frame for every live session on the machine: who is working, who is waiting on you and for how long, per-PR locks (Low risk)
- prove-it: The fix must make a test fail first: reverts your source changes, runs the changed tests and requires a failure, restore (Review before installing)