/clautohotkey:ahk-dllcallfrom clautohotkey
Guides AHK v2 native calls and memory marshalling: DllCall, Buffer/NumGet/NumPut, StrPut/StrGet, CallbackCreate, and typed Struct. Activates on WinAPI, struct, or pointer queries.
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.
The native-call and memory-marshalling foundation.
${CLAUDE_PLUGIN_ROOT}/Modules/Module_DllCall.md — type list, Buffer/NumPut/NumGet, StrPut/StrGet, CallbackCreate, typed Struct.DllCall("user32\Func", "Ptr", h, "Int").Buffer(bytes, 0) (zero-init); pass a Buffer directly for a Ptr arg; read fields with NumGet(buf, offset, "Type").CallbackCreate pointer with CallbackFree; keep a Buffer alive as long as an API holds its pointer.DllCall("...", "Int*", &out). Struct in/out: pass a Buffer.StrGet(buf, len, "UTF-16") / StrPut(s, buf, "UTF-8").Struct POINT { x: Int32, y: Int32 }; v2.0 fallback is Buffer + NumPut/NumGet.For the full type table and the CallbackCreate pattern, read ${CLAUDE_PLUGIN_ROOT}/Modules/Module_DllCall.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-convertConvert AHK v1 code to AHK v2. Applies comprehensive v1-to-v2 conversion rules including command syntax, expression changes, GUI rewrites, and object model updates. TRIGGER when: user says "convert to v2", "v1 to v2", "upgrade script", "migrate from v1", "convert this old script", "make this v2".
/ahk-debug-dashboardShow a compact debug state dashboard during an active debugging session. Queries MCP resources for connection status, breakpoints, variables, and call stack. TRIGGER when: user says "debug dashboard", "show debug state", "debug status", "what's the debugger showing", "debug overview".
/ahk-docsSearch AHK v2 documentation for a function, method, directive, or concept. Returns relevant documentation excerpts with syntax and examples. TRIGGER when: user says "docs for", "how does X work in AHK", "AHK docs", "look up", "what is the syntax for", "documentation".
/ahk-evalLive AHK v2 REPL backed by the fork's native repl subcommand. Execute AHK expressions and get immediate results without writing a multi-line script. Use when testing snippets, checking syntax, or evaluating expressions without creating files. TRIGGER when: user says "eval", "try this expression", "what does X return", "test this snippet", "run this AHK code", "check if this works". Examples: "/ahk-eval StrSplit('a,b,c', ',').Length" returns "3"
npx claudepluginhub truecrimedev/clautohotkey --plugin clautohotkeyOther plugins' skills for the same job