Home / Claude Code mods / Security / trip-guard

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.

Updated 2026-10-09

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.

TypeClaude code mod
Authorfhoces
Repositoryfhoces/learning-claude-code
Popularity1 GitHub stars
CategorySecurity
SecurityLow risk (96/100)
Rank#1,791 of 5,272 Claude Code mods; #208 in Security
Last commit2026-10-09
Hooks2 events
SeesBash calls, Edit|Write calls
Draws onnothing

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.

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
No license detectedNote

API calls in its code

CallWhat it means
$.ui.statusdraws interface
$.ui.toastdraws interface

How do I install trip-guard?

  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/fhoces/learning-claude-code
    claude plugin validate ./learning-claude-code/module-08/trip-guard
  3. 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)