返回顶部
o

osop-log

Generate OSOP session log — creates .osop workflow and .osoplog.yaml execution record

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.2.0
安全检测
已通过
54
下载量
0
收藏
概述
安装方式
版本历史

osop-log

# OSOP Session Logger You just completed a task. Now produce a structured session log. ## What to create 1. **`sessions/YYYY-MM-DD-<short-desc>.osop`** — workflow definition 2. **`sessions/YYYY-MM-DD-<short-desc>.osoplog.yaml`** — execution record Create the `sessions/` directory if it doesn't exist. ## Task description $ARGUMENTS ## .osop format ```yaml osop_version: "1.0" id: "session-<short-description>" name: "<What you did>" description: "<1-2 sentence summary>" version: "1.0.0" tags: [claude-code, <relevant-tags>] nodes: - id: "<step-id>" type: "<node-type>" # human, agent, mcp, cli, api, cicd, git, db, docker, infra, system, event, gateway, data, company, department subtype: "<subtype>" # Optional: llm, explore, plan, worker, tool, test, commit, rest, etc. name: "<Step Name>" description: "<What this step does>" security: risk_level: "<low|medium|high|critical>" edges: - from: "<step-a>" to: "<step-b>" mode: "sequential" # sequential, parallel, conditional, fallback, error, spawn, etc. ``` ## .osoplog.yaml format ```yaml osoplog_version: "1.0" run_id: "<generate-uuid>" workflow_id: "<matches .osop id>" mode: "live" status: "COMPLETED" trigger: type: "manual" actor: "user" timestamp: "<ISO timestamp>" started_at: "<ISO timestamp>" ended_at: "<ISO timestamp>" duration_ms: <total ms> runtime: agent: "claude-code" model: "<current model>" node_records: - node_id: "<step-id>" node_type: "<type>" attempt: 1 status: "COMPLETED" started_at: "<ISO>" ended_at: "<ISO>" duration_ms: <ms> outputs: <what you produced> tools_used: - { tool: "<tool-name>", calls: <n> } reasoning: question: "<what was decided>" selected: "<chosen approach>" confidence: <0.0-1.0> result_summary: "<1-2 sentence summary>" ``` ## Node type mapping | Action | type | subtype | |---|---|---| | Read/explore files | `mcp` | `tool` | | Edit/write files | `mcp` | `tool` | | Shell commands | `cli` | `script` | | Run tests | `cicd` | `test` | | Git operations | `git` | `commit` / `branch` / `pr` | | Analyze/reason | `agent` | `llm` | | Search codebase | `mcp` | `tool` | | Ask user | `human` | `input` | | User reviews | `human` | `review` | | Spawn sub-agent | `agent` | `explore` / `plan` / `worker` | | API calls | `api` | `rest` | ## Sub-agent tracking If you spawned sub-agents, use `parent` on child nodes and `spawn` edge: ```yaml nodes: - id: "coordinator" type: "agent" subtype: "coordinator" - id: "explore_1" type: "agent" subtype: "explore" parent: "coordinator" edges: - from: "coordinator" to: "explore_1" mode: "spawn" ``` ## Important - Be accurate about what tools were used and how many calls - Include reasoning for non-obvious decisions - Estimate durations based on tool call timing - If the task failed, set status to FAILED and include error details - View logs at https://osop-editor.vercel.app

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 osop-log-1775888963 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 osop-log-1775888963 技能

通过命令行安装

skillhub install osop-log-1775888963

下载 Zip 包

⬇ 下载 osop-log v1.2.0

文件大小: 2.14 KB | 发布时间: 2026-4-12 10:53

v1.2.0 最新 2026-4-12 10:53
Initial ClawHub release — OSOP session logger

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部