New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@lilmgenius/win-hooks

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lilmgenius/win-hooks

Windows auto-patcher for vibe coders.

latest
Source
npmnpm
Version
1.14.0
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

win-hooks

"Linux? Nah. WinUX!"

Windows auto-patcher for vibe coders.

win-hooks repairs the plugin hooks that break on your Windows machine.
Automatically, at every session start, and again for ones added later.

Windows 10/11 Claude Code plugin Codex plugin License: MIT

Install

Pick your tool and paste one line.

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

Neither, just fix my plugins now

npx @lilmgenius/win-hooks

That's the whole setup. No config, no flags, nothing to remember.

You need Windows 10/11. Node.js already comes with Claude Code and Codex, and Git for Windows is needed only for plugins whose hooks are shell scripts.

What it fixes

You installed a plugin. It works fine for everyone on a Mac. On your machine it greets you with red text every time you open a session.

The error you seeWhat was wrong
check.sh: No such file or directoryWindows can't run a .sh script directly
semgrep: command not foundThe plugin expects a Unix tool you don't have
'node' is not recognizedWorks in Git Bash, invisible to the process that launches hooks
Python was not found; ... Microsoft StoreWindows' fake python3 placeholder shadowing your real one
JSON Parse error: Unrecognized tokenAn invisible byte (BOM) at the top of a config file
Cannot find module 'C:\Users...'Backslashes in a path getting eaten before the hook runs

None of that is your fault. Almost every plugin is written and tested on macOS or Linux, so its hooks assume Unix tools that Windows does not have.

How it stays fixed

win-hooks repairs your plugins at every session start, including ones you install later, ones that break again after an update, and ones an older win-hooks left behind. Repairs are written next to the original file, never on top of it, and anything already working is left alone.

At the start of a session it says so in one line, so you can tell a clean run from a hook that never fired. To look closer:

CommandWhat it does
/win-hooks:patchChecks every plugin, shows what it found, repairs anything broken
npx @lilmgenius/win-hooks patchThe same, from any terminal

Privacy

win-hooks runs entirely on your machine and sends nothing anywhere. No telemetry, no network calls, no account. Outside a plugin's own folder it writes only a short local log of its own runs, so you can confirm it ran.

License

MIT. How it works, and every failure mode it handles: AGENTS.md.

Keywords

windows

FAQs

Package last updated on 31 Aug 2026

Related posts