Agent skill
gdbserver
GDB Server skill for the ikigai project
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/gdbserver
SKILL.md
GDB Server
Description
Remote debugging with gdbserver for TUI apps that use alternate screen buffer.
Why gdbserver
This app uses the alternate terminal buffer. Running GDB directly would conflict with the TUI. gdbserver separates the debugger from the application's terminal.
Workflow
Terminal 1 - Start app under gdbserver:
gdbserver :1234 ./ikigai
Terminal 2 - Connect with GDB:
gdb ./ikigai -ex "target remote :1234"
Key Commands
bt # Backtrace
frame N # Select stack frame
info locals # Local variables
print var # Inspect variable
list # Source at current location
break file:line # Set breakpoint
continue # Resume execution
step / next # Step into / over
When Crashes Occur
gdbserver keeps the crashed process frozen. Connect and inspect:
gdb ./ikigai -ex "target remote :1234"
(gdb) bt # See crash location
(gdb) info registers
(gdb) print *ptr # Inspect state at crash
Limitations
- TUI output not visible (process attached to gdbserver)
- Very early crashes may need coredump analysis instead
- Inspect internal state via variables, not screen output
References
- GDB manual: https://sourceware.org/gdb/current/onlinedocs/gdb/
- See
coredump.mdfor early crash debugging
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
riot-games
Manage Riot Games account, track stats across League, Valorant, and more
parcel
Provides comprehensive guidance for Parcel bundler including zero-configuration setup, asset handling, hot module replacement, and production builds. Use when the user asks about Parcel, needs to set up a build tool quickly, or work with Parcel's automatic configuration.
bbs
Manage issues with The Fold's CAS-native BBS (Bulletin Board System). Use for creating, updating, searching, and tracking issues. Invoke when the user wants to create tickets, find work, check issue status, or manage dependencies.
jito-bundles-and-priority-fees
Master Jito bundles for MEV protection and priority fee optimization on Solana - bundle submission, tip strategies, and transaction landing. Use for trading bots, high-priority transactions, and MEV-aware applications.
observability-monitoring-monitor-setup
You are a monitoring and observability expert specializing in implementing comprehensive monitoring solutions. Set up metrics collection, distributed tracing, log aggregation, and create insightful da
makefile-review
Didn't find tool you were looking for?