osop

OSOP workflow authoring, validation, risk analysis, and self-optimization for AI agents

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "osop" with this command: npx skills add archie0125/osop

OSOP — 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:

SkillCommandWhat it does
osop-log/osop-logRecord a structured session log after completing work
osop-report/osop-reportConvert .osop + .osoplog.yaml to HTML report
osop-review/osop-reviewSecurity & risk analysis of workflows
osop-optimize/osop-optimizeImprove 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

After completing multi-step tasks, this skill produces:

  • .osop — workflow definition (what should happen)
  • .osoplog.yaml — execution record (what actually happened)

These files can be visualized at https://osop-editor.vercel.app or converted to HTML.

Security Metadata

Nodes can declare security.risk_level (low/medium/high/critical), security.permissions, security.secrets, and approval_gate for risk analysis.

Self-Optimization Loop

  1. Execute workflow → produce .osoplog
  2. Aggregate stats from past runs
  3. Run /osop-optimize → get improvement suggestions
  4. Apply approved changes → execute improved workflow
  5. Repeat — the SOP gets better each iteration

Links

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Research

Research Logger

AI research pipeline with automatic logging. Search via Perplexity, auto-save results to SQLite with topic and project metadata, full Langfuse tracing. Never...

Registry SourceRecently Updated
Research

Last30Days Community Intelligence for OpenClaw

OpenClaw adaptation of @mvanhorn's last30days skill. Research any topic from the last 30 days across Reddit, X, YouTube, TikTok, Instagram, Hacker News, Poly...

Registry SourceRecently Updated
1.1K0Profile unavailable
Research

Chonkie DeepResearch

Run deep research queries using Chonkie DeepResearch. Returns comprehensive research reports with citations — useful for market analysis, competitive intelli...

Registry SourceRecently Updated
3730Profile unavailable
Research

销售录音诊断专家

销售诊断与能力提升专家。基于陈天真实销售录音/会议纪要, 从业务场景、关键人画像、关系链、需求链、意向链等多维度深度分析, 诊断销售话术,提供可执行的改进方案,让销售能力"长在陈天身上"。

Registry SourceRecently Updated
3600Profile unavailable