infra-preflight
by junho · ★ 0 · updated yesterday
Before docker compose up|start|restart on a ~/infra service, checks that Tailscale is Running and that the service's BIND_IP matches the Tailscale IPv4; otherwise refuses the command with the fix.
Install
git clone https://github.com/TrulyNotMalware/skillsclaude --plugin-dir ./skills/mods/infra-preflightThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
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.call- API calls
$.env.get$.fs.exists$.fs.read$.process.run$.session.cwd- Can see
Bash calls- Reach
- level 2 of 3 runs processesreads filesreads env vars
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/TrulyNotMalware/skills
- Path in repo
mods/infra-preflight- Source commit
1e87087the exact code the scan read- Author
- junho @TrulyNotMalware
- License
- MIT
- 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 TrulyNotMalware/skills
infra-pane
TrulyNotMalware/skills
Live view of the local infra testbed (~/infra): which compose services are up, the OrbStack k8s cluster and its namespaces' pods, Tailscale state, wiki-serve and its mode (public only / full), with stop buttons, wiki-serve on/off and mode switch, and the k8s toggle; a status line while anything runs; /infra opens it.
wiki-guard
TrulyNotMalware/skills
Enforces the personal wiki's edit rules at tool-call time: raw/ is immutable, log.md is append-only, public pages never wikilink local-only pages, and git commit waits for bin/wikilint.