Install
openclaw skills install osop-optimizeAnalyze .osoplog execution history to optimize workflows — finds slow steps and parallelization opportunities
openclaw skills install osop-optimizeImprove a workflow based on its execution history.
$ARGUMENTS
Read the .osop file specified in the argument
Find execution logs — look for matching .osoplog.yaml files in sessions/ or the same directory
Aggregate stats from all matching logs:
Identify issues:
Generate suggestions and present as a table:
| Type | Target Node | Description | Priority |
|------|-------------|-------------|----------|
| add_retry | fetch-data | 35% failure rate, add retry with backoff | HIGH |
| parallelize | scan, test, lint | Independent steps, run in parallel | MEDIUM |
If user approves, apply changes to the .osop file
Show diff of changes before writing
This skill enables the feedback loop:
Execute → Log (.osoplog) → Analyze (this skill) → Improve (.osop) → Re-execute → Better results
Each iteration makes the workflow more resilient and efficient.