Agent skill · AI & Agents

hive-debugger

Interactive debugging companion for Hive agents - identifies runtime issues and proposes solutions

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill hive-debugger-aden-hive-hive --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 33 KB
Bundled scripts: none
Version: 1.0.0
Path: skills/agent/hive-debugger-aden-hive-hive/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

Review
written from the skill's own SKILL.md · Aug 5, 2026

What it does

An interactive debugging companion for Hive agents that analyzes runtime logs at three levels (L1/L2/L3), categorizes issues, and provides actionable fix recommendations.

How it works

  • When to use: Trigger with "/hive-debugger" for failing agents, understanding retries, failing tool calls, stalls, or real-time monitoring during development.
  • Workflow stages: Setup/context gathering, Mode Selection (Real-time, Post-Mortem, Historical), Triage (identify runs needing attention via MCP tool), Diagnosis (per-node failures and patterns), Root Cause Analysis (detailed log scrutiny), and Fix Recommendations.
  • Stage 1 collects agent name, working directory, goal, constraints, and graph nodes/edges from agent.json and exports paths.
  • Stage 2 presents three modes via AskUserQuestion and stores the chosen mode.
  • Stage 3 uses query_runtime_logs with status needs_attention to surface problematic runs, listing run IDs, status, and categories; prompts which run to inspect.
  • Stage 4 queries per-node details with query_runtime_log_details, then categorizes issues using the provided taxonomy (Missing Outputs, Tool Errors, Retry Loops, Guard Failures, Stalled Execution, High Latency, Client-Facing Issues, Edge Routing Errors, Memory/Context Issues, Constraint Violations).
  • Stage 5 uses query_runtime_log_raw for detailed evidence per problem node to explain root cause.
  • Stage 6 proposes fix recommendations using structured templates (Missing Outputs, Retry Loops, Tool Errors, Edge Routing, Stalled Execution).

When to use it

  • Use when your Hive agent is failing or giving unexpected results
  • Use to understand why a specific node is retrying or a tool call is failing
  • Use to monitor behavior in real-time during development
  • Forever-alive agents (terminal_nodes=[]): focus on node visit quality and loop iterations rather than terminal completion

What it can touch

  • Reads agent workspace and logs from: exports/{agent_name}/agent.json and ~/.hive/agents/{agent_name}/
  • Uses MCP tool calls: query_runtime_logs, query_runtime_log_details, query_runtime_log_raw (as described in the workflow steps)
  • Files touched in recommendations point to: exports/{agent_name}/nodes/{node_name}.py and exports/{agent_name}/agent.json when proposing fixes

Caveats

  • Behavior and outputs depend on the agent's actual logs and the MCP tool responses
  • Forever-alive agents generate different normal patterns (in_progress/paused) and should be interpreted accordingly
  • The guidance strictly follows the taxonomy and templates provided in the skill workflow
From the SKILL.md

# Hive Debugger An interactive debugging companion that helps developers identify and fix runtime issues in Hive agents. The debugger analyzes runtime logs at three levels (L1/L2/L3), categorizes issues, and provides actionable fix recommendations. ## When to Use This Skill Use `/hive-debugger` when: - Your agent is failing or producing unexpected results - You need to understand why a specific node is retrying repeatedly - Tool calls are failing and you need to identify the root cause - Agent execution is stalled or taking too long - You want to monitor agent behavior in real-time during development This skill works alongside agents running in TUI mode and provides supervisor-level insights into execution behavior. ### Forever-Alive Agent Awareness Some agents use `terminal_nodes=[]` (the "forever-alive" pattern), meaning they loop indefinitely and never enter a "completed" execution state. For these agents: - Sessions with status "in_progress" or "paused" are **normal**, not failures - High step counts, long durations, and many node visits are expected behavior - The agent stops only when the user explicitly exits — there is no graph-driven completion - Debug focus should be on *

What's inside
Steps it walks through
  1. When to Use This Skill
  2. Forever-Alive Agent Awareness
  3. Prerequisites
  4. Workflow
  5. Stage 1: Setup & Context Gathering
  6. Stage 2: Mode Selection
  7. Stage 3: Triage (L1 Analysis)
  8. Stage 4: Diagnosis (L2 Analysis)
  9. Stage 5: Root Cause Analysis (L3 Analysis)
  10. Stage 6: Fix Recommendations
  11. Stage 7: Verification Support
  12. MCP Tool Usage Guide
  13. Three Levels of Observability
  14. Session & Checkpoint Tools
Ships with 1 file
  • metadata.json
Commands it runs
hive tui
More from claude-skill-registry
All skills →
About this skill
What does the hive-debugger skill do?

Interactive debugging companion for Hive agents - identifies runtime issues and proposes solutions

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill hive-debugger-aden-hive-hive --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 majiayu000/claude-skill-registry, a repository with 534 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.

Keep going