← 返回 Skills 市场
casperzinou

Workspace Hygiene — Auto-Clean for AI Agents

作者 zinou · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
67
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install talonforge-workspace-hygiene
功能描述
Automatically enforces workspace file size limits, archives stale or bloated files, and organizes root contents to maintain efficient AI agent context.
安全使用建议
This skill appears to implement a workspace cleaner and archives many files locally (no network exfiltration). Before installing: (1) back up your workspace (AGENTS.md, MEMORY.md, STATE.md, etc.) because the script can truncate/trim files and will delete empty files; (2) review and test the included workspace-hygiene.sh in a sandbox or copy it to a non-production workspace to verify behavior and portability (stat/date flags may be platform-dependent); (3) confirm the hard-coded WORKSPACE path (/root/.openclaw/workspace) matches where your agent stores data or modify it to your environment; (4) note mismatches between SKILL.md and the script (the script does delete empty files and does not move .secrets), so ask the author to reconcile or adjust the script if you require stricter 'never delete' guarantees; and (5) if sensitive secrets or unique files reside under the workspace root, ensure they are excluded or moved before enabling automatic runs.
功能分析
Type: OpenClaw Skill Name: talonforge-workspace-hygiene Version: 1.0.0 The skill bundle is a maintenance utility designed to optimize LLM context usage by enforcing file size limits and archiving stale data within the OpenClaw workspace. The shell script (workspace-hygiene.sh) and instructions (SKILL.md) perform transparent file management tasks, such as trimming logs, moving media files to an archive directory, and consolidating daily notes, with no evidence of network exfiltration, credential theft, or unauthorized execution.
能力评估
Purpose & Capability
Name/description match the provided script: it trims large markdown boot files, archives stale files, and moves media/package files out of the workspace root. The requested resources (none) are proportional to this purpose.
Instruction Scope
SKILL.md contains rules and triggers that partly do not match the script: SKILL.md promises 'Never delete, always archive', yet the script deletes empty files; SKILL.md mandates '.secrets' be moved to talonforge/.secrets/, but the script does not touch .secrets; SKILL.md mentions auto-trigger behavior (after sessions that create 10+ files) but the script has no event-driven mechanism. These discrepancies could lead to unexpected outcomes.
Install Mechanism
There is no install spec (instruction-only), which is low-risk. However, the skill includes a runnable shell script in the package that will be executed by the agent if invoked — the script operates on the filesystem but does not fetch external code or contact networks.
Credentials
No environment variables or external credentials are requested. The script operates on a single workspace path (/root/.openclaw/workspace) which is consistent with a workspace hygiene tool, but this absolute path may behave differently depending on the agent runtime and privileges.
Persistence & Privilege
The skill is not 'always: true' and is user-invocable; it does not request persistent elevated privileges or modify other skills' configs. Autonomous invocation is allowed by default but not a unique risk here.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install talonforge-workspace-hygiene
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /talonforge-workspace-hygiene 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: automated workspace cleaning, archive management, log rotation
元数据
Slug talonforge-workspace-hygiene
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Workspace Hygiene — Auto-Clean for AI Agents 是什么?

Automatically enforces workspace file size limits, archives stale or bloated files, and organizes root contents to maintain efficient AI agent context. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 67 次。

如何安装 Workspace Hygiene — Auto-Clean for AI Agents?

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

Workspace Hygiene — Auto-Clean for AI Agents 是免费的吗?

是的,Workspace Hygiene — Auto-Clean for AI Agents 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Workspace Hygiene — Auto-Clean for AI Agents 支持哪些平台?

Workspace Hygiene — Auto-Clean for AI Agents 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Workspace Hygiene — Auto-Clean for AI Agents?

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

💬 留言讨论