Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Renders the final output of a local Output SDK workflow trace file as a readable markdown document.
27% 59%+32 ptsof test cases passed
Passed 13 of 22 test cases with the skill, and 6 of 22 without it.
We need to output the markdown document for workflow `market_synth` with run ID `run_4411`. What exact relative file path should the rendered result be written to?
Specifies the path tmp/trace_result_market_synth_run_4411.md
3 of 3 safety checks passed
Show just the final output of an Output.ai workflow trace — the actual result, rendered as readable markdown.
The argument the user provided is either a workflow name (e.g. context_competitors) or a workflow run ID. If no argument is provided, use the most recent trace across all workflows.
Find the trace JSON file:
logs/runs/<workflow_name>/ as JSON files<timestamp>_<workflow_id>.json.json file in logs/runs/<workflow_name>/logs/runs/*/ folders for a file containing that ID in its filename.json file across all logs/runs/*/ foldersExtract the output from the trace file. You only need output from the JSON root — skip children and input.
Strategy for large files (trace files can be 10k+ lines):
jq '.output' <file> to extract directly — this is the fastest pathjq is not available: read the last 500 lines of the file (the output field is at the root level, near the end of the JSON). Work backwards in chunks if neededchildren array with step details can be thousands of lines and you don't need any of itSave a markdown file to tmp/trace_result_<workflow_name>_<id>.md (create the tmp/ directory if it doesn't exist) with:
Render output as clean, readable markdown:
The goal is a document you'd want to READ, not debug. Make it look good.
Tell the user the saved file path.
Next to this one in the catalogue, plus more from the same author.