Search 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".
Installation
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Search 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 v2 Documentation Search
Search the AutoHotkey v2 documentation and return relevant information.
Usage
/ahk-docs <search_term> — searches for the term in AHK v2 docs.
Search Strategy
Check local modules first — search Modules/ for the term
Search online docs — fetch from https://www.autohotkey.com/docs/v2/
Return the most relevant excerpt with syntax and examples
─ AHK v2 DOCS ───────────────────────────────────────────
**<FunctionName>**
Syntax: `FunctionName(param1, param2, options?)`
Description from docs...
**Example:**
```autohotkey
; usage example from docs
Source:
## Rules
- Prefer local module content over online docs when available
- Always include at least one code example
- Note any v1→v2 syntax differences if relevant
- If the term is ambiguous, list all matching entries