Token导航 LogoToken导航

Agent Skill · 效率

version-master(版本主控)

version-master 用于补充效率相关能力,适合在 OpenClaw 中需要让 Agent 承接效率相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

version-master 是效率类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为可写文件;许可证为 MIT-0,第三方扫描已通过,按安装量在效率类的 21,003 个 Skill 里排第 9,261。

总安装 6,205周安装 256GitHub Stars 2下载 2,028核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
2.1.1

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:version-master(版本主控)
来源仓库:https://github.com/neuhanli/version-master
安装命令:
openclaw skills install version-master
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install version-master

这个 Skill 是做什么的

效率类 Skill 把重复的整理、汇总、转换工作交给助手完成,减少手工复制粘贴。

用于补充效率相关能力,支持单文件版本管理。version-master 属于效率类 Skill,可作为该场景下的辅助能力补充。适用于 OpenClaw 环境中需要保存、恢复文件快照的场景。通过智能版本历史记录比较和清理功能优化文件管理。安装前建议确认权限范围和是否会触发文件操作。

可能涉及本地文件系统访问,需评估维护状态后再部署。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install version-master;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要可写文件,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

version-master 怎么安装?

在终端执行 openclaw skills install version-master。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

version-master 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

version-master 需要什么权限?

权限级别是可写文件。该 Skill 可能写入或修改本地文件,使用前需要确认目标目录和修改范围。

version-master 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

version-master 用的人多吗?

公开数据是累计安装 6,205 次,近一周安装 256 次,下载 2,028 次,GitHub 2 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

version-master 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理效率类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

效率类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
github

GitHub 代码协作 · OpenClaw

7,632,918545需要联网MIT-0通过
nano-pdf

Nano PDF 文档 · OpenClaw

4,249,476231需要联网MIT-0通过
auto-updater

自动更新程序 · OpenClaw

2,964,063386操作浏览器MIT-0通过
video-frames

视频帧 · OpenClaw

2,621,304112需要联网MIT-0通过
gemini

Gemini 助手 · OpenClaw

2,547,39648需要联网MIT-0有提醒
version-master

版本主控 · 本页

6,2052可写文件MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
version-master
version
2.1.1
description
Intelligent single-file version management. Save, restore, diff, and clean file snapshots with per-file version history. Activate when users need version control, file snapshot management, or project state recovery.
keywords
["version snapshot", "version control", "snapshot save", "version restore", "version diff", "快照保存", "版本管理", "版本恢复", "版本对比"]

Version-Master 2.1.0

Purpose

Version-Master 2.1.0 is a single-file level version management skill. Unlike full-workspace snapshots, it maintains independent version history for each file, so users can clearly see what changes each document has gone through.

Core Features

  1. Single-file versioning - Each file maintains its own version history independently
  2. Complete content saving - Saves actual file content (text and binary), supports full restoration
  3. Smart summaries - Automatically extracts descriptive summaries from file content (e.g., document titles)
  4. Content deduplication - Automatically skips unchanged files to avoid meaningless versions
  5. Safe restoration - Auto-backs up current file before restoring, supports rollback
  6. Version diff - Compare differences between versions of the same file

When to Use

Activate this skill when the user's request involves any of these scenarios:

  1. Save file version / 保存文件版本 - User says "save this file's version", "save current changes"
  2. View version history / 查看版本历史 - User says "what versions does this file have", "show version history"
  3. Restore old version / 恢复旧版本 - User says "restore to v2", "go back to previous version"
  4. Diff versions / 对比版本差异 - User says "compare v1 and v2", "show me what changed"
  5. Clean versions / 清理版本 - User says "delete old versions"

How to Use

After loading this skill, the AI uses version management features by calling scripts/version_tool.py.

Core Features

1. Save Version
# Save a specific file
save_version(file_path="ai_news_20260324.md", message="Added 11th news item")

Key Parameters:

  • file_path: File path (relative to workspace). Optional, but AI should auto-detect from context.
  • message: Version description. AI should auto-generate meaningful descriptions based on user actions.

AI Auto-Detection Rules / AI 自动判断规则:

  • User explicitly specifies a filename → Save that file / 用户明确指定文件名 → 保存该文件
  • User says "save it" and context shows a recently edited/generated file → AI auto-fills the file path / 用户说"保存一下"且上下文中有刚编辑/生成的文件 → AI 自动填入该文件路径
  • Cannot determine → Ask the user which file to save / 无法判断 → 向用户询问要保存哪个文件
  • NEVER call without file_path expecting batch save / 禁止不带 file_path 直接调用并期望批量保存
2. List Versions
# List all files with version history
list_versions()

# List version history of a specific file
list_versions(file_path="ai_news_20260324.md")

Output Example:

ai_news_20260324.md (3 versions)
  v3 - Added 11th news item | 2026-03-25 08:08
  v2 - Added 6 tech news items | 2026-03-25 08:05
  v1 - Initial version, 10 AI news items | 2026-03-25 08:03

interesting_news.md (1 version)
  v1 - Tech, sports, military highlights | 2026-03-25 08:10
3. Restore Version (requires user confirmation / 需要用户确认)
# Restore to a specific version
restore_version(file_path="ai_news_20260324.md", version=2, confirm=True)

# Restore to the latest version
restore_version(file_path="ai_news_20260324.md", confirm=True)

Restoration Features:

  • Auto-backs up current file to .version_backup/
  • Fully restores file content (text and binary)
4. Diff Versions
# Compare two versions of the same file
diff_versions(file_path="ai_news_20260324.md", version1=1, version2=3)

# Compare current file with a historical version
diff_versions(file_path="ai_news_20260324.md", version2=2)
5. Clean Versions
# Delete all versions of a file
clean_versions(file_path="test.txt", confirm=True)

# Delete a specific version of a file
clean_versions(file_path="test.txt", version=1, confirm=True)

Safety Rules / 安全规则

The following operations require explicit user confirmation:

  1. Version restore / 版本恢复 - Will overwrite current file content
  2. Version delete / 版本删除 - Permanently deletes snapshot data

Before calling these operations, the AI must:

  1. Show operation details and risks / 显示操作详情和风险
  2. Wait for explicit user confirmation / 等待用户明确确认
  3. Set confirm=True parameter / 设置 confirm=True 参数

Path Security / 路径安全: All file_path parameters are validated server-side to stay within the workspace boundary. Paths containing ../ or absolute paths outside the workspace are rejected with an error. The AI must never pass system-level paths (e.g., ../../etc/passwd, C:\Windows\...) as file_path.

Technical Implementation

Storage Architecture

~/.workbuddy/versions/version-master/
├── index.json                                    # Global index (file → version mapping)
├── 20260325084235_ai_news_20260324-md/           # One directory per file (prefixed with workspace ID)
│   ├── v1.json                                  # Version 1 (text content embedded in JSON)
│   ├── v1.md                                    # Version 1 binary reference file (if any)
│   ├── v2.json                                  # Version 2
│   └── v3.json                                  # Version 3
└── 20260325084235_interesting_news-md/
    └── v1.json

Design Notes:

  • All workspaces share the same storage directory, version snapshots are accessible across workspaces
  • Directory names are prefixed with workspace directory name (e.g., 20260325084235) for readability and disambiguation
  • . in filenames is replaced with -, path separators replaced with _ to ensure unique keys
  • Text files: Content embedded directly in JSON
  • Binary files: Copied to version directory (e.g., v1.png), JSON stores only a file reference (no base64)
  • index.json can be auto-rebuilt from disk v*.json files if corrupted or lost

Global Index Structure (index.json):

{
  "files": {
    "20260325084235_ai_news_20260324-md": {
      "rel_path": "ai_news_20260324.md",
      "next_version": 4,
      "versions": [
        {
          "version": 1,
          "timestamp": "2026-03-25T08:03:00",
          "content_hash": "abc123...",
          "file_size": 2928,
          "summary": "Initial version, 10 AI news items",
          "version_file": "20260325084235_ai_news_20260324-md/v1.json"
        }
      ]
    }
  }
}

Version File Structure (v1.json)

{
  "version": 1,
  "timestamp": "2026-03-25T08:03:00",
  "content_hash": "abc123...",
  "file_size": 2928,
  "summary": "Initial version, 10 AI news items",
  "message": "Initial version",
  "content": {
    "type": "text",
    "content": "# AI News Briefing\
\
..."
  }
}

File Structure

version-master/
├── SKILL.md              # Skill documentation
├── requirements.txt      # Dependencies
└── scripts/
    ├── __init__.py
    └── version_tool.py   # Core implementation

AI Usage Guide

Key Principles

  1. Smart file_path detection / 智能判断 file_path - AI should auto-detect which file to save based on context. When user says "save it", save the file just edited/generated; when user specifies a filename, save that file; when uncertain, ask the user.
  2. Auto-generate message / 自动生成 message - AI should auto-generate meaningful version descriptions (e.g., "Added section 3", "Fixed typo").
  3. List before save / 先 list 后 save - Check existing version history before saving to avoid duplicating identical content.
  4. Clear version display / 清晰展示版本关系 - Display versions grouped by file with clear version numbers and change descriptions.

Example Workflow

User: "帮我把 ai_news.md 保存一下" / "Save ai_news.md for me"
AI:
  1. Call list_versions(file_path="ai_news.md") to check existing versions
  2. Analyze current file content changes
  3. Call save_version(file_path="ai_news.md", message="Added 3 new news items")
  4. Show result: "ai_news.md saved as v3"

User: "恢复到上一个版本" / "Restore to previous version"
AI:
  1. Check version history, confirm current is v3, previous is v2
  2. Prompt user: "About to restore ai_news.md to v2 (Added 3 news items → Initial version). Confirm?"
  3. After user confirms, call restore_version(file_path="ai_news.md", version=2, confirm=True)

平台分布

OpenClaw

92.86%
按下载量换算1,883

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

可写文件

该 Skill 可能写入或修改本地文件,使用前需要确认目标目录和修改范围。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills