- name
- osop-report
- description
- Convert .osop and .osoplog.yaml into standalone HTML report with dark mode and expandable nodes
- version
- 1.2.0
- emoji
- \F4CA
- homepage
- https://osop.ai
- argument-hint
- <file.osop> [file.osoplog.yaml]
- metadata
- openclaw
- requires
- anyBins
- config
- install
- package
- pyyaml
- always
- false
- user-invocable
- true
- disable-model-invocation
- false
OSOP Report Generator
Convert workflow definition and/or execution log into a self-contained HTML report.
Arguments
$ARGUMENTS
If no arguments provided, look for the most recent files in sessions/ directory.
Steps
- Find the files — read the .osop file (first argument). If a .osoplog.yaml is also provided (second argument), read that too.
- Generate the HTML report using the embedded report generator or by building inline HTML:
- Read both YAML files - Create a self-contained HTML with inline CSS - Each node becomes an expandable <details> element - Color-code by node type (orange=human, purple=agent, blue=api/cli/mcp, gray=git/docker/cicd, green=db/data) - Show status badges, duration bars, tool usage, AI metadata, reasoning blocks - Include dark mode via prefers-color-scheme
- Save the HTML next to the source file with
-report.htmlsuffix.
- Tell the user the file path so they can open it in a browser.
Output format
The HTML report includes:
- Header: workflow name, status badge, duration, cost, node count
- Error banner: any failed nodes listed prominently
- Node list: expandable cards with type badge, duration bar, inputs/outputs, AI metadata, tool usage, reasoning
- Dark mode responsive, <15KB, zero external dependencies