← 返回 Skills 市场
70
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install workspace-guardian-by-lujun
功能描述
文件创建与目录组织规则。强制执行统一的命名规范和目录结构,确保所有产出物可预测、可查找、可追溯。价值:节省 token(减少重复搜索定位)、节约时间(不再花时间找文件)、降低管理成本(产出物有序不混乱)。当用户没有明确指定路径时,此规则强制生效。
安全使用建议
This skill is coherent with its stated goal of enforcing file naming and placement, but it contains rules that automatically delete or move files (including deleting failed scripts and clearing temp/empty directories) and states the rule 'overrides default behavior' when a user does not provide a full path. Before installing or enabling it, consider these precautions:
- Require explicit confirmation for any destructive action (deletion or permanent archive) rather than immediately acting on short user phrases like "不好看" or "再生成一个".
- Limit the agent's write/delete scope to quarantined/specific workspace directories (e.g., only under ~/WorkBuddy/* or a user-approved folder) and disallow sweeping operations across the entire home directory.
- Add a dry-run/log-only mode so the agent reports proposed deletions/moves and waits for approval.
- Ensure actions are logged and that there is an easy undo/recovery path (e.g., move to a quarantine folder instead of immediate permanent deletion for N days).
- If you accept automated cleanup (temp/24hr rules), back up important files first and test the skill in a sandbox environment.
- Ask the author (or require modification) to make destructive rules opt-in and to clarify ambiguous triggers for deletion (what precisely counts as '部分成功' vs '致命错误').
If you cannot enforce these safeguards, treat the skill as potentially risky and avoid granting it autonomous use over your primary home/work directories.
功能分析
Type: OpenClaw Skill
Name: workspace-guardian-by-lujun
Version: 1.0.2
The skill bundle contains instructions in SKILL.md that implement an aggressive 'Automatic Cleanup Mechanism,' directing the AI agent to autonomously delete files, scripts, and directories based on subjective user feedback (e.g., 'not good' or 'redo') or script failures. While the stated goal is workspace organization, the use of authoritative language to override default agent behavior and the potential for unintended data loss via automated file deletion based on natural language interpretation are high-risk behaviors.
能力评估
Purpose & Capability
Name/description match the instructions: this is an instruction-only policy for where and how an agent should create, name, archive, and delete files. It does not request extra binaries, credentials, or installs that are unrelated to the stated purpose.
Instruction Scope
SKILL.md contains explicit runtime directives that go beyond passive guidance: it requires the agent to choose file locations when the user hasn't specified a path, to immediately delete generated artifacts when the user signals dissatisfaction, to delete failed scripts (including on syntax errors), to auto-clean temp/empty directories, and to move/trim archives. Those are destructive actions performed without an always-present confirmation step in many cases and reference specific user paths (e.g., ~/WorkBuddy/, ~/.openclaw/, ~/.hermes/). This increases the chance of accidental or unwanted deletion of user data.
Install Mechanism
Instruction-only skill with no install spec and no code files — lowest install risk.
Credentials
The skill requests no environment variables, credentials, or config paths. It does reference home and app-specific directories for placement rules, which is reasonable for a file-organization helper, but those references are broad.
Persistence & Privilege
always:false and no special system privileges are requested. However, the skill permits autonomous agent actions (platform default), and combined with its destructive instructions (automatic deletions, archive purges, timed cleanup) this raises operational risk: an autonomously-invoked agent could perform file operations that the user did not explicitly confirm.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install workspace-guardian-by-lujun - 安装完成后,直接呼叫该 Skill 的名称或使用
/workspace-guardian-by-lujun触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
Workspace Guardian v1.0.2
- Clarified and enforced standardized file and directory organization rules across projects.
- Detailed naming conventions for files, scripts, and reports to enhance predictability and traceability.
- Listed prohibited behaviors with corrective guidance to avoid directory clutter and confusion.
- Introduced automated cleaning procedures for unapproved outputs, failed scripts, temp files, and empty directories.
- Provided self-check steps for each file creation to ensure users can quickly locate new files.
元数据
常见问题
Workspace Guardian 是什么?
文件创建与目录组织规则。强制执行统一的命名规范和目录结构,确保所有产出物可预测、可查找、可追溯。价值:节省 token(减少重复搜索定位)、节约时间(不再花时间找文件)、降低管理成本(产出物有序不混乱)。当用户没有明确指定路径时,此规则强制生效。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 70 次。
如何安装 Workspace Guardian?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install workspace-guardian-by-lujun」即可一键安装,无需额外配置。
Workspace Guardian 是免费的吗?
是的,Workspace Guardian 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Workspace Guardian 支持哪些平台?
Workspace Guardian 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(win32, linux, darwin)。
谁开发了 Workspace Guardian?
由 lujun2508(@lujun2508)开发并维护,当前版本 v1.0.2。
推荐 Skills