output-build-workflow
Implement an Output SDK workflow from a plan document. Use when the user asks to build, implement, or code a workflow from an…
Check the status of an Output SDK workflow execution. Use when monitoring a running workflow, checking if a workflow completed, or determining workflow state (RUNNING, COMPLETED, FAILED, TERMINATED).
Claude Code
$ npx -y skills add growthxai/output --skill output-workflow-status --agent claude-code
Codex
$ npx skills add growthxai/output --skill output-workflow-status -a codex -y
Cursor
$ npx skills add growthxai/output --skill output-workflow-status -a cursor -y
Gemini CLI
$ npx skills add growthxai/output --skill output-workflow-status -a gemini-cli -y
GitHub Copilot
$ npx skills add growthxai/output --skill output-workflow-status -a github-copilot -y
OpenCode
$ npx skills add growthxai/output --skill output-workflow-status -a opencode -y
Windsurf
$ npx skills add growthxai/output --skill output-workflow-status -a windsurf -y
name: output-workflow-status description: Check the status of an Output SDK workflow execution. Use when monitoring a running workflow, checking if a workflow completed, or determining workflow state (RUNNING, COMPLETED, FAILED, TERMINATED). allowed-tools: [Bash]
This skill checks the current execution status of a workflow. Use it to monitor running workflows, verify completion, or determine if a workflow failed before attempting to get its result.
npx output workflow status <workflowId>
Replace `<workflowId>` with the ID from `npx output workflow start` or `npx output workflow runs list`.
| Status | Meaning | Next Action | |--------|---------|-------------| | RUNNING | Workflow is currently executing | Wait and check again | | COMPLETED | Workflow finished successfully | Get result with `npx output workflow result` | | FAILED | Workflow encountered an error | Debug with `npx output workflow debug` | | TERMINATED | Workflow was manually stopped | Review if expected, restart if needed | | TIMED_OUT | Workflow exceeded time limit | Check for long operations, adjust timeout |
**Scenario**: Monitor a running workflow
# Start a workflow
npx output workflow start data-sync --input '{"source": "external"}'
# Output: Workflow ID: sync-abc123
# Check status
npx output workflow status sync-abc123
# Output: Status: RUNNING
# Wait and check again
sleep 30
npx output workflow status sync-abc123
# Output: Status: COMPLETED**Scenario**: Poll for completion in a script
WORKFLOW_ID="abc123xyz"
while true; do
STATUS=$(npx output workflow status $WORKFLOW_ID)
echo "Current status: $STATUS"
if [[ "$STATUS" == *"COMPLETED"* ]]; then
echo "Workflow completed!"
npx output workflow result $WORKFLOW_ID
break
elif [[ "$STATUS" == *"FAILED"* ]]; then
echo "Workflow failed!"
npx output workflow debug $WORKFLOW_ID --json
break
fi
sleep 10
done**Scenario**: Check before getting result
# Verify status first npx output workflow status my-workflow-123 # If COMPLETED, get result npx output workflow result my-workflow-123 # If FAILED, debug instead npx output workflow debug my-workflow-123 --json
**Scenario**: Batch status check
# Check multiple workflows for id in abc123 def456 ghi789; do echo "Workflow $id: $(npx output workflow status $id)" done
Workflows typically follow these paths:
RUNNING -> COMPLETED (success) RUNNING -> FAILED (error occurred) RUNNING -> TERMINATED (manually stopped) RUNNING -> TIMED_OUT (exceeded limit)
The status command returns information including:
1. Check if the workflow is stuck: `npx output workflow debug <id>` 2. Look for infinite loops or waiting operations 3. Consider stopping: `npx output workflow stop <id>`
The open-source TypeScript framework for building AI workflows and agents. Designed for Claude Code — describe what you want, Claude builds it, with all the best practices already in place. One framework.
Implement an Output SDK workflow from a plan document. Use when the user asks to build, implement, or code a workflow from an…
View, edit, and set encrypted credentials in an Output.ai project. Use when adding secrets, updating API keys, verifying…
Wire encrypted credentials to environment variables using the credential: convention. Use when setting up LLM provider keys…
Initialize encrypted credentials for an Output.ai project. Use when setting up credentials for the first time, adding…
Debug Output SDK workflow issues. Use when user reports a workflow failing, erroring, hanging, producing wrong results, or asks…
Use the Agent class for multi-step tool loops, conversation history, streaming progress, and reusable LLM agents. Use when…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.