Safe Debug
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
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, andstatus.jsontodebug_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 -yInstalls 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 11Similar to Safe Debug
More Debuggingdebugging-and-error-recoveryaddyosmani/agent-skills81.5K installsGuided root-cause debugging that triages failures, localizes the layer, and fixes the cause rather than the symptom.
code-debugginglingzhi227/agent-research-skills1.7K installsStructured debugging for failing experiment code, with error categorization, targeted fixes, and reflection to prevent repeats.
analyze-projectlllllllama/rigorpilot-skills366.1K installsRead-only analysis skill that maps deep learning repositories without modifying code or running heavy jobs.
debuggersickn33/agentic-awesome-skills379 installsSystematic root-cause debugger that reproduces failures, tests competing hypotheses, and reports verified fixes.
investigate-firstjuliusbrussee/caveman134.8K installsDiagnostic workflow that ranks hypotheses by evidence and blocks code edits until one mechanism is proven.
debug-like-expertglittercowboy/taches-cc-resources178 installsDeep analysis debugging protocol that gathers evidence, tests hypotheses, and verifies fixes before changes.