From outputai
Checks Output SDK workflow status (RUNNING, COMPLETED, FAILED, TERMINATED). Use for monitoring async executions, verifying completion before results, polling in scripts, or handling failures.
npx claudepluginhub growthxai/output --plugin outputaiThis skill is limited to using the following tools:
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.
Retrieves JSON results from completed Output SDK workflows using `npx output workflow result <id>`. Use after async starts and status checks to process returns, script outputs, compare runs, or pipe to jq.
Implements durable multi-step workflows on Cloudflare Workers with retries, state persistence, sleeps, event waiting, and NonRetryableError handling. Use for long-running tasks.
Mandates invoking relevant skills via tools before any response in coding sessions. Covers access, priorities, and adaptations for Claude Code, Copilot CLI, Gemini CLI.
Share bugs, ideas, or general feedback.
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 result after confirming COMPLETED statusnpx output workflow debug for FAILED workflowsnpx output workflow runs list for multiple runsnpx 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 '{"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 --format 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 --format 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:
npx output workflow runs list to find the correct IDnpx output workflow debug <id>npx output workflow stop <id>npx output workflow debug for contextnpx output workflow startnpx output workflow result <id> - Get execution result (after COMPLETED)npx output workflow debug <id> - Debug execution (after FAILED)npx output workflow stop <id> - Stop a running workflownpx output workflow runs list - View execution history