Skip to content

Browser debug

Give an agent a token-efficient, scriptable way to debug a web page — screenshots, accessibility snapshots, console and network logs, Lighthouse — without bloating its context.

cckit debug drives chrome-devtools-axi (Kun Chen), which runs a self-contained Chrome DevTools bridge and emits TOON-encoded output. TOON is a compact text format, so results stay small in an agent’s context.

cckit is pure bash; axi needs Node and Chrome. So this is not a hard dependency — cckit detects it at call time and degrades cleanly:

  • Node/npx and Chrome presentcckit debug drives axi.
  • Otherwise → it prints how to enable the capability and exits 0. An unattended run is never hard-failed by a missing optional tool.

Check availability without running anything:

Terminal window
cckit debug --check
Terminal window
npm i -g chrome-devtools-axi # or rely on `npx -y chrome-devtools-axi` (Node present)

Override the command cckit invokes with an environment variable — useful for a pinned version or a wrapper:

Terminal window
export CCKIT_AXI=<command>

Everything after cckit debug is forwarded verbatim to axi, so cckit never has to track axi’s evolving subcommand surface:

Terminal window
cckit debug <axi-args...> # passed straight through — see the axi docs for subcommands

Independent, educational project — not affiliated with or endorsed by Anthropic. Claude and Claude Code are trademarks of Anthropic PBC. Disclaimer & trademarks ·

From Mexico with love by josegtz