← 返回 Skills 市场
tstokes06

Operational Framework

作者 Tim · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
59
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install operational-framework
功能描述
A disciplined, reproducible workflow for AI agents to log decisions, create rollback snapshots, and generate briefings for any change or feature implementation.
使用说明 (SKILL.md)

Operational Framework

A disciplined approach to implementing changes with full traceability.

When to Use

  • Implementing improvements or new features
  • Making configuration changes
  • Any work that needs rollback capability
  • Generating case study briefings

Architecture (generic)

\x3Cworkspace>/
├── decisions/          # Decision logs (JSON per day)
│   └── \x3Cdate>.json    # Example: 2026‑05‑08.json
├── rollbacks/         # Snapshot directories
│   └── \x3Ctimestamp>/   # Example: 2026‑05‑08_2005/
├── briefings/         # Case‑study markdown files
│   └── \x3Cdate>.md      # Example: 2026‑05‑08.md
└── TODO.md            # Persistent task list

Replace \x3Cworkspace> with the root of your OpenClaw workspace (usually ~/.openclaw/workspace).

Decision Logging (generic)

Log each major decision before you start changing anything. Use a simple JSON schema:

{
  "id": "dec_\x3Cdate>_\x3Cseq>",
  "timestamp": "\x3CISO‑8601>",
  "title": "\x3Cshort description>",
  "context": "\x3Cwhy this decision matters>",
  "options_considered": ["\x3Copt1>", "\x3Copt2>", "\x3Copt3>"],
  "chosen": "\x3Cselected option>",
  "reasoning": "\x3Crationale>",
  "expected_outcome": "\x3Cwhat success looks like>",
  "risk_mitigation": "\x3Chow to handle failure>",
  "status": "pending|implemented|reverted"
}

How to log:

  • Manually edit a file in decisions/ (e.g., 2026-05-08.json).
  • Or, if you have a CLI wrapper, run:
/decide "\x3Ctitle>" --context "\x3Cctx>" --options "opt1|opt2|opt3" --chosen "opt2" --reasoning "\x3Creason>"

Replace placeholders with your actual values.

Rollback System (generic)

Take a lightweight snapshot before you modify anything. The snapshot can be a simple copy of files or a git commit.

Typical workflow:

  1. Choose a name (e.g., 2026-05-08_2005).
  2. Copy the relevant files or the whole workspace into rollbacks/\x3Cname>/.
  3. Verify the copy.
  4. If needed, restore by copying back.

Example (shell‑style, adapt to your environment):

# Create snapshot directory
mkdir -p rollbacks/2026-05-08_2005
# Copy files you care about (or the whole workspace)
cp -r decisions rollbacks/2026-05-08_2005/
cp -r briefings rollbacks/2026-05-08_2005/
# ... add other paths as needed

Listing snapshots:

ls -1 rollbacks/

Restoring:

cp -r rollbacks/2026-05-08_2005/* \x3Cworkspace>/

The exact commands can be wrapped in a script for convenience.

Implementation Workflow

1. Decision Phase

  • Log the decision with full context
  • Define success criteria
  • Identify rollback strategy

2. Snapshot Phase

  • Capture current state
  • Verify snapshot integrity

3. Implementation Phase

  • Execute change
  • Document as you go
  • Test incrementally

4. Verification Phase

  • Does it meet success criteria?
  • Any unexpected side effects?

5. Briefing Phase

  • Generate case study
  • Note what worked/didn't
  • Update TODO if follow-ups needed

Briefing Format

# Implementation Briefing: [Title]
**Date:** YYYY-MM-DD
**Decision ID:** dec_YYYY-MM-DD_XXX

## Context
[What triggered this]

## Decision
[What was decided and why]

## Implementation
[How it was implemented]

## Outcome
[Success/failure with evidence]

## Lessons Learned
- What worked well
- What would do differently
- Patterns to propagate

## Rollback Point
[Reference to snapshot if needed]

Quick Commands (examples)

Below are illustrative commands you can bind to your own CLI or script. They are not built‑in OpenClaw commands, but they show the typical flow.

Action Example Shell / Pseudo‑Command
Log decision echo '{...}' >> decisions/$(date +%F).json
Create snapshot ./snapshot.sh \x3Cname> (your wrapper script)
List snapshots ls -1 rollbacks/
Restore snapshot ./restore.sh \x3Cname>
Generate briefing ./brief.sh \x3Cdecision‑id>
Open TODO vim TODO.md

Feel free to adapt these to your preferred tooling (bash, Python, etc.).

TODO Integration

Maintain TODO.md in workspace root:

## 2026-05-08 Implementation Session

### Active
- [ ] Decision: Implement X
- [ ] Snapshot: AGENTS.md

### Completed
- [x] Decision: Add memory recall
- [x] Implemented: 2026-05-08
- [x] Briefing: briefings/2026-05-08.md

Key Principles

  1. Log before acting - Decisions documented before implementation
  2. Snapshot before change - Always have a rollback path
  3. Brief after completion - Document for future reference
  4. Never lose context - Everything survives session restarts

Integration

This framework integrates with:

  • Self-Improving skill - Lessons feed into corrections.md
  • HEARTBEAT.md - Periodic decision review
  • AGENTS.md - Framework reference in operational procedures

Requirements

  • No credentials required
  • No extra binaries required
  • Works with existing workspace structure
安全使用建议
This skill appears safe to install as a local workflow aid. Before using it, decide what files belong in snapshots, avoid recording secrets in logs or briefings, and review any restore command before running it because it may overwrite workspace files.
功能分析
Type: OpenClaw Skill Name: operational-framework Version: 1.0.0 The 'Operational Framework' skill bundle is a documentation-only package (SKILL.md) that provides a structured workflow for AI agents to log decisions, create file-based snapshots for rollbacks, and generate implementation briefings. It contains no executable code, obfuscation, or network-reaching instructions, and its suggested shell commands are standard file operations (cp, mkdir, ls) intended for workspace management. The behavior is entirely consistent with its stated purpose of improving agent traceability and reliability.
能力评估
Purpose & Capability
The stated purpose is to log decisions, make rollback snapshots, and generate briefings; the SKILL.md content is consistent with that purpose and contains no code, credentials, network access, or required binaries.
Instruction Scope
The skill includes illustrative shell and pseudo-command examples for copying and restoring files. These are disclosed and purpose-aligned, but restore operations can overwrite workspace files if used carelessly.
Install Mechanism
There is no install specification, package dependency, helper script, or executable code to review.
Credentials
The workflow is scoped to the OpenClaw workspace and recommends creating decisions, rollbacks, briefings, and TODO files there, which is proportionate to the documented workflow.
Persistence & Privilege
The skill intentionally creates persistent local records and snapshots that survive session restarts; users should avoid putting secrets or unnecessary sensitive information into those files.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install operational-framework
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /operational-framework 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release – generic, community‑ready
元数据
Slug operational-framework
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Operational Framework 是什么?

A disciplined, reproducible workflow for AI agents to log decisions, create rollback snapshots, and generate briefings for any change or feature implementation. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 59 次。

如何安装 Operational Framework?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install operational-framework」即可一键安装,无需额外配置。

Operational Framework 是免费的吗?

是的,Operational Framework 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Operational Framework 支持哪些平台?

Operational Framework 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Operational Framework?

由 Tim(@tstokes06)开发并维护,当前版本 v1.0.0。

💬 留言讨论