← 返回 Skills 市场
lobsterquant

Working Tree Governor

作者 LobsterQuant · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
79
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install working-tree-governor
功能描述
Govern dirty git working trees by classifying runtime noise vs real source changes, defaulting to selective staging, verifying staged scope, and asking the o...
安全使用建议
This skill appears to do what it says: help you selectively stage and commit while avoiding runtime noise. Before installing, do the following: - Confirm git is available on the agent host (SKILL.md runs git but metadata does not declare it). Add 'git' to the required binaries if you manage the registry entry. - Review and adapt the pattern lists and heuristics to your repository (the examples mention project-specific paths like 'hermes' and 'shared/*'); otherwise the skill may misclassify important files. - Keep the operator-approval gate enforced; test the skill in a disposable repository first to observe behavior. Ensure the agent cannot auto-commit or run without your interactive approval if you require stricter control. - Because this is instruction-only, it will execute the git commands shown — ensure the agent's runtime user has appropriate repository access but not elevated system privileges. - If you want stricter safety, restrict autonomous invocation of this skill at the platform/policy level, or require an explicit manual confirmation step before any git add/commit is executed.
功能分析
Type: OpenClaw Skill Name: working-tree-governor Version: 1.0.0 The working-tree-governor skill is a utility designed to help an AI agent manage git repositories by distinguishing between source code and runtime artifacts like logs, caches, and state files. It implements a structured workflow using standard git commands (e.g., git status, git diff, git add) and enforces selective staging to prevent repository pollution. The instructions in SKILL.md prioritize operator approval and safety, with no evidence of data exfiltration, malicious execution, or harmful prompt injection.
能力标签
crypto
能力评估
Purpose & Capability
The name/description align with the runtime instructions (selective staging, verification, operator gate). Small incoherence: registry metadata lists no required binaries, but SKILL.md invokes git extensively — the metadata should declare 'git' as a required binary.
Instruction Scope
SKILL.md stays within the stated purpose: read-only discovery commands, classification heuristics, selective git add/diff/cached checks, and an explicit operator-approval gate. It does not request unrelated files, credentials, or external network calls.
Install Mechanism
No install spec and no code files — lowest-risk delivery. Nothing is downloaded or written by the skill itself.
Credentials
The skill declares no environment variables or credentials and the instructions do not access secrets. Heuristics reference repo paths (e.g., 'hermes' paths) that are project-specific but not sensitive by themselves.
Persistence & Privilege
always:false and user-invocable:true are appropriate. The flow requires operator approval for ambiguous/large commits, reducing autonomous-risk. Note: platform-level autonomous invocation is allowed by default (not a fault of this skill) — couple that with a misconfigured agent and there is residual risk.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install working-tree-governor
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /working-tree-governor 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of working-tree-governor. - Classifies dirty git working trees into buckets: code/tests, docs, runtime state, generated outputs, logs, caches, forensics, unknown. - Defaults to selective staging of only relevant source/test files; excludes runtime noise, logs, caches, and artifacts. - Provides a clear discovery workflow to inspect and categorize all changes before staging. - Verifies staged files against intended commit scope and prompts for operator approval if scope is ambiguous or risky. - Enforces conventional commit message prefixes and recommends corrections if missing. - Includes tailored policies for risk levels (low to critical), and edge-case handling for noisy directories and test fixtures.
元数据
Slug working-tree-governor
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Working Tree Governor 是什么?

Govern dirty git working trees by classifying runtime noise vs real source changes, defaulting to selective staging, verifying staged scope, and asking the o... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 79 次。

如何安装 Working Tree Governor?

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

Working Tree Governor 是免费的吗?

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

Working Tree Governor 支持哪些平台?

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

谁开发了 Working Tree Governor?

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

💬 留言讨论