osop
OSOP workflow authoring, validation, risk analysis, and self-optimization for AI agents
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/archie0125/osopOSOP — Open Standard Operating Procedures
Universal protocol for defining, validating, risk-assessing, and executing process workflows. Works with any AI coding agent.
Capabilities
When this skill is active, the agent can:
- Create OSOP workflow definitions from natural language
- Validate workflow YAML against the OSOP schema
- Risk Assess workflows for security issues, permission gaps, destructive commands
- Execute workflows with dry-run mode for safety
- Render workflows as Mermaid diagrams
- Optimize workflows using execution history — detect slow steps, failure hotspots
- Convert between OSOP and external formats (GitHub Actions, BPMN, Airflow)
- Report on workflow executions as standalone HTML
Sub-Skills
This pack includes 4 specialized skills:
| Skill | Command | What it does |
|---|---|---|
osop-log | /osop-log | Record a structured session log after completing work |
osop-report | /osop-report | Convert .osop + .osoplog.yaml to HTML report |
osop-review | /osop-review | Security & risk analysis of workflows |
osop-optimize | /osop-optimize | Improve workflows from execution history |
OSOP Node Types (v1.0)
16 supported node types in 4 categories:
Actors: human, agent, company, department
Technical: api, cli, db, git, docker, cicd, infra, mcp
Flow Control: system, event, gateway, data
Use subtype for domain specialization (e.g., type: agent, subtype: llm).
Edge Modes
13 modes: sequential, conditional, parallel, loop, event, fallback, error, timeout, compensation, message, dataflow, signal, weighted, spawn.
Quick Start
1. Define a workflow
osop_version: "1.0"
id: "deploy-staging"
name: "Deploy to Staging"
description: "Build, test, and deploy to staging environment."
version: "1.0.0"
tags: [deploy, staging]
nodes:
- id: "build"
type: "cli"
name: "Build Project"
description: "Run the build command"
- id: "test"
type: "cicd"
subtype: "test"
name: "Run Tests"
description: "Execute test suite"
- id: "deploy"
type: "infra"
name: "Deploy to Staging"
description: "Push to staging environment"
security:
risk_level: "medium"
approval_gate: true
edges:
- from: "build"
to: "test"
mode: "sequential"
- from: "test"
to: "deploy"
mode: "conditional"
when: "tests.passed == true"
2. Review for risks
Run /osop-review deploy-staging.osop to check for security issues before execution.
3. Execute and log
After running, use /osop-log to record what happened as a structured .osoplog.yaml.
4. Generate report
Run /osop-report to create a standalone HTML report with dark mode and expandable nodes.
Session Logging
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": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
osop-log
Generate OSOP session log — creates .osop workflow and .osoplog.yaml execution record
osop-review
Review .osop/.osoplog for security risks, permission gaps, and destructive commands
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