osop-review
Review .osop/.osoplog for security risks, permission gaps, and destructive commands
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/archie0125/osop-reviewOSOP Workflow Reviewer
Review a workflow or execution log for risks and issues.
Target file
$ARGUMENTS
What to do
-
Read the file specified in the argument (
.osopor.osoplog.yaml) -
Analyze for risks — check each node for:
security.risk_level: high|criticalwithout precedingapproval_gatesecurity.permissionscontaining broad patterns (write:*,admin:*,delete:*)clinodes with destructive commands (rm -rf,kubectl delete,terraform destroy,DROP TABLE)- Hardcoded secrets (strings starting with
sk-,ghp_,xoxb-, API keys) - Agent nodes without
cost.estimated(unbounded cost exposure) - Missing
timeout_secon external call nodes (api,cli,agent,infra,mcp) - Missing error handling (no
fallback/erroredge) on medium+ risk nodes
-
Compute risk score (0-100):
- Each node:
type_weight * risk_multiplier * mitigation_factor - Type weights: cli=2, infra=2, db=1.5, agent=1.5, docker=1.5, cicd=1.5, api=1, others=0.5-1
- Risk multiplier: low=1, medium=2, high=4, critical=8
- Mitigations: approval_gate=-50%, retry_policy=-10%, fallback_edge=-20%
- Finding penalty: low=+2, medium=+5, high=+10, critical=+20
- Each node:
-
Present findings in a clear table:
Risk Score: XX/100 — VERDICT (safe/caution/warning/danger) | Severity | Finding | Node | Suggestion | |----------|---------|------|------------| | CRITICAL | ... | ... | ... | -
Summarize:
- Total permissions required
- Secrets referenced
- Estimated cost (if any)
- Whether approval gates exist
- Final verdict: is this safe to run?
For .osoplog files
If reviewing an execution log, also check:
- Which tools were actually used and how many calls
- Whether any nodes failed and why
- AI reasoning decisions — were they sound?
- Sub-agent hierarchy — was the spawning appropriate?
- Total execution time and cost
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-archie0125-osop-review": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
osop
OSOP workflow authoring, validation, risk analysis, and self-optimization for AI agents
osop-log
Generate OSOP session log — creates .osop workflow and .osoplog.yaml execution record
osop-optimize
Analyze .osoplog execution history to optimize workflows — finds slow steps and parallelization opportunities
osop-report
Convert .osop and .osoplog.yaml into standalone HTML report with dark mode and expandable nodes