Skip to content

Conservative, approval-gated diagnosis for deep learning failures, with debug fixes kept separate from research contributions.

CCM score
49 of 100
skills.sh installs
365.5K
GitHub stars
489
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers diagnosis of tracebacks, CUDA OOM, checkpoint load failures, shape mismatches, NaN loss, and training failures before any patching
  • Writes DIAGNOSIS.md, PATCH_PLAN.md, and status.json to debug_outputs/ as its outputs
  • Enforces a diagnose-first flow where repository code is not modified without explicit approval and savepoints for riskier changes
  • Designed for research work where a debug fix that alters experiment meaning or comparability must be flagged explicitly

Install

$ npx -y skills add lllllllama/rigorpilot-skills --skill safe-debug -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

safe-debug

Use this as the Rigor Debug / Rigor Audit skill. The installed slug remains safe-debug for compatibility.

Use the shared operating principles in ../ai-research-reproduction/references/agent-operating-principles.md; this skill should guide conservative diagnosis without blocking the model from finding the local root cause.

When to apply

  • The user provides a traceback, terminal error, or concrete training or inference failure symptom.
  • The user wants diagnosis, root-cause narrowing, and minimal patch suggestions before code is changed.
  • The user wants a safe debug flow with explicit human approval before mutation.

When not to apply

  • When the user wants a broad repository walkthrough without an active failure.
  • When the task is speculative experimentation or code adaptation.
  • When the user is asking for a large refactor or readability rewrite.

Clear boundaries

Details

Repository
github.com/lllllllama/rigorpilot-skills
Categories
Debugging, Data Science & Analytics
First seen
Jul 14, 2026

Questions

What does the safe-debug skill do when a training run fails?

safe-debug takes a pasted traceback, terminal error, CUDA OOM, checkpoint load failure, shape mismatch, NaN loss, or training failure and gives a conservative diagnosis first. It writes DIAGNOSIS.md, PATCH_PLAN.md and status.json, and it does not change repository code unless the user approves a minimal fix.

How do I install safe-debug and what does it then let the agent do?

Run npx -y skills add lllllllama/rigorpilot-skills --skill safe-debug -y in your project. After installation, the agent can diagnose deep learning research failures and propose the smallest patch, with debug fixes kept separate from research contributions.

Where does safe-debug rank among debugging skills?

safe-debug is in the Debugging category on Claude Marketplaces and ranks in the top 3 there, alongside diagnosing-bugs, systematic-debugging and investigate-first. It differs from those by being built for deep learning research failures and by requiring diagnosis before any patching.

Who should use safe-debug and when should they not?

It suits researchers who hit a concrete failure in a deep learning training or inference run and want diagnosis before code changes. It should not be used for broad refactoring, speculative adaptation, automatic exploratory patching, or general repository familiarization.

More from lllllllama/rigorpilot-skills

All 11

Similar to Safe Debug

More Debugging