Aoti Debug
pytorch/pytorch
Debug AOTInductor (AOTI) errors and crashes. An agent skill from pytorch/pytorch.
How to get debug output out of OCANNL: kernel/routine runtime logs, generated code artifacts, and ppxminidebug tracing of library internals such as the shape/row solver.
$ npx skills add ahrefs/ocannl --skill ocannl-debug-tracing -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install ahrefs/ocannl ocannl-debug-tracing --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/ahrefs/ocannl.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/ocannl-debug-tracing .claude/skills/ocannl-debug-tracing && rm -rf skills-srcUse ~/.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/
Install the "ocannl-debug-tracing" agent skill from https://github.com/ahrefs/ocannl/tree/master/.claude/skills/ocannl-debug-tracing into .claude/skills/ocannl-debug-tracing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ocannl-debug-tracing", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/ahrefs/ocannl/tree/master/.claude/skills/ocannl-debug-tracingType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add ahrefs/ocannl --skill ocannl-debug-tracing -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install ahrefs/ocannl ocannl-debug-tracing --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ahrefs/ocannl.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/ocannl-debug-tracing .agents/skills/ocannl-debug-tracing && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "ocannl-debug-tracing" agent skill from https://github.com/ahrefs/ocannl/tree/master/.claude/skills/ocannl-debug-tracing into .agents/skills/ocannl-debug-tracing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ocannl-debug-tracing", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ahrefs/ocannl --skill ocannl-debug-tracing -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install ahrefs/ocannl ocannl-debug-tracing --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ahrefs/ocannl.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/ocannl-debug-tracing .cursor/skills/ocannl-debug-tracing && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "ocannl-debug-tracing" agent skill from https://github.com/ahrefs/ocannl/tree/master/.claude/skills/ocannl-debug-tracing into .cursor/skills/ocannl-debug-tracing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ocannl-debug-tracing", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/ahrefs/ocannl.git --path .claude/skills/ocannl-debug-tracing--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add ahrefs/ocannl --skill ocannl-debug-tracing -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install ahrefs/ocannl ocannl-debug-tracing --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ahrefs/ocannl.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/ocannl-debug-tracing .gemini/skills/ocannl-debug-tracing && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "ocannl-debug-tracing" agent skill from https://github.com/ahrefs/ocannl/tree/master/.claude/skills/ocannl-debug-tracing into .gemini/skills/ocannl-debug-tracing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ocannl-debug-tracing", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install ahrefs/ocannl ocannl-debug-tracingInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add ahrefs/ocannl --skill ocannl-debug-tracing -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/ahrefs/ocannl.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/ocannl-debug-tracing .github/skills/ocannl-debug-tracing && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "ocannl-debug-tracing" agent skill from https://github.com/ahrefs/ocannl/tree/master/.claude/skills/ocannl-debug-tracing into .github/skills/ocannl-debug-tracing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ocannl-debug-tracing", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add ahrefs/ocannl --skill ocannl-debug-tracing -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install ahrefs/ocannl ocannl-debug-tracing --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/ahrefs/ocannl.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/ocannl-debug-tracing .opencode/skills/ocannl-debug-tracing && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "ocannl-debug-tracing" agent skill from https://github.com/ahrefs/ocannl/tree/master/.claude/skills/ocannl-debug-tracing into .opencode/skills/ocannl-debug-tracing/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ocannl-debug-tracing", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
ocannl-debug-tracingHow to get debug output out of OCANNL: kernel/routine runtime logs, generated code artifacts, and ppxminidebug tracing of library internals such as the shape/row solver.
Ocannl Debug Tracing is an agent skill from ahrefs/ocannl. How to get debug output out of OCANNL: kernel/routine runtime logs, generated code artifacts, and ppxminidebug tracing of library internals such as the shape/row solver. Use when debugging a wrong-value or wrong-shape result and you need to see generated code, per-kernel logs, or the solver's decisions.
Its SKILL.md is about 640 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development, covering Debugging and Deep learning. The repository describes itself as: OCANNL: OCaml Compiles Algorithms for Neural Networks Learning. The licence is BSD-2-Clause.
Read from SKILL.md and the folder at commit 003e177. It shows what the files ask for, not the result of running them.
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.
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.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Ocannl Debug Tracing loads about 637 tokens when it runs. Until then it costs about 82 tokens; SKILL.md has 249 words of instructions outside code blocks.
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.
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.
The full file from ahrefs/ocannl at commit 003e177, republished under its BSD-2-Clause licence (© ahrefs). 249 words, ~637 tokens.
.claude/skills/ocannl-debug-tracing/SKILL.md (or your agent's skills folder).debug_log_from_routines=true in config for kernel/routine-level debugginglog_level=2 for verbose ppx_minidebug outputUtils.capture_stdout_logs wrapperlog_files/<exe-name>/ (this process's subdirectory is cleaned on startup by default)<backend>-<device>-<stream>.log (e.g., cuda-0-0.log) inside that subdirectorybuild_files/<exe-name>/ show high-level .cd, intermediate .ll, and backend-specific .c/.cu filesSee the Important Debug Settings list in AGENTS.md for the config keys that enable these artifacts.
%debug5_sexp/%track5_sexp etc. log statements are stripped at COMPILE time; each module has its own gate env var: [%%global_debug_log_level_from_env_var "OCANNL_LOG_LEVEL_ROW"] at the top of row.ml, similarly ..._SHAPE, ..._TNODE, ..._ASSIGNMENTS, ..._CC_BACKEND, etc. (grep for global_debug_log_level_from_env_var)preprocessor_deps (env_var ...) of the library whose modules read it (gh-ocannl-628), so setting one re-preprocesses those modules by itself: OCANNL_LOG_LEVEL_ROW=9 OCANNL_LOG_LEVEL_SHAPE=9 dune build .... Adding a gate to a module means adding it to that library's preprocessor_deps too, which test/operations/env_var_deps checks--ocannl_log_level=9 and run from a directory with an ocannl_config on its ancestor path (e.g. test/config/); logs land in log_files/debug_backend=db writes a database supporting structured queries (e.g. print a subtree containing two given terms); --ocannl_debug_backend=flushing writes greppable flat text to log_files/debug.log and survives crashes mid-tracestage = StageN lines segment finish_inference's solver passes; track a variable by grepping Row_var N / (id N) for its transition to Solved_row/Solved_dim, then inspect the surrounding unify_row/solve_dim_ineq scope© ahrefs, BSD-2-Clause. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/ocannl-debug-tracing of ahrefs/ocannl.
Open the folder on GitHubat commit 003e177
Ocannl Debug Tracing 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Ocannl Debug Tracing this skillahrefs/ocannl | 118 | — | ~637 | Automated safety check: Pass | BSD-2-Clause | |
| Aoti Debugpytorch/pytorch | 104k | 1 repos | ~1.7k | Automated safety check: Pass | Custom licence | |
| Debug Distributedareal-project/AReaL | 5.8k | 1 repos | ~1.6k | Automated safety check: Pass | Apache-2.0 | |
| The Art of Debuggingstas00/the-art-of-debugging | 1.7k | — | ~6.1k | Automated safety check: Notes | CC-BY-SA-4.0 | |
| Veomni DebugByteDance-Seed/VeOmni | 2.2k | — | ~2.8k | Automated safety check: Pass | Apache-2.0 | |
| Analyze Projectlllllllama/RigorPilot-Skills | 497 | 1 repos | ~519 | Automated safety check: Pass | MIT |
pytorch/pytorch
Debug AOTInductor (AOTI) errors and crashes. An agent skill from pytorch/pytorch.
areal-project/AReaL
Guide for debugging distributed training issues in AReaL. An agent skill from areal-project/AReaL.
stas00/the-art-of-debugging
Condensed debugging method and tool recipes for Unix, Python and PyTorch programs: crashes, hangs, segfaults, wrong output, CUDA OOM, NaN values and slowness.
ByteDance-Seed/VeOmni
A skill your agent uses for ANY bug, error, crash, wrong output, loss divergence, gradient explosion, test failure, CUDA error, distributed training hang, checkpoint load failure, or unexpected…
lllllllama/RigorPilot-Skills
Rigor Analyze / Rigor Audit read-only skill for deep learning research repositories.
ascend-ai-coding/awesome-ascend-skills
End-to-end AscendC custom operator development for Ascend NPU in an ascend-kernel (csrc/ops + build.sh + torchnpu PyTorch custom op) project.
ahrefs/ocannl
Writing Slipshow presentations, a text-based engine that compiles Markdown to interactive scrolling HTML presentations.
ahrefs/ocannl
Touch-lists for common OCANNL extension tasks: adding a primitive operation, adding or extending a backend, extending shape inference, and diagnosing output differences between backends.
Categories
How to get debug output out of OCANNL: kernel/routine runtime logs, generated code artifacts, and ppxminidebug tracing of library internals such as the shape/row solver. Ocannl Debug Tracing is an agent skill from ahrefs/ocannl. How to get debug output out of OCANNL: kernel/routine runtime logs, generated code artifacts, and ppxminidebug tracing of library internals such as the shape/row solver.
Ocannl Debug Tracing fits situations like: debugging a wrong-value; wrong-shape result and you need to see generated code; per-kernel logs; the solvers decisions.
Run `npx skills add ahrefs/ocannl --skill ocannl-debug-tracing -a claude-code`. Or copy the skill folder (.claude/skills/ocannl-debug-tracing in ahrefs/ocannl) into .claude/skills/ocannl-debug-tracing in your project. Claude Code loads it when a task matches its description.
Run `npx skills add ahrefs/ocannl --skill ocannl-debug-tracing -a codex`. Or copy the skill folder (.claude/skills/ocannl-debug-tracing in ahrefs/ocannl) into .agents/skills/ocannl-debug-tracing in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ahrefs/ocannl --skill ocannl-debug-tracing -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ocannl-debug-tracing, .gemini/skills/ocannl-debug-tracing, .github/skills/ocannl-debug-tracing and .opencode/skills/ocannl-debug-tracing in your project.
SKILL.md names no scripts, command-line tools or credentials: Ocannl Debug Tracing is instructions for the agent only.
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.
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.
Ocannl Debug Tracing is published under the BSD-2-Clause licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 637 tokens (SKILL.md is roughly 2.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Ocannl Debug Tracing: Aoti Debug (pytorch/pytorch, 104k stars), Debug Distributed (areal-project/AReaL, 5.8k stars), The Art of Debugging (stas00/the-art-of-debugging, 1.7k stars) and Veomni Debug (ByteDance-Seed/VeOmni, 2.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
ahrefs (a GitHub organization) maintains it in ahrefs/ocannl, which has 118 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on October 7, 2026.
Source: ahrefs/ocannl on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.