gdb-cli
GDB debugging assistant for AI agents - analyze core dumps, debug live processes, investigate crashes and deadlocks with source code correlation
npx skills add sickn33/agentic-awesome-skills --skill gdb-cli --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# GDB Debugging Assistant ## Overview A GDB debugging skill designed for AI agents. Combines **source code analysis** with **runtime state inspection** using gdb-cli to provide intelligent debugging assistance for C/C++ programs. ## When to Use This Skill - Analyze core dumps or crash dumps - Debug running processes with GDB attach - Investigate crashes, deadlocks, or memory issues - Get intelligent debugging assistance with source code context - Debug multi-threaded applications ## Do Not Use This Skill When - The task is unrelated to C/C++ debugging - The user needs general-purpose assistance without debugging - No GDB is available (GDB 9.0+ with Python support required) ## Prerequisites ```bash # Install gdb-cli pip install gdb-cli # Or from GitHub pip install git+https://github.com/Cerdore/gdb-cli.git # Verify GDB has Python support gdb -nx -q -batch -ex "python print('OK')" ``` **Requirements:** - Python 3.6.8+ - GDB 9.0+ with Python support enabled - Linux OS ## How It Works ### Step 1: Initialize Debug Session **For core dump analysis:** ```bash gdb-cli load --binary <binary_path> --core <core_path> [--gdb-path <gdb_path>] ``` **For live process debugging:** ```bash gdb-cli
- Overview
- When to Use This Skill
- Do Not Use This Skill When
- Prerequisites
- How It Works
- Step 1: Initialize Debug Session
- Step 2: Gather Initial Information
- Step 3: Correlate Source Code (CRITICAL)
- Step 4: Deep Investigation
- Step 5: Session Management
- Common Debugging Patterns
- Pattern: Null Pointer Dereference
- Pattern: Deadlock
- Pattern: Memory Corruption
Install gdb-cli
pip install gdb-cli
Or from GitHub
pip install git+https://github.com/Cerdore/gdb-cli.git
Verify GDB has Python support
gdb -nx -q -batch -ex "python print('OK')"
gdb-cli load --binary <binary_path> --core <core_path> [--gdb-path <gdb_path>]
gdb-cli attach --pid <pid> [--binary <binary_path>]
List all threads
gdb-cli threads -s $SESSIONWhat does the gdb-cli skill do?
GDB debugging assistant for AI agents - analyze core dumps, debug live processes, investigate crashes and deadlocks with source code correlation
How do I install it?
Run `npx skills add sickn33/agentic-awesome-skills --skill gdb-cli --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From sickn33/agentic-awesome-skills, a repository with 44,414 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.