training_hang

training_hang is a skill for Claude Code, Codex from DeepLink-org/probing. It costs 15 tokens per session (267 once invoked), scanned A, original, Apache-2.0.

A troubleshooting guide for a machine-learning training job that is still running but has stopped making progress. It captures call stacks, thread wait locations, and recent tracing activity.

In plain words
What is it for?
Use it to investigate stalled distributed training, inspect worker or data-loader waits, and decide whether to change worker counts, check data paths, or collect more profiling samples.
Why use it?
It helps show whether the job is stuck at a synchronization barrier, waiting for data, or blocked elsewhere instead of guessing from an unchanged loss.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to investigate stalled distributed training, inspect worker or data-loader waits, and decide whether to change worker counts, check data paths, or collect more profiling samples.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/deeplink-org/probing/training_hang
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add DeepLink-org/probing --skill training_hang
Clone the repo
git clone --depth 1 https://github.com/DeepLink-org/probing

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for training_hang

README.md
[![agentmods](https://agentmods.dev/badge/skills/deeplink-org/probing/training_hang/github.svg)](https://agentmods.dev/skills/deeplink-org/probing/training_hang)
Your own site
<a href="https://agentmods.dev/skills/deeplink-org/probing/training_hang"><img src="https://agentmods.dev/badge/skills/deeplink-org/probing/training_hang/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for training_hang

Your own site · 80×15
<a href="https://agentmods.dev/skills/deeplink-org/probing/training_hang"><img src="https://agentmods.dev/badge/skills/deeplink-org/probing/training_hang.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 267 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00015 $0.00267
Opus 5.5 $0.00006 $0.00107
Sonnet 5.5 $0.00003 $0.00053
Haiku 4.5 $0.00002 $0.00027

Measured 1mo ago against content hash 8668365baf1e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

training_hang scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

python/probing/bundled_skills/training_hang/SKILL.md · 29 lines

What it actually says

Training hang diagnosis

Loss 不更新、进程仍存活但无进展时使用。 组合:实时混合栈 + CPU 线程 wchan + 最近 trace 活动。

Parameters

  • stack_depth (integer, default 20): Backtrace frames to show
  • 栈在 dist/barrier → 检查各 rank 是否都存活: probing list / cluster nodes
  • 栈在 DataLoader → 减少 num_workers 或检查数据路径
  • 需要持续采样 → SET probing.pprof.sample_freq=99 后 skill: module_bottleneck
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 29 lines · 15 tokens per session scan A 8668365baf1e

Subscribe to this mod's changes

training_hang is a skill published in the GitHub repository DeepLink-org/probing (10 stars, last pushed 2d ago), licensed Apache-2.0. It adds 15 tokens to every session and 267 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

notebooklm

Install, authenticate, troubleshoot, and operate Gemini Notebook through the notebooklm-py CLI or typed async Python API. Use for notebook and source management, grounded chat and research, and artifact generation or download when the user mentions Gemini Notebook, notebooklm-py, the notebooklm CLI, or its Python API.…

teng-lin/notebooklm-py · 79 tokens

exploring-llm-traces

Debug and inspect LLM/AI agent traces using PostHog's MCP tools. Use when the user pastes a trace or session URL (e.g. /ai-observability/traces/ or /ai-observability/sessions/ ), asks to debug a trace, figure out what went wrong, check if an agent used a tool correctly, verify context/files were surfaced, inspect…

PostHog/posthog · 146 tokens

code-runner

A sandboxed code execution tool that runs short programs without using your computer's files or network. It supports Python, JavaScript, TypeScript, Go, Rust, Java, C, C++, Ruby, and PHP.

zhinjs/zhin · 87 tokens

art-of-debugging

Systematic methodology and concrete tool recipes for debugging Unix, Python, and PyTorch programs - crashes, hangs, segfaults, wrong output, CUDA OOM, NaN/Inf, slowness, and multi-node/multi-GPU issues. Use when a program crashes, hangs, deadlocks, segfaults, runs out of memory (OOM), produces NaN/Inf or wrong…

stas00/the-art-of-debugging · 193 tokens

operate-ai-stack

Develop, test, and troubleshoot this generated AI or ML workload across its framework, model and embedding providers, retrieval stores, interfaces, training, serving, and observability layers. Use when changing prompts, tools, agents, RAG, MCP, inference, fine-tuning, evaluations, or provider integration.

leynier/python-template · 65 tokens

inference-precision-tensor-dump-compare

A debugging tool that captures intermediate tensors, the numerical data passed between model layers, during inference and compares them between GPUs and Ascend NPUs. It supports vLLM and SGLang inference frameworks.

ascend-ai-coding/awesome-ascend-skills · 87 tokens