Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Reads an Output SDK workflow run's Temporal history via the workflow debug CLI to trace step inputs, outputs, failures and timing.
55% 91%+36 ptsof test cases passed
Passed 20 of 22 test cases with the skill, and 12 of 22 without it.
My workflow run with ID `wf_99218a` failed unexpectedly during execution. Can you run the CLI command to get its full trace data and analyze what failed, showing me the broken step and its error message?
Includes the command `npx output workflow debug wf_99218a --json`
This test ran on v1. v2 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
This skill provides guidance on reading and analyzing a workflow run's Temporal history using the Output CLI. workflow debug reads Temporal directly and prints one JSON document with an entry per workflow (the run, then its child workflows), each with its history events, including step inputs, results, failures and timestamps. Long values are truncated.
npx output workflow debug <workflowId>
The output is one compact JSON document on a single line of stdout, always, so pipe it to jq (jq . to indent it) instead of reading the raw line. A failure (workflow not found, Temporal unreachable) exits non-zero with the message on stderr and nothing on stdout. Its shape:
{ "complete": true, "warnings": [], "temporal": {...},
"workflows": [
{ "workflowId", "runId", "workflowType", "status", "pendingActivities", "pendingChildren", "events": [ ...raw Temporal events... ] },
{ ...a child workflow: same fields plus "parent": { "workflowId", "runId" } }
] }
complete is false when part of the tree could not be read. Check it first, then read warnings (plain sentences naming the workflow and run). A workflow that was not read still has an entry, with events: [].workflows[0] is the run you asked for. Children follow, in the order the parent started them. A workflow that continued as new has one entry per run (same workflowId and parent, different runId; the root's runs have no parent), and each run but the last ends with EVENT_TYPE_WORKFLOW_EXECUTION_CONTINUED_AS_NEW.eventId.--run-id <runId>. Without it the latest run is read, and the entry says which run that was. The runs that continue from it are read too, so to see a whole continue-as-new chain pass its first run id.--profile <name> (from temporal.toml), or --address and --namespace.--json is accepted and ignored.- is read as a flag. Put flags first and -- before the id: npx output workflow debug --profile prod -- -Ab....Next to this one in the catalogue, plus more from the same author.