Skip to content
Agent Orchestration
Skill

/debug

Systematic debug workflow: research → orchestrate agents → escalate. Suggest when: stuck after 2-3 attempts, unfamiliar tooling, tempted to "try random things", or errors don't match documentation.

From plugin
lionagi
41312 skills2 agents1 MCP

Claude Code

$ npx -y skills add ohdearquant/lionagi --skill debug --agent claude-code

SKILL.md

debug.SKILL.md
name: debug
description: >
  Systematic debug workflow: research → orchestrate agents → escalate. Suggest when:
  stuck after 2-3 attempts, unfamiliar tooling, tempted to "try random things",
  or errors don't match documentation.
allowed-tools: [Bash, Read, Grep, Glob, WebSearch, WebFetch]

Debug

Systematic approach to difficult debugging. Research → Orchestrate → Escalate.

Activation Triggers

  • Stuck on error after 2-3 failed fix attempts
  • Unfamiliar library or dependency version
  • Tempted to "try things randomly"
  • Complex multi-system interactions
  • Error messages that don't match documentation

Anti-Patterns

  • **Random flailing**: Trying fixes without understanding the problem
  • **Editing generated files**: Modifying auto-generated output instead of fixing the source
  • **Shallow fixes**: Adding workarounds without understanding root cause
  • **Silent struggling**: Not asking for help when clearly stuck
  • **Cheating through**: Disabling features or tests instead of fixing them

Workflow Summary

| Phase | Action | Gate | |-------|--------|------| | **1. Research** | Check prior runs, search codebase, spawn researcher agent | 2-3 focused queries before any fix attempt | | **2. Orchestrate** | Parallel diagnostic agents via `fanout.submit`, or a focused agent via `agent.submit` | Agent must produce actionable insight | | **3. Escalate** | Generate consultation request with full evidence | Must demonstrate exhaustive research first | | **4. Document** | Write fix to `./notes/debug-log.md` | Only after resolution |

See [research-protocol.md](research-protocol.md) for detailed methodology, agent selection table, phase-by-phase MCP calls, and escalation template.

Key Principles

  • **Research before action**: Never try fixes without understanding the problem
  • **Be specific**: Vague queries yield vague answers
  • **Document attempts**: Track what was tried and what happened
  • **Ask early**: Better to ask for help than waste time flailing
  • **Store the fix**: Future sessions will thank present you

Relevant Source Files

These are the CLI-side entry points; read them if you're working inside a lionagi checkout. A plugin install has no access to them — it only sees the MCP server.

  • `lionhub/src/lionhub/serve/cli/agent.py` — `li agent`, the CLI counterpart of `agent.submit`
  • `lionhub/src/lionhub/serve/cli/orchestrate/fanout.py` — `li o fanout`, the CLI counterpart of `fanout.submit`
  • `lionhub/src/lionhub/orchestration/runs.py` — run persistence at `~/.lionagi/runs/`, also readable

through `job.status` / `job.output`

Read more
@ohdearquant
Ships withlionagi

lionagi is a governed multi-agent orchestration framework. Build agent workflows in Python with typed, inspectable state, or run them straight from the terminal with the li CLI: single agents, parallel fan-outs, and DAG flows where an orchestrator plans

41312 skills2 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
413
Star history of ohdearquant/lionagi on GitHub, a chart by star-history.com

Other skills on lionagi.

fanout

fanout

Fan one task out to multiple independent lionagi workers through `fanout.submit`, optionally synthesizing their answers. Use when…

@ohdearquant@ohdearquantInstall Skill
flow

flow

Plan and run a dependency-aware lionagi DAG through `flow.submit`, including dry runs and reactive follow-up capacity. Use when…

@ohdearquant@ohdearquantInstall Skill
orchestrate

orchestrate

Plan and execute multi-agent workflows through lionagi's orchestration MCP tool: flow.submit (DAG pipelines), fanout.submit…

@ohdearquant@ohdearquantInstall Skill
play

play

Run an existing lionagi playbook through the orchestration MCP server and retrieve its background result. Use when a saved…

@ohdearquant@ohdearquantInstall Skill
playbook

playbook

Author lionagi playbooks — reusable YAML workflow templates that define parametric agent tasks. Playbooks live at…

@ohdearquant@ohdearquantInstall Skill
pr-review

pr-review

Multi-perspective PR review procedure. Plan a minimal DAG of specialists scoped to what the PR actually touches, synthesize with…

@ohdearquant@ohdearquantInstall Skill

More skills from other plugins.

1password

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

openclaw6d395k
@steipete@steipeteInstall Skill
jira-tickets

jira-tickets

Read and update Jira tickets through Orca's saved Jira connections. Use when a task comes from Jira or the user asks for Jira…

orca4d128k
@stablyai@stablyaiInstall Skill
agentmail

agentmail

Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…

paperclip5d114k
@paperclipai@paperclipaiInstall Skill
adr-create

adr-create

Create a new Architecture Decision Record with sequential numbering and AgentDB registration

@ruvnet@ruvnetInstall Skill

Questions about debug.

Which coding agents can use debug?
debug installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.