← 返回
未分类 中文

Osop

OSOP workflow authoring, validation, risk analysis, and self-optimization for AI agents
面向AI代理的OSOP工作流创作、验证、风险分析与自优化
archie0125 archie0125 来源
未分类 clawhub v1.2.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 327
下载
💾 1
安装
1
版本
#latest

概述

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

  • Spec: https://github.com/Archie0125/osop-spec
  • Visual Editor: https://osop-editor.vercel.app
  • Examples: https://github.com/Archie0125/osop-examples
  • Website: https://osop.ai

版本历史

共 1 个版本

  • v1.2.0 当前
    2026-05-07 10:07 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

it-ops-security

Osop Log

archie0125
生成 OSOP 会话日志 — 创建 .osop 工作流和 .osoplog.yaml 执行记录
★ 0 📥 336
ai-agent

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,390 📥 321,902
ai-agent

Agent Browser

rez0
用于 AI 代理的浏览器自动化 CLI。当用户需要与网站交互(包括浏览页面、填写表单、点击按钮、截图等)时使用。
★ 831 📥 298,427