All Claude Code modsferranserv/claude-mods
preflight-guard
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.
- Events hooked: 7
- API methods referenced: 18
- Access from classified calls: L2, writes or runs: runs processes, writes files, drives Claude, writes the clipboard, reads files, reads mod state, persists state, draws
- Reads mod state: the scan does not record whose state, so this does not show that it reads another mod’s values
- Static scan, not a runtime test
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, drawsValidation
PassedView 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
- cockpitOne band above the prompt with Clawd, the Claude Code mascot (35 animated states), who reacts to what is happ…
- metersContext window, 5-hour, weekly usage and the prompt cache countdown as compact meters in one band above the p…
- mods-managerKeeps your mods current: pulls the mods folder from GitHub at session start (/updatemods to do it now), and a…
- plan-progressPanel above the prompt for multi-step work and /goal: goal, phase, task checklist, progress bar, elapsed time…
- prompt-enhancerA sparkle Enhance button and hotkey that rewrites your draft prompt in place: fitting skills, project details…
- saverSends easy prompts to Haiku 5.5 while context is under 100K. A strip above the prompt (hidden unless saver ju…
Badge for your README
Authors can show the latest scan result in their README. Each badge links to this page.
[](https://mods.aidojo.si/mods/ferranserv--claude-mods--preflight-guard/)
[](https://mods.aidojo.si/mods/ferranserv--claude-mods--preflight-guard/)