Skip to content

Explore the Console toolkit ​

Choose a capability by the job you want to do. Each guide explains its interface, an example, how it fits into ClautoHotkey, and the limits of the result.

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

Start with the process contract ​

Results belong on stdout. Diagnostics belong on stderr. The exit code tells the caller whether the process succeeded. These three channels make a script usable by a shell, a test runner, or an MCP client.

Newer features build on that foundation: inspection turns live values into structured data, ProcessPipe connects another process, and trace/coverage explain execution. Check your build before using the development APIs.

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