What is trip-guard?
trip-guard is a Claude Code mod by fhoces that course example mod: denies edits to the generated trips.csv, shows the last failed command in the status line, toasts when a turn runs long. It is listed under Security and has 1 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | fhoces |
| Repository | fhoces/learning-claude-code |
| Popularity | 1 GitHub stars |
| Category | Security |
| Security | Low risk (96/100) |
| Rank | #1,791 of 5,272 Claude Code mods; #208 in Security |
| Last commit | 2026-10-09 |
| Hooks | 2 events |
| Sees | Bash calls, Edit|Write calls |
| Draws on | nothing |
Is trip-guard safe to install?
trip-guard scores 96/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 7 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 no files or config | Pass |
| Doesn't read environment variables | Pass |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Passes claude plugin validate | Pass |
| No license detected | Note |
API calls in its code
| Call | What it means |
|---|---|
$.ui.status | draws interface |
$.ui.toast | draws interface |
How do I install trip-guard?
- 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/fhoces/learning-claude-code claude plugin validate ./learning-claude-code/module-08/trip-guard
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add fhoces/learning-claude-code && claude plugin install trip-guard@learning-claude-code
Or ask Claude to set it up
Paste this into Claude Code and it installs trip-guard for you:
Install the "trip-guard" Claude Code mod from https://github.com/fhoces/learning-claude-code/tree/main/module-08/trip-guard. Run claude plugin validate on it first and show me what it can access before you enable it.
More from fhoces/learning-claude-code
This repository has 2 Claude Code mods on MCPMods.
- things-you-should-know: Course example mod: a band above the prompt with the session facts you tend to forget (files edited since the last commi (Review before installing)