Token导航 LogoToken导航

Agent Skill · 研究检索

workspace-governance(工作区治理)

workspace-governance 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

workspace-governance 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 37,133。

总安装 1,788周安装 76GitHub Stars 公开资料未说明下载 626核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install workspace-governance

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

工作区治理聚焦方法论优先的原则框架设计。强调决策模式和安全执行机制。workspace-governance 属于研究检索类 Skill,可作为该场景下的辅助能力补充。不采用固定规则而是动态适配场景。适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。适合需要灵活治理策略的项目环境。

建议结合实际案例理解其运作逻辑。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

workspace-governance 怎么安装?

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

workspace-governance 支持哪些 AI 工具?

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

workspace-governance 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

workspace-governance 是免费的吗?

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

workspace-governance 用的人多吗?

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

workspace-governance 安全吗?

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

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

值得选的地方

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

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

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

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

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

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
workspace-governance

工作区治理 · 本页

1,788—接触敏感数据MIT-0通过

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

SKILL.md 原文

name
workspace-governance
description
>

Workspace Governance

Methodology-first workspace governance for AI agents.

Chinese Guide

For Chinese readers:

  • Quick entry: README.zh-CN.md
  • Detailed manual: references/治理手册.zh-CN.md

Purpose

This skill teaches an agent how to design a workspace management strategy that fits its own runtime, platform, and user preferences.

This is not a single directory template and not a rigid SOP. The agent should adapt based on context, then execute safely.

Core Principles

  1. Boundary before structure: define what can be touched first.
  2. Plan before action: generate a governance plan before file operations.
  3. Reversible before optimized: preserve rollback paths and avoid irreversible changes.
  4. Fit current system first: reuse existing conventions when they are workable.
  5. User control at key points: destructive operations require explicit confirmation.
  6. Evidence-driven decisions: only propose actions based on real scan results.

When to Use

  • Workspace is messy and needs cleanup or reorganization.
  • User asks to archive/close finished work.
  • User asks to create a new project with clear boundaries.
  • User asks for workspace audit/health check.
  • Agent needs to establish sustainable file governance rules.

Required Capabilities and Preconditions

Before execution, the agent should verify runtime capabilities:

  1. File/dir inspection and manipulation (ls, move, rename, archive, delete).
  2. Logging output capability (file or structured output sink).
  3. User confirmation capability for ambiguous/destructive actions.

Preconditions:

  • workspace_root must be defined (user-provided or default current directory).
  • If workspace_root is broad/high-risk, require explicit confirmation before scanning.
  • If confirmation capability is unavailable, ask-user items are blocking items.

Scope and Boundaries

The agent must define these before execution:

  • workspace_root: the manageable boundary for this task.
  • immutable_dirs: directories that must never be moved/deleted/renamed.
  • protected_files: sensitive files (keys, env, certs, VCS metadata).
  • risk_level: low/medium/high based on destructive potential.

If workspace_root is too broad (for example home root), require explicit confirmation before scanning.

Adaptation Model (Platform-Agnostic)

The agent should adapt strategy using this order:

  1. User explicit constraints and preferences.
  2. Current repository/project conventions.
  3. Platform/runtime restrictions.
  4. Conservative fallback defaults.

Do not force a fixed folder structure unless the user requests standardization.

Optional Adapt Block

SKILL_ADAPT:
  workspace_root: <path>
  immutable_dirs: [dir1, dir2]
  protected_files: [pattern1, pattern2]
  cache_policy: separate # separate | consolidate
  naming_policy: inherit # inherit | enforce

Adapt Loading Rules (Mandatory)

If SKILL_ADAPT.yaml exists, the agent must read it before planning and execution. If platform profiles exist (for example tools/adapt-profiles/openclaw.yaml), the agent should load the matching profile as an overlay.

Configuration precedence:

  1. User explicit instruction in current session.
  2. SKILL_ADAPT config.
  3. Repository conventions detected from files.
  4. Conservative defaults from this skill.

If SKILL_ADAPT parsing fails:

  • Do not silently ignore.
  • Fall back to conservative defaults.
  • Record a warning in governance logs.

Profile merge semantics:

  • immutable_dirs: union (security items only increase)
  • protected_files: union (protection only increases)
  • destructive_guard: override allowed only when strictness is not reduced

Decision Framework

Before any move/delete action, produce a governance plan with:

  1. Current State Summary

- What is cluttered - What is ambiguous - What is sensitive

  1. Target Strategy

- Keep, move, rename, archive, delete policy - Naming and lifecycle policy - Cache/temp policy

  1. Risk and Rollback

- Risks per action class - Rollback method and checkpoints

  1. User Confirmation Items

- Items that need user decision - Items excluded from automation

Plan Output Template

ItemCurrentProposed ActionTargetRiskReason
example.tmprootdelete—mediumtemporary artifact
report-final.docxrootask userdocs or archivelowdestination ambiguous

Execution Pattern (Generic)

Use this pattern regardless of platform:

  1. Detect context and runtime capabilities.
  2. Load SKILL_ADAPT (if present) and resolve effective policy by precedence.
  3. Detect boundaries (workspace_root, immutable/protected scope).
  4. Scan inside workspace_root only.
  5. Classify findings: keep/move/rename/archive/delete/ask-user.
  6. Generate plan table with reasons, risks, and rollback checkpoints.
  7. Get confirmation for destructive or ambiguous actions.
  8. Execute in small batches with checkpoint logs.
  9. Report results and failures.
  10. Record governance log for traceability.

If multiple user intents exist, process sequentially and reconfirm between destructive batches.

Non-Interactive Safety Policy (Mandatory)

For non-interactive runtimes (cron, background subagent, execute-only environments):

  • If any item is classified as ask-user, the agent must stop with status blocked.
  • The agent must output a pending_decisions list and required user input.
  • The agent must not silently skip, auto-approve, or auto-delete ambiguous items.
  • Destructive actions without confirmation capability must be refused (fail-fast).

Recommended blocked output:

ItemProposed ActionBlock ReasonNeeded Input
report-final.docxask-userno confirmation channelchoose destination

Classification Heuristics (Flexible)

Use heuristics, not hard-coded folders:

  • Project artifacts: source code, configs, tests, docs tied to one project.
  • Reusable assets: media or references used across projects.
  • Ephemeral data: cache/tmp/build artifacts/log leftovers.
  • Agent/runtime state: tool configs, sessions, internal runtime files.
  • Ambiguous items: unclear ownership or destination.

Rules:

  • Ambiguous items must be escalated to user decisions.
  • Never silently rename if semantic meaning may change.
  • Never overwrite existing files on move.

Safety Baseline (Mandatory)

Never Touch Without Explicit User Approval

  • Version control metadata (.git/, .svn/, .hg/)
  • Secret material (*.key, *.pem, *.p12, private credentials)
  • Environment files (.env and equivalents)
  • Agent/runtime configuration directories

Destructive Action Guardrails

  • Always show dry-run plan first.
  • Require explicit confirmation for delete and bulk move.
  • Use collision-safe naming on move.
  • Keep operation logs and failure reasons.
  • Stop and ask user if unexpected high-risk patterns are detected.

Standard Operation Modes

1) Organize

Goal: improve discoverability and reduce clutter with minimal disturbance.

2) Create Project

Goal: initialize a new work area aligned with existing conventions.

3) Archive Project

Goal: transition inactive work into retrievable cold storage with metadata.

4) Hygiene Check

Goal: audit quality signals and output fix recommendations.

Note: The agent should choose implementation details based on local system constraints, not this document's examples.

Skill Interoperability (Optional)

workspace-governance can run standalone, but some scenarios may benefit from companion skills/tools:

  • Git or GitHub-related archive verification: use Git/GitHub skill/tooling.
  • Cloud/object storage archive lifecycle: use cloud storage skills/tools.
  • Team approval workflow before destructive batches: use workflow/approval skills/tools.

Interoperability rule:

  • Never assume companion skills are present.
  • If a companion capability is required by user intent but unavailable, report blocked with required dependency.

Quality Signals for Audit

Recommended checks:

  • Boundary clarity (what is managed vs protected)
  • Root clutter level
  • Naming consistency
  • Build/cache residue
  • Archive lifecycle completeness
  • Recoverability (rollback/readability of logs)

Output style:

  • Pass items with clear evidence.
  • Violations with fix suggestion and risk level.
  • Summary with actionable next steps.

Logging and Traceability

The agent should keep a lightweight operation record, including:

  • Date (YYYY-MM-DD)
  • Intent type (organize/create/archive/audit)
  • Planned changes vs executed changes
  • Success/failure counts
  • Unresolved decisions pending user input

Rollback and Checkpoint Schema (Minimum)

Each execution should create:

  1. A pre-execution checkpoint (checkpoint_before).
  2. A checkpoint per batch (checkpoint_batch_<n>).
  3. A final checkpoint (checkpoint_after).

Minimum log fields:

  • timestamp (YYYY-MM-DD HH:mm:ss)
  • intent (organize/create/archive/audit)
  • batch_id
  • action (move/rename/archive/delete)
  • source_path
  • target_path
  • result (success/failure/blocked)
  • reversible (yes/no)
  • rollback_ref (checkpoint id or recovery note)

Anti-Patterns to Avoid

  • Forcing a universal directory layout on every system
  • Performing bulk cleanup without a dry-run plan
  • Treating unknown files as disposable
  • Optimizing structure while ignoring user workflow habits
  • Mixing agent state and user business content without explicit mapping

Minimal Example (Reference Only)

Example principles in action:

  1. Detect workspace boundary and immutable dirs.
  2. Scan only within boundary.
  3. Mark ambiguous files as ask-user.
  4. Confirm plan before delete/move.
  5. Execute and log.

This example is illustrative, not normative.

Author

  • 作者: Mars2003 (GitHub)
  • 日期: 2026-04-28

平台分布

OpenClaw

80.19%
按下载量换算502

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

继续浏览同类 Skills