/tt-debug-tools:tt-exalensfrom tt-debug-tools
Reads and writes individual addresses, registers, or cores on Tenstorrent devices via tt-exalens. Use for targeted L1/DRAM reads, RISC-V registers, tensix state, NoC registers, ELF callstacks, memory search, or GDB stepping when tt-triage scripts don't cover the question.
Ships in tt-debug-tools. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The low-level hardware debugger everything else here stands on. tt-triage is a
collection of Python scripts over this; when a triage script does not ask your
question, this is where you ask it directly.
Verified against tt-exalens 0.3.27 — the version tt-triage pins, and it
refuses on a mismatch.
Not this skill: the whole-device pass with interpretation — tt-triage. Reading
watcher structures — tt-watcher.
Four modes:
tt-exalens # interactive
tt-exalens --commands="d; brxy 0,0 0x0 16; x" # batch, semicolon-separated
tt-exalens --server --port=5555 # serve, for --remote or tt-triage
tt-exalens --gdb [gdb_args...] # RISC-V gdb client
| Option | Effect |
|---|---|
--commands=<cmds> | Run semicolon-separated commands and exit. |
--server, --port=<port> | Start a server; default port 5555. |
--remote, --remote-address=<ip:port> | Attach to one; defaults to localhost:5555. |
--start-server=<port>, --start-gdb=<port> | Start either alongside an interactive session. |
--background | Detach the server; exit by creating an exit.server file. |
--jtag | Initialise the JTAG interface instead of PCIe. |
--noc-id=<id> | 0/NOC0, 1/NOC1, 2/SYSTEM_NOC. Default 1. |
--disable-noc-failover | Stop automatic NOC0↔NOC1 failover. |
--unsafe-mode | Permit writes to regions otherwise refused. |
--test | Non-zero exit on any exception — the flag for scripting. |
--verbosity=<1-5> | ERROR through DEBUG; default 3. |
Command set and argument shapes: references/commands.md. Server, GDB and JTAG:
references/server-and-gdb.md.
Any live or idle device answers a read. To confirm the tool and the device agree:
tt-exalens --commands="device; exit" --test
For something worth reading, halt a core first — the sanitize case in
tt-watcher's Force the state — then attach and take a callstack.
Per command, to the console. --commands echoes each one first:
Executing command: help
Full Name Short Description
burst-read-xy brxy Reads a block of data at <addr> on <noc-loc>...
callstack bt Prints callstack using provided elf for a given RiscV core.
Reads print the requested words; device prints a per-device RISC-V summary.
Every command has a short alias, and the aliases are what triage scripts and
existing notes use — brxy, bt, gpr, reg, nc, re.
--noc-id defaults to 1, not 0. A read that disagrees with another tool's
view may simply be arriving over the other NoC. State it explicitly when it
matters.
NOC failover is automatic and silent. If communication fails on one NoC it
switches to the other, so a read can succeed over a path you did not choose —
which hides exactly the wedged-NoC condition you may be trying to confirm. Use
--disable-noc-failover when the question is whether a NoC works.
Triage enforces the version pin and refuses on a mismatch. Do not work around
it with --skip-version-check without owning what follows: the scripts read
structures whose layout the pin is there to guarantee.
A server is required for tt-triage --remote-exalens, and it has to be
started before the workload takes the device. Started afterwards, it cannot
open the device either.
It writes as readily as it reads. write, write-xy and run-elf change
device state, and --unsafe-mode removes the guard that refuses the dangerous
regions. On a shared host that is someone else's run.
Halting to read changes what you are reading. The same caveat triage carries: inspection is not free, and a core halted for a read is a core that is no longer where it was.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
9 skills in this plugin
/tt-assertsTurn on assertion checking inside Tenstorrent kernels — lightweight kernel asserts, LLK asserts in the compute library, and the LLK sanitizer — and read back what fired. Use when a kernel produces impossible results, when you suspect a broken assumption about tile dimensions or data formats, or when a run hangs and you want to know whether an assert caused it. A fired assert halts the core and looks exactly like a hang from outside./tt-dprintPrint values out of a Tenstorrent kernel — scalars, bfloat16, enums, and circular-buffer tile contents — with DPRINT / DEVICE_PRINT. Use when a kernel produces wrong numbers and you need to see what it actually read or wrote, when you want a checkpoint reached or a loop index, or when a DPRINT log needs interpreting. For a kernel that hangs rather than computes the wrong answer, that is tt-watcher or tt-triage./tt-inspectornpx claudepluginhub tenstorrent/skills --plugin tt-debug-toolsOther plugins' skills for the same job