claudemods

All Claude Code modsferranserv/claude-mods

preflight-guard

A Claude Code mod in ferranserv/claude-mods

Warns when a session starts on main, with uncommitted changes, or beside another working session; offers a worktree, a commit checkpoint, and a click to commit what another session already finished.

review UI rewrite

preflight-guard reaches L2 (writes or runs) and passed claude plugin validate.

To install it, open the repository and follow the author’s setup instructions. Mods need Claude Code 2.1.287 or later.

Access

L2 Writes or runsruns processes, writes files, drives Claude, writes the clipboard, reads files, reads mod state, persists state, draws

Validation

Passed

View the source on GitHub Back to the list

What the scan recorded

Observed events
every tool call
Hooks
session.start, command.run {command=preflight}, turn.start, tool.call, turn.complete, session.end, ui.render {component=AbovePrompt}
API calls
$.clock.after, $.clock.every, $.clock.now, $.command.register, $.fs.exists, $.fs.list, $.fs.read, $.fs.write, $.process.run, $.prompt.submit, $.session.cwd, $.session.id, $.state.get, $.state.set, $.store.get, $.store.set, $.ui.copy, $.ui.resolve
Validation
Passed
Scanned revision
25b274b6cc58
UI rewrite review
UI hook source contains control-character strings. Review any values passed to next() as rewritten props.text; the scanner does not trace whether these strings reach that call. archive/preflight-guard/hooks/logic.ts:72

These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. What a mod can access and how the scan works.

More from ferranserv/claude-mods

Badge for your README

Reach badge for preflight-guard Validation badge for preflight-guard

Authors can show the latest scan result in their README. Each badge links to this page.

[![reach](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/ferranserv--claude-mods--preflight-guard-reach.svg)](https://mods.aidojo.si/mods/ferranserv--claude-mods--preflight-guard/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/ferranserv--claude-mods--preflight-guard-validates.svg)](https://mods.aidojo.si/mods/ferranserv--claude-mods--preflight-guard/)