Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Windows环境下Claude Code插件Hook执行错误的诊断与修复。当遇到hook error、cannot execute binary file、.sh regex误匹配、WSL/Git Bash冲突时使用。
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-04 | ✗→✓ | ▲ Improved | -12% | 0% |
| case-06 | ✗→✓ | ▲ Improved | -11% | 0% |
| case-08 | ✗→✓ | ▲ Improved | -19% | 0% |
| case-09 | ✗→✓ | ▲ Improved | -25% | 0% |
| case-10 | ✗→✓ | ▲ Improved | -17% | 0% |
诊断和修复 Windows 环境下 Claude Code 插件 Hook 执行失败的问题。
触发条件(满足任一即可):
SessionStart hook error 或 Stop hook errorcannot execute binary file/d/ 或 /c/ 风格的路径(MSYS2/Git Bash 路径格式)bash: node: No such file or directorywsl: 前缀.sh 参数导致 Windows 下被错误处理Other measured skills in the registry, with their headline benchmark lift.