Skip to content

Errors your AI
can act on.

Give Claude Code the error, the source line, and a way to check the fix. Console exposes AutoHotkey failures as structured diagnostics. ClautoHotkey brings that feedback into your editing workflow.

READ THE ERROR · CORRECT THE SOURCE · VERIFY THE RESULT

Errors AI can read.

Structured failures give Claude a specific problem to diagnose and repair.

Trace what led there.

Line Out shows which statements ran, with source files and line numbers.

Print useful results.

Send values and JSON to stdout for tools, pipelines, and assertions.

FROM ERROR TO VERIFIED FIX
  1. Run the scriptExecute your AutoHotkey code
  2. Capture the errorConsole reports the error, file & line
  3. AI reads & fixesClaude uses the feedback to edit
  4. Run checks againCheck syntax, runtime & tests
  5. Fix verifiedChecks pass with the expected result

Still failing? Send the new error back to the AI.

THE FEEDBACK LOOP

Give Claude the
missing context.

The error class explains what failed. The file, line, and source text show where to look. Claude can use those details to propose a focused edit, then read the next check or runtime result.

Connect edits to checks

1. Start with a real failure

error-demo.ahk Download the failing example ↓

2. Capture an error the AI can read

ahk /Headless /Diag=json .\error-demo.ahk

First time here? Build the Console executable and set up the ahk alias.

stderr carries the diagnostic; exit 10 signals this runtime failure. Read the diagnosis, correction, and verified rerun.

CONSOLE + CLAUTOHOTKEY

Build the repair loop.

Connect the interpreter, editor, and verification tools.

Explore the full toolkit
12 features
ERRORS

Structured diagnostics

Give AI the error type, source location, failing statement, and exit code it needs to diagnose a script.

Console Read the guide
EXECUTION

Line Out & trace

Follow the statements that actually ran, with source files and line numbers to explain the path to a failure.

Console Read the guide
DATA

Print & JSON

Turn a script into a composable command-line tool, with UTF-8 output and native JSON.

Console Read the guide
EXPLORE

Persistent REPL

Keep state between expressions. Explore functions and recover from invalid input.

Console Read the guide
INTROSPECTION

Inspect & Check

Describe values as JSON and ask the interpreter to check source before running it.

Console Read the guide
PROCESSES

ProcessPipe

Exchange UTF-8 lines with a child process and manage its lifetime.

Console Read the guide
FEEDBACK

Automatic edit checks

A real Claude Code hook checks AHK syntax after Write or Edit, with an optional runtime probe.

ClautoHotkey Read the guide
CONTEXT

Skills & knowledge

Load task-specific AHK guidance for GUIs, COM, classes, debugging, and more.

ClautoHotkey Read the guide
EVIDENCE

Grading gates

Keep static and dry-run findings, parser confidence, and intercepted effects in a shared format.

ClautoHotkey Read the guide
INTEGRATION

Native MCP tools

Let a local tool client check, run, test, and explore source through the same engine.

Together Read the guide
WORKFLOW

Test → inspect → repair

Combine assertions, structured failures, and source context into a repeatable repair loop.

Together Read the guide
DIAGNOSTICS

Crash forensics

Preserve startup, error, and exit events when stderr alone is not enough.

Console Read the guide

Want to inspect a complete workflow? See the real session gallery →

DEVELOPMENT REFERENCE

The error demonstration was recorded with alpha.31 +Console and Claude Code. Check your executable’s capabilities before using development features.

Build compatibility →

AutoHotkey Console × ClautoHotkey · Independent projects built on AutoHotkey v2.