Skill Enumeration
- Category
- Agent Snooping
- Confidence
- 80% confidence
- Finding
Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
- Content
md - **根目录的 `AGENTS.md` / `SOUL.md` / `IDENTITY.md` / `USER.md` / `BOOTSTRAP.md` 不是「stray 垃圾」,是某个会话的 OpenClaw 工作区脚手架**:删掉会**当场打挂**该目录上的会话(`WORKSPACE_VANISHED` / `Refusing to reseed BOOTSTRAP.md`)。判据:`BOOTSTRAP.md` 在位 = 该目录做过工作区初始化。⇒ 本类清理**先读 `openclaw-workspace-registration`**;要「不污染 git」用 `.gitignore` 而不是删文件(教训 #422)。 - **同名同内容 ≠ 冗余**:`run/<项目>/final/图件/` 与 `scripts/` 下的同名 png 是**有意副本**(交付面 × 工作面),删掉破坏交付面。 - **空目录可能是别家技能声明的结构位,而消费者 grep 极易漏掉**:实测 `memory/{daily,decisions,people,projects}/` 被工作区内已装技能 `skills/koompi-memory/SKILL.md` 声明为自己的存储约定;当时我只 grep 了 `MEMORY.md` / `lessons.md` / `projects.md` **三个手挑文件**,漏掉 `skills/`,把四个结构目录当空目录删了。⇒ 消费者 grep 必须**全工作区**跑(含 `skills/`),**不得手挑文件列表**。(`radar/` 实测 0 消费者,删掉无碍 —— 判据是「有没有消费者」,不是「是不是空目录」。) - **`.learnings/` 不是本次清理的产物**:`self-improving-agent` 的 HOOK 会往里写,属依赖项。 - **`run/<项目>/.git` 是活仓库**:先 `git -C <dir> status --short` 看是否干净,能留则留。 - **报告包类要分清原件与残留**:`outputs/clawhub-scan/*.zip` 是 `scripts/scan-history.py` 的数据源(留),同目录的解压目录才是残留。
