← 返回 Skills 市场
200
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install workspace-manage
功能描述
用于管理和维护 OpenClaw 工作区的结构。当用户提到工作区混乱、需要整理文件夹、或者希望建立标准目录结构时使用。提供自动归档、分类、清理和健康审计功能。
安全使用建议
Before installing or running this skill: (1) Inspect the scripts locally and back up your ~/.openclaw/workspace directory. (2) Run pipeline.sh with --dry-run (or call the individual scripts in preview mode) to see proposed changes; do not rely on SKILL.md's assertion of default dry-run because pipeline.sh will run cleanup with --execute by default unless you pass --dry-run. (3) Be aware the sync step can upload files to Google Drive if you have the 'gog' CLI installed and authenticated — disable or review config/sync-config.json if you don't want uploads. (4) Ensure required helper tools (trash-put, gog, jq) are intentionally installed or remove calls to them; trash-put is used for safe deletion fallback. (5) Consider running the skill on a test workspace first and verify config/patterns.json protected paths include any sensitive locations. If you want this skill but prefer safer defaults, change pipeline.sh to default to dry-run and set sync_human/sync_agent to false in config/sync-config.json.
功能分析
Type: OpenClaw Skill
Name: workspace-manage
Version: 1.0.0
The workspace-manager skill bundle is a legitimate utility designed to organize and maintain the OpenClaw environment. It utilizes a series of shell and Python scripts (e.g., scripts/organize.sh, scripts/cleanup.py) to categorize files, perform health audits, and safely remove temporary data using the system trash. While it includes a cloud synchronization feature (scripts/sync.sh) that can upload workspace data to Google Drive, this functionality is explicitly documented, requires the user to manually install and authenticate the 'gog' CLI, and is disabled by default for sensitive agent directories. The code follows security best practices, such as using dry-run modes, protecting core configuration files (MEMORY.md, SOUL.md), and avoiding destructive 'rm' commands.
能力评估
Purpose & Capability
The name/description align with the bundled scripts: organize, audit, cleanup, archive and optional cloud sync. However the package does not declare binaries it actually uses (e.g., trash-put, gog, jq) in metadata, which is an omission and reduces clarity about required runtime tools.
Instruction Scope
SKILL.md instructs the agent to run the included scripts (good), but there is a behavioral mismatch: SKILL.md emphasizes 'default dry-run' for destructive operations, yet pipeline.sh will call cleanup.py with --execute by default (i.e., perform deletions) unless the user explicitly supplies --dry-run. The scripts traverse and modify the entire workspace path (~/.openclaw/workspace by default) and can move/delete (via trash) many files; archive.sh and cleanup.py prompt for confirmation but pipeline may invoke them non-interactively. The sync step can upload workspace files to Google Drive if 'gog' is installed and authenticated.
Install Mechanism
No install spec (instruction-only) — lowest install risk. Files are shipped as scripts (no remote downloads). No install-time network fetches or extract operations were found.
Credentials
The skill requests no environment variables or declared credentials, yet sync.sh can upload data to Google Drive using the gog CLI (requires user authentication outside the skill). The scripts also call external tools (trash-put, jq) without declaring them. The optional sync defaults (sync_human: true) would upload Workspace_Human content if 'gog' is present and authenticated, which may include sensitive files unless the user configures sync-config.json carefully.
Persistence & Privilege
always:false and no attempt to modify other skills or system-wide agent settings. The skill creates/changes files only under the workspace directory and writes logs there — expected behavior for a workspace manager.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install workspace-manage - 安装完成后,直接呼叫该 Skill 的名称或使用
/workspace-manage触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
## [1.0.0] - 2026-03-19
### Added
- SKILL.md — Complete skill with Pipeline + Tool Wrapper design patterns
- 标准目录结构 — 双 workspace 架构:
- Workspace_Human/ — 人类文件(input, output, backup, temp)
- Workspace_Agent/ — Agent 文件(memory, skills, subagents, shared_context, artifacts, cache, logs, skills_custom, prompts, kb)
- Pipeline 总控 (pipeline.sh) — 5 步流水线:Audit → Organize → Clean → Archive → Sync,支持 --all / --dry-run / 单步选择
- 健康审计 (health-check.sh) — 0-100 健康评分:断链、空目录、大文件、畸形命名检测
- 规范化 (standardize.sh) — 确保标准目录完整,检测根目录散落文件
- 整理 (organize.sh) — 将 artifacts/ 文件自动分类到 Workspace_Human/output/
- 清理 (cleanup.py) — 安全清理,默认 dry-run,用 trash-put 代替 rm
- 归档 (archive.sh) — 交互式归档,按 YYYY-MM/ 组织
- 同步 (sync.sh) — 可选扩展,通过 gog CLI 同步到 Google Drive,未安装则自动跳过
- 配置文件 (patterns.json, sync-config.json)
### 安全特性
- 所有删除操作通过 trash-put 完成(可恢复)
- 默认 dry-run 模式
- 核心配置文件和 Workspace_Human/ 受保护永不删除
元数据
常见问题
workspace-manager 是什么?
用于管理和维护 OpenClaw 工作区的结构。当用户提到工作区混乱、需要整理文件夹、或者希望建立标准目录结构时使用。提供自动归档、分类、清理和健康审计功能。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 200 次。
如何安装 workspace-manager?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install workspace-manage」即可一键安装,无需额外配置。
workspace-manager 是免费的吗?
是的,workspace-manager 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
workspace-manager 支持哪些平台?
workspace-manager 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 workspace-manager?
由 musenlinc(@mslchy)开发并维护,当前版本 v1.0.0。
推荐 Skills