win-hooks 1.10.0
Plugins written for a Mac, working on your Windows machine
Every Claude Code and Codex plugin assumes a Unix machine. On Windows their hooks fire .sh scripts cmd.exe cannot run, call Unix tools that are not on the launch PATH, and carry invisible BOM or CRLF bytes that break a parser, so a session opens with a wall of red errors that is nobody's fault. win-hooks scans the plugins you have installed and repairs those hooks automatically, at every session start, keeping the original file backed up beside the patched one.
It also stays fixed: a plugin update that reverts its hooks is re-patched on the next prompt, and a prompt where nothing changed costs nothing.
New
- Both hosts, one engine. The Codex path writes Codex's native
commandWindowsfield and leaves the portablecommanduntouched, so a patched plugin keeps working on macOS and Linux - thanks to @jml226 (#1) for it. - A standalone CLI.
npx @lilmgenius/win-hooksruns the same repair without installing the plugin. /win-hooks:statusand/win-hooks:fixreport and repair on demand, and thediagnoseskill maps an error message you paste in to its cause.
Everything win-hooks repairs is listed in the README.
Install
# Claude Code
claude plugin marketplace add LilMGenius/win-hooks && claude plugin install win-hooks
# Codex
codex plugin marketplace add LilMGenius/win-hooks && codex plugin add win-hooks@win-hooks
# or a one-shot CLI fix
npx @lilmgenius/win-hooks