Skip to content

win-hooks 1.10.0

Choose a tag to compare

@LilMGenius LilMGenius released this 22 Jul 14:44
· 36 commits to main since this release
v1.10.0
83cb642

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 commandWindows field and leaves the portable command untouched, so a patched plugin keeps working on macOS and Linux - thanks to @jml226 (#1) for it.
  • A standalone CLI. npx @lilmgenius/win-hooks runs the same repair without installing the plugin.
  • /win-hooks:status and /win-hooks:fix report and repair on demand, and the diagnose skill 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