Two projects. One useful loop.
AutoHotkey Console is a Windows interpreter that exposes failures to coding tools. ClautoHotkey is a Claude Code plugin and development harness that connects edits to checks. Together, they let an AI read an error, inspect the source, propose a correction, and verify the next run.
| Layer | Responsibility | What you see |
|---|---|---|
| Console engine | Parse and execute AHK; expose command-line and inspection tools | stdout, stderr, exit codes, diagnostics, trace, coverage |
| ClautoHotkey plugin | Load AHK rules and skills; validate edits through hooks | Task-specific guidance and post-edit check results |
| Grading harness | Run static and dry-run checks with a shared result format | Findings, parser confidence, intercepted intent, checker verdicts |
| MCP client | Discover and call local engine tools | Structured results for source exploration and execution |
Follow one change through the system
SOURCE / ERROR-DEMO.AHK · LINE 4
#Requires AutoHotkey v2.1-alpha.30
settings := Map()
settings["retries"] := 3
attempts := settings["retry"]STDERR / JSON ERROR · SELECTED FIELDS
{
"type": "UnsetItemError",
"message": "Item has no value.",
"extra": "[\"retry\"]",
"file": "error-demo.ahk",
"line": 4,
"source": "attempts := settings[\"retry\"]"
}The error reaches the calling tool with its type, source file, line, and failing statement.
Recorded Console + Claude Code example · How it was verified
The error walkthrough uses a captured Console failure, Claude Code's recorded diagnosis, and a verified correction. The session gallery provides separate hook captures and harness results. This website replays those records; it does not execute AHK in your browser or connect to your desktop.
Choose your entry point
- I write AHK already: start with AI-readable errors, then Line Out and Print.
- I use Claude Code: install ClautoHotkey and verify its hooks.
- I build libraries: add runtime assertions and CI.
- I build local tools: explore ProcessPipe and native MCP.
These are independent projects built on AutoHotkey v2, not an official AutoHotkey or Anthropic product. The engine is GPL-2.0; the ClautoHotkey repository is MIT-licensed.
Sources: Console repository, ClautoHotkey repository.
