Agent skill

Tirx Debug Kernel

by mlc-ai in mlc-ai/TIRx-harness

Debug and validate runnable TIRx kernels by selecting and executing the applicable correctness tools.

No licenceAuto-check passed

Install Tirx Debug Kernel

skills CLI
$ npx skills add mlc-ai/TIRx-harness --skill tirx-debug-kernel -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install mlc-ai/TIRx-harness tirx-debug-kernel --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/mlc-ai/TIRx-harness.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/tirx-debug-kernel .claude/skills/tirx-debug-kernel && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
tirx-debug-kernel
GitHub stars
119
Token cost
~1k tokens
SKILL.md length
512 words
Files
6 (incl. references)
Skills in repo
3
Repo updated
First seen
Licence
None found

At a glance

Debug and validate runnable TIRx kernels by selecting and executing the applicable correctness tools.

  • Works in 3 steps: Run every applicable checker first.… → If a numerical mismatch remains, run… → Escalate to the workload's normal GPU…
  • Produces suspect results
  • SKILL.md covers Default order, Tool routing, Workflow and Report tool defects, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Tirx Debug Kernel is an agent skill from mlc-ai/TIRx-harness. Debug and validate runnable TIRx kernels by selecting and executing the applicable correctness tools. Use whenever a kernel fails, produces suspect results, or a code change needs evidence about synchronization, memory safety, or numerical behavior.

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including reference files (for example `agents/openai.yaml`, `references/compute-sanitizer.md` and `references/numsim.md`).

The repository describes itself as: An Open Compiler Harness for Agentic GPU Programming.

When your agent uses it

  • Produces suspect results
  • A code change needs evidence about synchronization
  • Numerical behavior

Example prompts

  • “/tirx-debug-kernel”

Requirements

  • Python 3

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Run every applicable checker first. Synccheck and Racecheck do not reserve a
  2. If a numerical mismatch remains, run NumSim on the smallest representative
  3. Escalate to the workload's normal GPU correctness check. If Synccheck or

What it can do on your machine

Read from SKILL.md and the folder at commit 6449c3d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Tirx Debug Kernel loads about 1k tokens when it runs, and up to ~3.8k if it reads all its reference files. Until then it costs about 67 tokens; SKILL.md has 512 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~67
When it runs · the whole SKILL.md, loaded when a task matches
~1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 512 words (~1,003 tokens).

“Use correctness tools to investigate the kernel. Reading a tool guide or suggesting a command is not a substitute for running the tool when a runnable case is available.”

— opening of SKILL.md by mlc-ai
name
tirx-debug-kernel

Read the full SKILL.md on GitHub

Files

SKILL.md and 5 other files (references) in skills/tirx-debug-kernel of mlc-ai/TIRx-harness.

  • SKILL.md
  • agents/openai.yaml
  • references/compute-sanitizer.md
  • references/numsim.md
  • references/racecheck.md
  • references/synccheck.md

Open the folder on GitHubat commit 6449c3d

Compare with similar skills

Tirx Debug Kernel next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Tirx Debug Kernel compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Tirx Debug Kernel this skillmlc-ai/TIRx-harness119—~1kAutomated safety check: PassNone
Debugasgeirtj/system_prompts_leaks69k—~439Automated safety check: PassCC0-1.0
Debug Sandbox ExecutionHKUDS/OpenSpace7.7k—~843Automated safety check: PassMIT
Python Debug Execution 911f17HKUDS/OpenSpace7.7k—~892Automated safety check: PassMIT
Python Debug ExecutionHKUDS/OpenSpace7.7k—~662Automated safety check: PassMIT
Debugging Toolkitsickn33/agentic-awesome-skills47k1 repos~344Automated safety check: PassMIT

Similar skills

  • Debug

    asgeirtj/system_prompts_leaks

    Enable debug logging for this session and help diagnose issues

    69k GitHub stars~439 tokensUpdated yesterday
    Auto-check passed
  • Debug Python code execution failures by capturing partial traces, isolating failing functions, and incrementally verifying outputs

    7.7k GitHub stars~843 tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Debug Python script execution failures by capturing full tracebacks and verifying working directory

    7.7k GitHub stars~892 tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Python Debug Execution

    HKUDS/OpenSpace

    Debug Python scripts with proper error surfacing and working directory verification

    7.7k GitHub stars~662 tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Debugging Toolkit

    sickn33/agentic-awesome-skills

    A skill your agent uses when working with debugging toolkit smart debug (Alias for debugging-toolkit-smart-debug)

    47k GitHub starsUsed in 1 repo~344 tokens
    DevelopmentAuto-check passed
  • Debugging Code

    sickn33/agentic-awesome-skills

    Interactively debug source code — set breakpoints, step through execution line by line, inspect live variable state, evaluate expressions against the running program, and navigate the call stack to…

    47k GitHub starsUsed in 1 repo~3.1k tokens
    DevelopmentAuto-check passed

More from mlc-ai/TIRx-harness

  • Tirx Wiki

    mlc-ai/TIRx-harness

    Authoritative reference for TIRx-lite authoring on TIRx: TIRx-lite APIs, canonical kernels, optimization guidance, PTX ISA, and GPU references.

    119 GitHub stars~816 tokensUpdated yesterday
    Auto-check passed
  • Tirx Profile Kernel

    mlc-ai/TIRx-harness

    Profile and optimize runnable TIRx kernels by selecting and executing the applicable measurement and analysis tools.

    119 GitHub stars~783 tokensUpdated yesterday
    Auto-check passed

Questions about Tirx Debug Kernel

What does Tirx Debug Kernel do?

Debug and validate runnable TIRx kernels by selecting and executing the applicable correctness tools. Tirx Debug Kernel is an agent skill from mlc-ai/TIRx-harness. Debug and validate runnable TIRx kernels by selecting and executing the applicable correctness tools.

When should I use Tirx Debug Kernel?

Tirx Debug Kernel fits situations like: produces suspect results; A code change needs evidence about synchronization; numerical behavior.

How do I install Tirx Debug Kernel in Claude Code?

Run `npx skills add mlc-ai/TIRx-harness --skill tirx-debug-kernel -a claude-code`. Or copy the skill folder (skills/tirx-debug-kernel in mlc-ai/TIRx-harness) into .claude/skills/tirx-debug-kernel in your project. Claude Code loads it when a task matches its description.

How do I install Tirx Debug Kernel in Codex?

Run `npx skills add mlc-ai/TIRx-harness --skill tirx-debug-kernel -a codex`. Or copy the skill folder (skills/tirx-debug-kernel in mlc-ai/TIRx-harness) into .agents/skills/tirx-debug-kernel in your project. Codex loads it when a task matches its description.

Can I use Tirx Debug Kernel in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add mlc-ai/TIRx-harness --skill tirx-debug-kernel -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/tirx-debug-kernel, .gemini/skills/tirx-debug-kernel, .github/skills/tirx-debug-kernel and .opencode/skills/tirx-debug-kernel in your project.

What does Tirx Debug Kernel need to run?

SKILL.md names no scripts, command-line tools or credentials: Tirx Debug Kernel is instructions for the agent only. Our summary lists: Python 3.

Does Tirx Debug Kernel access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Tirx Debug Kernel safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Tirx Debug Kernel use?

No licence was found for Tirx Debug Kernel or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Tirx Debug Kernel use?

About 1k tokens (SKILL.md is roughly 4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.8k tokens, read only when the agent opens those files.

What are the alternatives to Tirx Debug Kernel?

Skills that share tags, products or a category with Tirx Debug Kernel: Debug (asgeirtj/system_prompts_leaks, 69k stars), Debug Sandbox Execution (HKUDS/OpenSpace, 7.7k stars), Python Debug Execution 911f17 (HKUDS/OpenSpace, 7.7k stars) and Python Debug Execution (HKUDS/OpenSpace, 7.7k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Tirx Debug Kernel?

mlc-ai (a GitHub organization) maintains it in mlc-ai/TIRx-harness, which has 119 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on October 6, 2026.

Source: mlc-ai/TIRx-harness on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.