godebug

Debug Go applications via Delve commands returning structured JSON output.

3|Updated Feb 2, 2026
One-click install
npx skills add https://github.com/8gears/godebug-agentic --skill godebug
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: godebug
Source: https://github.com/8gears/godebug-agentic/tree/main/.claude/skills/godebug
Command: npx skills add https://github.com/8gears/godebug-agentic --skill godebug

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a stateless CLI debugger for Go applications using Delve. It enables AI agents to control debugging workflows by issuing single commands that return structured JSON and exit, enabling reproducible tool use in automated contexts.

Core Features & Use Cases

  • Deterministic debugging: Execute single commands that produce JSON output and terminate, ideal for AI-agent workflows.
  • Breakpoint and state inspection: Set breakpoints, inspect locals/stack, and navigate goroutines in remote or local sessions.
  • Automation-friendly workflows: Integrates with automation pipelines to orchestrate debugging steps without interactive sessions.

Quick Start

Start a Delve session in headless mode or attach to a running server, then issue commands such as:

  • godebug start ./cmd/myapp
  • godebug --addr 127.0.0.1:2345 break main.go:42
  • godebug --addr 127.0.0.1:2345 locals
  • godebug --addr 127.0.0.1:2345 quit

Frequently Asked Questions about godebug

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I debug Go applications in an automated AI pipeline?

Debug Go applications in automated AI pipelines by using a stateless debugger that executes single commands, returns structured JSON, and exits for deterministic, reproducible workflows without interactive sessions.

Can I inspect locals and stack traces from a remote Delve session?

Yes, inspect locals and stack traces from a remote Delve session by connecting to a headless API address and issuing single commands that return machine-readable JSON output for state inspection.

What is the best way to control Delve breakpoints for AI agents?

Control Delve breakpoints for AI agents by using a stateless CLI that sets breakpoints and navigates goroutines via single commands, ensuring machine-readable outputs instead of interactive prompts.

Does this stateless debugger support goroutines and source file navigation?

Yes, this stateless debugger supports goroutines and source file navigation through Delve headless APIs, allowing automation pipelines to query sources and execute step commands while returning structured JSON.

Why does my automated Go debugging fail with interactive CLI sessions?

Automated Go debugging fails with interactive CLI sessions because they block pipelines waiting for user input; a stateless single-command debugger solves this by executing actions, returning JSON, and terminating immediately.