/outputai:output-debug-workflowfrom outputai
Systematically debug Output SDK workflow issues by verifying services, listing workflow runs, and analyzing failures. Use when a workflow fails, errors, hangs, or produces wrong results.
Ships in outputai. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Your task is to systematically debug an Output SDK workflow issue in a local development environment.
The arguments the user provided describe the problem they're experiencing, and may include a specific workflow ID.
Use the todo tool to track your progress through the debugging process.
Follow a systematic approach to identify and resolve workflow execution issues: verify infrastructure, gather evidence, analyze traces, and apply targeted fixes.
<pre_flight_check>
EXECUTE: Claude Skill: output-meta-pre-flight
</pre_flight_check>
<process_flow>
Before debugging, confirm that all required services are operational. The output-services-check skill provides comprehensive guidance.
<verification_commands>
# Check Docker containers are running
docker ps | grep output
# Verify Output services respond
curl -s http://localhost:3001/health || echo "API not responding"
# Check Temporal UI is accessible
curl -s http://localhost:8080 > /dev/null && echo "Temporal UI accessible" || echo "Temporal UI not accessible"
</verification_commands>
<decision_tree> IF docker_not_running: RUN: docker compose up -d WAIT: for services to start (30-60 seconds) IF output_dev_not_running: RUN: npx output dev WAIT: for services to initialize IF all_services_running: PROCEED: to step 2 </decision_tree>
Expected State:
output are runninghttp://localhost:3001http://localhost:8080Identify the failing workflow execution by listing recent runs. The output-workflow-runs-list skill provides detailed filtering guidance.
<list_commands>
# List all recent workflow runs
npx output workflow runs list
# Filter by specific workflow type (if known)
npx output workflow runs list <workflowName>
# Get detailed JSON output for analysis
npx output workflow runs list --json
# Limit results to most recent
npx output workflow runs list --limit 10
</list_commands>
<identification_criteria> Look for:
<decision_tree>
IF user_provided_workflow_id:
USE: provided workflow ID
PROCEED: to step 3
IF failed_runs_found:
SELECT: most recent failed run
NOTE: workflow ID from output
PROCEED: to step 3
IF no_runs_found:
CHECK: workflow exists with npx output workflow list
IF workflow_not_found:
REPORT: workflow doesn't exist
SUGGEST: verify workflow name and location
ELSE:
SUGGEST: run the workflow with npx output workflow run <name>
</decision_tree>
Read and analyze the Temporal history of the identified workflow. The output-workflow-trace skill provides analysis techniques.
<debug_commands>
# One JSON document: an entry per workflow (the run, then its children) with its Temporal history events
npx output workflow debug <workflowId>
# A specific run, or another Temporal
npx output workflow debug <workflowId> --run-id <runId>
npx output workflow debug <workflowId> --profile <name>
</debug_commands>
Tip: The output is always JSON, so pipe it to jq. Check complete first (false means part of the tree was not read, see warnings). Long values are truncated with a marker; the full payload is in the Temporal UI.
<analysis_checklist>
<temporal_ui_guidance> For visual workflow inspection, open the Temporal Web UI at http://localhost:8080:
Based on the history analysis, identify the error pattern and suggest targeted fixes. Claude will invoke the relevant error skill based on symptoms.
<error_matching>
| Symptom | Skill |
|---|---|
| "incompatible schema" errors, type errors | output-error-zod-import |
| Replay failures, inconsistent results | output-error-nondeterminism |
| Retries not working, errors swallowed | output-error-try-catch |
| Type errors, undefined properties at step boundaries | output-error-missing-schemas |
| Workflow hangs, determinism errors | output-error-direct-io |
| Untraced requests, axios errors | output-error-http-client |
</error_matching>
<decision_tree> IF error_matches_known_pattern: INVOKE: relevant error skill for detailed fix ELSE: CONSULT: workflow-quality subagent for additional patterns SUGGEST: Manual trace inspection in Temporal UI </decision_tree>
After applying fix: ```bash # Re-run the workflow to verify npx output workflow run --input ''npx output workflow start --input '' npx output workflow status npx output workflow result
npx output workflow reset --step --reason ""
For targeted rerun after fixing a downstream step, see the `output-workflow-reset` skill.
</verification>
</step>
</process_flow>
<post_flight_check>
EXECUTE: Claude Skill: `output-meta-post-flight`
</post_flight_check>
---- START ----
Use the problem description and any optional workflow ID the user provided.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
51 skills in this plugin
/output-build-workflowImplement an Output SDK workflow from a plan document. Use when the user asks to build, implement, or code a workflow from an existing plan, or after output-plan-workflow has produced a plan and the user is ready to build./output-credentials-editView, edit, and set encrypted credentials in an Output.ai project. Use when adding secrets, updating API keys, verifying credential values, or retrieving a specific credential./output-credentials-env-varsWire encrypted credentials to environment variables using the credential: convention. Use when setting up LLM provider keys (ANTHROPIC_API_KEY, OPENAI_API_KEY) or any env var that should come from encrypted credentials.npx claudepluginhub growthxai/output --plugin outputaiOther plugins' skills for the same job