Agent skill

Debug Pro

by CraftOS-dev in CraftOS-dev/CraftBot

Advanced debugging assistance and error analysis. An agent skill from CraftOS-dev/CraftBot.

MITAuto-check: notesDevelopment

Install Debug Pro

skills CLI
$ npx skills add CraftOS-dev/CraftBot --skill debug-pro -a claude-code

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

GitHub CLI
$ gh skill install CraftOS-dev/CraftBot debug-pro --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/CraftOS-dev/CraftBot.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/debug-pro .claude/skills/debug-pro && 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
debug-pro
GitHub stars
392
Token cost
~931 tokens
SKILL.md length
224 words
Files
3
Skills in repo
89
Repo updated
First seen
Licence
MIT

At a glance

Advanced debugging assistance and error analysis. An agent skill from CraftOS-dev/CraftBot.

  • Works in 7 steps: Reproduce — Get it to fail consistently.… → Isolate — Narrow scope. Comment out… → Hypothesize — Form a specific, testable… → …
  • The user encounters bugs
  • SKILL.md covers The 7-Step Debugging Protocol, Language-Specific Debugging, Common Error Patterns and Quick Diagnostic Commands
  • Calls git, python and node

What it does

Debug Pro is an agent skill from CraftOS-dev/CraftBot. Advanced debugging assistance and error analysis. Use this skill when the user encounters bugs, errors, crashes, or unexpected behavior in their code. Covers systematic 7-step debugging methodology, language-specific debugging tools (JS/TS, Python, Swift, CSS, Network), git bisect, common error patterns, and quick diagnostic commands.

Its SKILL.md is about 930 tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files (for example `.clawhub/origin.json` and `_meta.json`).

It sits in Development, covering Debugging, iOS development and Git workflow. It works with Git and Python. The repository describes itself as: One agent. Every kind of work. The licence is MIT.

When your agent uses it

  • The user encounters bugs
  • Unexpected behavior in their code

Example prompts

  • “/debug-pro”

Requirements

  • Python 3
  • Node.js

Workflow steps

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

  1. Reproduce — Get it to fail consistently. Document exact steps, inputs, and environment.
  2. Isolate — Narrow scope. Comment out code, use binary search, check recent commits with git bisect.
  3. Hypothesize — Form a specific, testable theory about the root cause.
  4. Instrument — Add targeted logging, breakpoints, or assertions.
  5. Verify — Confirm root cause. If hypothesis was wrong, return to step 3.
  6. Fix — Apply the minimal correct fix. Resist the urge to refactor while debugging.
  7. Regression Test — Write a test that catches this bug. Verify it passes.

What it can do on your machine

Read from SKILL.md and the folder at commit b50970c. 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

    Shell commands in SKILL.md call:

    • git
    • python
    • node
    • curl
    • npm

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

  • Network

    No URLs in SKILL.md. Its commands use git, curl and npm, which can reach the network depending on how they are called.

    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

Debug Pro loads about 931 tokens when it runs. Until then it costs about 87 tokens; SKILL.md has 224 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~87
When it runs · the whole SKILL.md, loaded when a task matches
~931

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: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteRuns commands with sudoSKILL.md:109
    ermission issue | Check chmod, firewall, sudo |

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

The full file from CraftOS-dev/CraftBot at commit b50970c, republished under its MIT licence (© CraftOS-dev). 224 words, ~931 tokens.

Download SKILL.mdSave it as .claude/skills/debug-pro/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
debug-pro
description
Advanced debugging assistance and error analysis. Use this skill when the user encounters bugs, errors, crashes, or unexpected behavior in their code. Covers systematic 7-step debugging methodology, language-specific debugging tools (JS/TS, Python, Swift, CSS, Network), git bisect, common error patterns, and quick diagnostic commands.

debug-pro

Systematic debugging methodology and language-specific debugging commands.

The 7-Step Debugging Protocol

  1. Reproduce — Get it to fail consistently. Document exact steps, inputs, and environment.
  2. Isolate — Narrow scope. Comment out code, use binary search, check recent commits with git bisect.
  3. Hypothesize — Form a specific, testable theory about the root cause.
  4. Instrument — Add targeted logging, breakpoints, or assertions.
  5. Verify — Confirm root cause. If hypothesis was wrong, return to step 3.
  6. Fix — Apply the minimal correct fix. Resist the urge to refactor while debugging.
  7. Regression Test — Write a test that catches this bug. Verify it passes.

Language-Specific Debugging

JavaScript / TypeScript
bash
# Node.js debugger
node --inspect-brk app.js
# Chrome DevTools: chrome://inspect

# Console debugging
console.log(JSON.stringify(obj, null, 2))
console.trace('Call stack here')
console.time('perf'); /* code */ console.timeEnd('perf')

# Memory leaks
node --expose-gc --max-old-space-size=4096 app.js
Python
bash
# Built-in debugger
python -m pdb script.py

# Breakpoint in code
breakpoint()  # Python 3.7+

# Verbose tracing
python -X tracemalloc script.py

# Profile
python -m cProfile -s cumulative script.py
Swift
bash
# LLDB debugging
lldb ./MyApp
(lldb) breakpoint set --name main
(lldb) run
(lldb) po myVariable

# Xcode: Product → Profile (Instruments)
CSS / Layout
css
/* Outline all elements */
* { outline: 1px solid red !important; }

/* Debug specific element */
.debug { background: rgba(255,0,0,0.1) !important; }
Network
bash
# HTTP debugging
curl -v https://api.example.com/endpoint
curl -w "@curl-format.txt" -o /dev/null -s https://example.com

# DNS
dig example.com
nslookup example.com

# Ports
lsof -i :3000
netstat -tlnp
Git Bisect
bash
git bisect start
git bisect bad              # Current commit is broken
git bisect good abc1234     # Known good commit
# Git checks out middle commit — test it, then:
git bisect good  # or  git bisect bad
# Repeat until root cause commit is found
git bisect reset

Common Error Patterns

ErrorLikely CauseFix
Cannot read property of undefinedMissing null check or wrong data shapeAdd optional chaining (?.) or validate data
ENOENTFile/directory doesn't existCheck path, create directory, use existsSync
CORS errorBackend missing CORS headersAdd CORS middleware with correct origins
Module not foundMissing dependency or wrong import pathnpm install, check tsconfig paths
Hydration mismatch (React)Server/client render different HTMLEnsure consistent rendering, use useEffect for client-only
Segmentation faultMemory corruption, null pointerCheck array bounds, pointer validity
Connection refusedService not running on expected portCheck if service is up, verify port/host
Permission deniedFile/network permission issueCheck chmod, firewall, sudo

Quick Diagnostic Commands

bash
# What's using this port?
lsof -i :PORT

# What's this process doing?
ps aux | grep PROCESS

# Watch file changes
fswatch -r ./src

# Disk space
df -h

# System resource usage
top -l 1 | head -10

© CraftOS-dev, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files in skills/debug-pro of CraftOS-dev/CraftBot.

  • SKILL.md
  • .clawhub/origin.json
  • _meta.json

Open the folder on GitHubat commit b50970c

Compare with similar skills

Debug Pro 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.

Debug Pro compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Debug Pro this skillCraftOS-dev/CraftBot392—~931Automated safety check: NotesMIT
Git History Bug Auditben-manes/caffeine18k—~3.3kAutomated safety check: PassApache-2.0
Skyvern Version BumpSkyvern-AI/skyvern23k—~1kAutomated safety check: NotesAGPL-3.0
Saleor Commit Workflowsaleor/saleor23k—~575Automated safety check: PassBSD-3-Clause
pybind11 Release Preparationpybind/pybind1118k—~1.7kAutomated safety check: PassCustom licence
pybind11 Release Publicationpybind/pybind1118k—~2.5kAutomated safety check: PassCustom licence

Similar skills

  • Git History Bug Audit

    ben-manes/caffeine

    Audits a module by walking its git history commit by commit, tracking unresolved issues forward, and reporting the ones that survive to HEAD as findings.

    18k GitHub stars~3.3k tokensUpdated 2 days ago
    DevelopmentAuto-check passed
  • Skyvern Version Bump

    Skyvern-AI/skyvern

    Walks through a Skyvern open-source release bump: update the version, rebuild the Python and TypeScript SDKs with Fern, commit, and open a pull request.

    23k GitHub stars~1k tokensUpdated today
    DevelopmentAuto-check: notes
  • Commits changes in the Saleor codebase and works through pre-commit hook failures from ruff, mypy, the GraphQL schema check and the migrations check.

    23k GitHub stars~575 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Opens the pybind11 release-preparation pull request: picking the release base, bumping the version in common.h and integrating the changelog, following docs/release.rst.

    18k GitHub stars~1.7k tokensUpdated today
    DevelopmentAuto-check passed
  • Walks a maintainer through publishing a pybind11 release after the preparation PR merges, with preflight checks, confirmations before each push and a GitHub release.

    18k GitHub stars~2.5k tokensUpdated today
    DevelopmentAuto-check passed
  • Adk Git

    google/adk-python

    Official

    Writes commit messages and pull request descriptions for the adk-python repository: Conventional Commits types and scopes, subject lines that say why a change was made, and the linked-issue and…

    22k GitHub stars~1.3k tokensUpdated today
    DevelopmentAuto-check passed

More from CraftOS-dev/CraftBot

All 89 skills in this repo
  • Self Improvement

    CraftOS-dev/CraftBot

    Captures learnings, errors, and corrections to enable continuous improvement.

    392 GitHub starsUsed in 5 repos~4.9k tokens
    Auto-check passed
  • Bbc News

    CraftOS-dev/CraftBot

    Fetch and display BBC News stories from various sections and regions via RSS feeds.

    392 GitHub starsUsed in 2 repos~555 tokens
    Auto-check passed
  • Outlook

    CraftOS-dev/CraftBot

    Read, search, and manage Outlook emails and calendar via Microsoft Graph API.

    392 GitHub starsUsed in 2 repos~1.8k tokens
    Auto-check passed
  • Nano Banana Pro

    CraftOS-dev/CraftBot

    Generate/edit images with Nano Banana Pro (Gemini 3 Pro Image).

    392 GitHub starsUsed in 6 repos~1.4k tokens
    Auto-check passed
  • Airweave

    CraftOS-dev/CraftBot

    Context retrieval layer for AI agents across users' applications.

    392 GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed
  • Telegram Bot Manager

    CraftOS-dev/CraftBot

    Manage and configure Telegram bots for OpenClaw. An agent skill from CraftOS-dev/CraftBot.

    392 GitHub stars~836 tokensUpdated yesterday
    Auto-check passed

Works with

Categories

Questions about Debug Pro

What does Debug Pro do?

Advanced debugging assistance and error analysis. An agent skill from CraftOS-dev/CraftBot. Debug Pro is an agent skill from CraftOS-dev/CraftBot. Advanced debugging assistance and error analysis.

When should I use Debug Pro?

Debug Pro fits situations like: the user encounters bugs; unexpected behavior in their code.

How do I install Debug Pro in Claude Code?

Run `npx skills add CraftOS-dev/CraftBot --skill debug-pro -a claude-code`. Or copy the skill folder (skills/debug-pro in CraftOS-dev/CraftBot) into .claude/skills/debug-pro in your project. Claude Code loads it when a task matches its description.

How do I install Debug Pro in Codex?

Run `npx skills add CraftOS-dev/CraftBot --skill debug-pro -a codex`. Or copy the skill folder (skills/debug-pro in CraftOS-dev/CraftBot) into .agents/skills/debug-pro in your project. Codex loads it when a task matches its description.

Can I use Debug Pro 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 CraftOS-dev/CraftBot --skill debug-pro -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/debug-pro, .gemini/skills/debug-pro, .github/skills/debug-pro and .opencode/skills/debug-pro in your project.

What does Debug Pro need to run?

Going by SKILL.md and its folder, Debug Pro needs the command-line tools its instructions call (git, python, node, curl and npm). Our summary lists: Python 3; Node.js.

Does Debug Pro access the network?

SKILL.md contains no URLs. Its commands use git, curl and npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Debug Pro safe to install?

Our automated static check of SKILL.md found notes only (runs commands with sudo), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Debug Pro use?

Debug Pro is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Debug Pro use?

About 931 tokens (SKILL.md is roughly 3.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Debug Pro?

Skills that share tags, products or a category with Debug Pro: Git History Bug Audit (ben-manes/caffeine, 18k stars), Skyvern Version Bump (Skyvern-AI/skyvern, 23k stars), Saleor Commit Workflow (saleor/saleor, 23k stars) and pybind11 Release Preparation (pybind/pybind11, 18k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Debug Pro?

CraftOS-dev (a GitHub user) maintains it in CraftOS-dev/CraftBot, which has 392 GitHub stars. The repository holds 89 skills in this directory. The repository was last updated on October 7, 2026.

Source: CraftOS-dev/CraftBot on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.