trip-guard

by learning-claude-code · ★ 1 · updated 10 days ago

Status lineGuardsvalidates

0

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.

install trip-guard

Install

/plugin marketplace add fhoces/learning-claude-code
/plugin install trip-guard@learning-claude-code

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
tool.callturn.complete
API calls
$.ui.status$.ui.toast
Can see
Edit|Write callsBash calls
Reach
level 0 of 3 draws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/fhoces/learning-claude-code
Path in repo
module-08/trip-guard
Source commit
6e50d78 the exact code the scan read
Author
learning-claude-code @fhoces
License
No license declared — ask the author before reusing code.
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.

More from fhoces/learning-claude-code

things-you-should-know

fhoces/learning-claude-code

Course example mod: a band above the prompt with the session facts you tend to forget (files edited since the last commit, last turn's cost, last failed command, an oversized CLAUDE.md), plus /know to print them.

★ 1BandsGuardsCommands