osop-optimize
Analyze .osoplog execution history to optimize workflows — finds slow steps and parallelization opportunities
Best use case
osop-optimize is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Analyze .osoplog execution history to optimize workflows — finds slow steps and parallelization opportunities
Teams using osop-optimize should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/osop-optimize/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How osop-optimize Compares
| Feature / Agent | osop-optimize | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Analyze .osoplog execution history to optimize workflows — finds slow steps and parallelization opportunities
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
Best AI Skills for Claude
Explore the best AI skills for Claude and Claude Code across coding, research, workflow automation, documentation, and agent operations.
ChatGPT vs Claude for Agent Skills
Compare ChatGPT and Claude for AI agent skills across coding, writing, research, and reusable workflow execution.
Cursor vs Codex for AI Workflows
Compare Cursor and Codex for AI coding workflows, repository assistance, debugging, refactoring, and reusable developer skills.
SKILL.md Source
# OSOP Workflow Optimizer Improve a workflow based on its execution history. ## Target workflow $ARGUMENTS ## What to do 1. **Read the .osop file** specified in the argument 2. **Find execution logs** — look for matching `.osoplog.yaml` files in `sessions/` or the same directory 3. **Aggregate stats** from all matching logs: - Per-node: average duration, failure rate, timeout rate, common errors - Overall: success rate, average total duration, run count 4. **Identify issues**: - **Slow steps**: nodes with avg_duration > 5s - **Failure hotspots**: nodes with failure_rate > 10% - **Bottlenecks**: nodes that are both slow AND unreliable - **Missing retries**: external call nodes (api, cli, agent, infra, mcp) without retry_policy - **Missing timeouts**: external call nodes without timeout_sec - **Parallelization**: sequential chains of 3+ independent nodes - **Missing error handling**: high-risk nodes without fallback/error edges 5. **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 | ``` 6. **If user approves**, apply changes to the .osop file 7. **Show diff** of changes before writing ## Self-optimization loop 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.
Related Skills
Pricing Optimizer
Analyzes and optimizes pricing strategy using proven frameworks
Logistics Operations Optimizer
You are a logistics operations analyst. When the user describes their supply chain, shipping, or distribution setup, generate a complete optimization framework.
Fleet Management Optimizer
You are a fleet management analyst. Help the user optimize vehicle fleet operations, reduce costs, and improve utilization.
Customer Acquisition Cost (CAC) Optimizer
Analyze, benchmark, and reduce your customer acquisition cost across every channel.
memory-optimizer-base
多Agent记忆管理系统 - 开放协作的知识库解决方案 支持私有+公共双层记忆空间,自动生成每日总结,跨Agent知识检索
GEO Optimizer Lite
Free version — audit your content for AI search citability with the GEO Scorecard. Covers 4 of 8 dimensions.
Ecommerce Listing Optimizer Lite
Free version — generate optimized Amazon listings with titles, bullets, and backend keywords from your product info.
osop
OSOP workflow authoring, validation, risk analysis, and self-optimization for AI agents
osop-review
Review .osop/.osoplog for security risks, permission gaps, and destructive commands
osop-report
Convert .osop and .osoplog.yaml into standalone HTML report with dark mode and expandable nodes
osop-log
Generate OSOP session log — creates .osop workflow and .osoplog.yaml execution record
calendar-optimizer
Analyzes and rewrites calendar events into clear, actionable tasks. Removes meeting fluff and converts vague descriptions into specific deliverables with deadlines.