skills/debugging-workflows/SKILL.md
Debug workflow execution issues including syntax errors, agent failures, variable problems, and execution errors. Use when workflows fail, produce unexpected results, or user asks for debugging help.
npx skillsauth add mbruhler/claude-orchestration debugging-workflowsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
I help diagnose and fix workflow execution issues using systematic debugging techniques.
I activate when you:
Problem: Workflow won't parse
Symptoms:
Solutions:
->, ||, ~> (not => or &&)[...]"instruction"Problem: Agent reference doesn't resolve
Symptoms:
Solutions:
temp-agents/agent-name.mdagents/registry.jsonProblem: Variables not passing correctly
Symptoms:
{variable} shows as literal textSolutions:
agent:"task":variable_name"Use {variable_name}"Problem: Parallel tasks failing or hanging
Symptoms:
Solutions:
[task1 || task2 || task3]Problem: Checkpoints not triggering
Symptoms:
Solutions:
@checkpoint-nameRun workflow with minimal changes to reproduce issue.
Simplify workflow to find problematic section:
# If this fails:
step1 -> step2 -> step3 -> step4
# Try:
step1 -> step2 # Works?
step3 -> step4 # Works?
Check execution logs for error details.
Apply targeted fix based on findings.
Run full workflow to ensure fix works.
| Error | Meaning | Fix | |-------|---------|-----| | "Unexpected token" | Syntax error | Check syntax around error location | | "Agent not found" | Missing agent | Verify agent exists and spelling | | "Variable not found" | Variable undefined | Check variable was captured | | "Condition failed" | Condition not met | Check condition logic | | "Execution timeout" | Task took too long | Add timeout handling or simplify task |
✅ DO:
❌ DON'T:
# Check temp agents exist
ls temp-agents/
# Verify agent registry
cat agents/registry.json
# Check workflow syntax file
cat examples/workflow-name.flow
Workflow not working? Show me the error and I'll help debug!
data-ai
Use and customize workflow templates for common scenarios. Use when user wants to use a template, asks about available templates, or wants to customize existing workflows.
documentation
Use when user has complex multi-agent workflows, needs to coordinate sequential or parallel agent execution, wants workflow visualization and control, or mentions automating repetitive multi-agent processes - guides discovery and usage of the orchestration system
tools
Create and execute temporary scripts (Python, Node.js, shell) during workflow execution for API integrations, data processing, and custom tools. Use when user needs to interact with external APIs, process data with specific libraries, or create temporary executable code.
testing
Manages temporary and defined agents including creation, promotion, cleanup, and namespacing. Use when user creates custom agents, asks about agent lifecycle, temp agents, or agent management.