/clautohotkey:ahk-winapifrom clautohotkey
Provides AHK v2 bindings for Windows messages, subclassing, owner-draw, DWM frame styling (Mica/Acrylic/dark title bar/rounded corners), and WinRT API activation.
Ships in clautohotkey. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Apply native calls to the window/message system and modern Windows APIs.
${CLAUDE_PLUGIN_ROOT}/Modules/Module_WinAPI.md — messages, subclassing, owner-draw, DWM, WinRT activation.OnMessage(num, cb); the callback is cb(wParam, lParam, msg, hwnd) — keep it short and re-entrancy-safe.comctl32\SetWindowSubclass + a CallbackCreate proc kept alive on a long-lived object; defer to DefSubclassProc.dwmapi\DwmSetWindowAttribute; full control theming is Lib/_Dark.ahk.OnMessage(0x4E, this.OnNotify.Bind(this)) — never an unbound method.DwmSetWindowAttribute(hwnd, 20, …, 4) + SetWindowTheme(hwnd, "DarkMode_Explorer", 0).combase\RoGetActivationFactory, call interfaces by vtable index with ComCall (0-2 IUnknown, 3-5 IInspectable).For the DWM constants, subclass lifetime rules, and the WinRT clipboard-history example, read ${CLAUDE_PLUGIN_ROOT}/Modules/Module_WinAPI.md.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
19 skills in this plugin
/ahk-audit-errorsAudit AHK v2 code for silent failures and inadequate error handling. Hunts for empty catch blocks, swallowed errors, broad bare-catches that hide unrelated failures, and fallbacks that mask problems from the user. TRIGGER when: user says "audit errors", "check error handling", "find silent failures", "review error handling", "scan for swallowed errors", "empty catch blocks", "/ahk-audit-errors".
/ahk-comCOM automation and interop for AHK v2 — driving Excel / Word / WMI / Internet Explorer via IDispatch, COM events, ComValue / SafeArrays, and direct vtable ComCall. Use when automating another application, wiring COM events, or calling a COM interface. TRIGGER when: user says "automate Excel/Word", "COM object", "ComObject", "ComCall", "WMI query", "COM event", "IDispatch", "SafeArray", "ComValue", "VARIANT". Examples: "automate Excel from AHK", "query WMI for processes", "hook IE navigation events"
/ahk-convertnpx claudepluginhub truecrimedev/clautohotkey --plugin clautohotkeyOther plugins' skills for the same job