← Back to Skills Marketplace
lujun2508

Workspace Guardian

by lujun2508 · GitHub ↗ · v1.0.2 · MIT-0
win32linuxdarwin ⚠ suspicious
70
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install workspace-guardian-by-lujun
Description
文件创建与目录组织规则。强制执行统一的命名规范和目录结构,确保所有产出物可预测、可查找、可追溯。价值:节省 token(减少重复搜索定位)、节约时间(不再花时间找文件)、降低管理成本(产出物有序不混乱)。当用户没有明确指定路径时,此规则强制生效。
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install workspace-guardian-by-lujun
  3. After installation, invoke the skill by name or use /workspace-guardian-by-lujun
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug workspace-guardian-by-lujun
Version 1.0.2
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Workspace Guardian?

文件创建与目录组织规则。强制执行统一的命名规范和目录结构,确保所有产出物可预测、可查找、可追溯。价值:节省 token(减少重复搜索定位)、节约时间(不再花时间找文件)、降低管理成本(产出物有序不混乱)。当用户没有明确指定路径时,此规则强制生效。 It is an AI Agent Skill for Claude Code / OpenClaw, with 70 downloads so far.

How do I install Workspace Guardian?

Run "/install workspace-guardian-by-lujun" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Workspace Guardian free?

Yes, Workspace Guardian is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Workspace Guardian support?

Workspace Guardian is cross-platform and runs anywhere OpenClaw / Claude Code is available (win32, linux, darwin).

Who created Workspace Guardian?

It is built and maintained by lujun2508 (@lujun2508); the current version is v1.0.2.

💬 Comments