# openclaw - Doramagic AI Context Pack

> 定位：安装前体验与判断资产。它帮助宿主 AI 有一个好的开始，但不代表已经安装、执行或验证目标项目。

## 充分原则

- **充分原则，不是压缩原则**：AI Context Pack 应该充分到让宿主 AI 在开工前理解项目价值、能力边界、使用入口、风险和证据来源；它可以分层组织，但不以最短摘要为目标。
- **压缩策略**：只压缩噪声和重复内容，不压缩会影响判断和开工质量的上下文。

## 给宿主 AI 的使用方式

你正在读取 Doramagic 为 openclaw 编译的 AI Context Pack。请把它当作开工前上下文：帮助用户理解适合谁、能做什么、如何开始、哪些必须安装后验证、风险在哪里。不要声称你已经安装、运行或执行了目标项目。

## Claim 消费规则

- **事实来源**：Repo Evidence + Claim/Evidence Graph；Human Wiki 只提供显著性、术语和叙事结构。
- **事实最低状态**：`supported`
- `supported`：可以作为项目事实使用，但回答中必须引用 claim_id 和证据路径。
- `weak`：只能作为低置信度线索，必须要求用户继续核实。
- `inferred`：只能用于风险提示或待确认问题，不能包装成项目事实。
- `unverified`：不得作为事实使用，应明确说证据不足。
- `contradicted`：必须展示冲突来源，不得替用户强行选择一个版本。

## 它最适合谁

- **正在使用 Claude/Codex/Cursor/Gemini 等宿主 AI 的开发者**：README 或插件配置提到多个宿主 AI。 证据：`README.md` Claim：`clm_0004` supported 0.86
- **希望把专业流程带进宿主 AI 的用户**：仓库包含 Skill 文档。 证据：`.agents/skills/autoreview/SKILL.md`, `.agents/skills/clawdtributor/SKILL.md`, `.agents/skills/control-ui-e2e/SKILL.md`, `.agents/skills/crabbox/SKILL.md` 等 Claim：`clm_0005` supported 0.86

## 它能做什么

- **AI Skill / Agent 指令资产库**（可做安装前预览）：项目包含可被宿主 AI 读取的 Skill 或 Agent 指令文件，可用于把专业流程带入 Claude、Codex、Cursor 等宿主。 证据：`.agents/skills/autoreview/SKILL.md`, `.agents/skills/clawdtributor/SKILL.md`, `.agents/skills/control-ui-e2e/SKILL.md`, `.agents/skills/crabbox/SKILL.md` 等 Claim：`clm_0001` supported 0.86
- **多宿主安装与分发**（需要安装后验证）：项目包含插件或 marketplace 配置，说明它面向一个或多个 AI 宿主的安装和分发。 证据：`docs/snippets/plugin-publish/minimal-openclaw.plugin.json`, `extensions/acpx/openclaw.plugin.json`, `extensions/active-memory/openclaw.plugin.json`, `extensions/admin-http-rpc/openclaw.plugin.json` 等 Claim：`clm_0002` unverified 0.25
- **命令行启动或安装流程**（需要安装后验证）：项目文档中存在可执行命令，真实使用需要在本地或宿主环境中运行这些命令。 证据：`README.md` Claim：`clm_0003` supported 0.86

## 怎么开始

- `npm install -g openclaw@latest` 证据：`README.md` Claim：`clm_0006` supported 0.86
- `git clone https://github.com/openclaw/openclaw.git` 证据：`README.md` Claim：`clm_0007` supported 0.86

## 继续前判断卡

- **当前建议**：先做研究框架试用
- **为什么**：这个项目面向研究工作流，核心风险是资料可信度和输出质量；先用 Prompt Preview 验证研究框架，再在隔离环境试装。

### 30 秒判断

- **现在怎么做**：先做研究框架试用
- **最小安全下一步**：先用 Prompt Preview 验证研究框架；满意后再隔离试装
- **先别相信**：研究结论、引用和实验结果不能在安装前相信。
- **继续会触碰**：研究判断、命令执行、宿主 AI 配置

### 现在可以相信

- **适合人群线索：正在使用 Claude/Codex/Cursor/Gemini 等宿主 AI 的开发者**（supported）：有 supported claim 或项目证据支撑，但仍不等于真实安装效果。 证据：`README.md` Claim：`clm_0004` supported 0.86
- **适合人群线索：希望把专业流程带进宿主 AI 的用户**（supported）：有 supported claim 或项目证据支撑，但仍不等于真实安装效果。 证据：`.agents/skills/autoreview/SKILL.md`, `.agents/skills/clawdtributor/SKILL.md`, `.agents/skills/control-ui-e2e/SKILL.md`, `.agents/skills/crabbox/SKILL.md` 等 Claim：`clm_0005` supported 0.86
- **能力存在：AI Skill / Agent 指令资产库**（supported）：可以相信项目包含这类能力线索；是否适合你的具体任务仍要试用或安装后验证。 证据：`.agents/skills/autoreview/SKILL.md`, `.agents/skills/clawdtributor/SKILL.md`, `.agents/skills/control-ui-e2e/SKILL.md`, `.agents/skills/crabbox/SKILL.md` 等 Claim：`clm_0001` supported 0.86
- **能力存在：命令行启动或安装流程**（supported）：可以相信项目包含这类能力线索；是否适合你的具体任务仍要试用或安装后验证。 证据：`README.md` Claim：`clm_0003` supported 0.86
- **存在 Quick Start / 安装命令线索**（supported）：可以相信项目文档出现过启动或安装入口；不要因此直接在主力环境运行。 证据：`README.md` Claim：`clm_0006` supported 0.86

### 现在还不能相信

- **研究结论、引用和实验结果不能在安装前相信。**（unverified）：研究 Skill 可以组织问题和路径，但不能替代真实资料检索、论文核验和实验复现。
- **是否适合你的具体研究领域不能直接相信。**（unverified）：Skill 覆盖很多研究主题，不代表对你的领域、资料要求和可信度标准足够。
- **真实输出质量不能在安装前相信。**（unverified）：Prompt Preview 只能展示引导方式，不能证明真实项目中的结果质量。
- **宿主 AI 版本兼容性不能在安装前相信。**（unverified）：Claude、Cursor、Codex、Gemini 等宿主加载规则和版本差异必须在真实环境验证。
- **不会污染现有宿主 AI 行为，不能直接相信。**（inferred）：Skill、plugin、AGENTS/CLAUDE/GEMINI 指令可能改变宿主 AI 的默认行为。 证据：`.agents/skills/autoreview/SKILL.md`, `.agents/skills/clawdtributor/SKILL.md`, `.agents/skills/control-ui-e2e/SKILL.md`, `.agents/skills/crabbox/SKILL.md` 等
- **可安全回滚不能默认相信。**（unverified）：除非项目明确提供卸载和恢复说明，否则必须先在隔离环境验证。
- **真实安装后是否与用户当前宿主 AI 版本兼容？**（unverified）：兼容性只能通过实际宿主环境验证。 证据：`docs/snippets/plugin-publish/minimal-openclaw.plugin.json`, `extensions/acpx/openclaw.plugin.json`, `extensions/active-memory/openclaw.plugin.json`, `extensions/admin-http-rpc/openclaw.plugin.json` 等
- **项目输出质量是否满足用户具体任务？**（unverified）：安装前预览只能展示流程和边界，不能替代真实评测。

### 继续会触碰什么

- **研究判断**：问题拆解、资料路径、实验路径、结论结构和可信度判断。 原因：研究型 Skill 可能让输出看起来更专业，但不能替代真实证据核验。
- **命令执行**：包管理器、网络下载、本地插件目录、项目配置或用户主目录。 原因：运行第一条命令就可能产生环境改动；必须先判断是否值得跑。 证据：`README.md`
- **宿主 AI 配置**：Claude/Codex/Cursor/Gemini/OpenCode 等宿主的 plugin、Skill 或规则加载配置。 原因：宿主配置会改变 AI 后续工作方式，可能和用户已有规则冲突。 证据：`.agents/skills/autoreview/SKILL.md`, `.agents/skills/clawdtributor/SKILL.md`, `.agents/skills/control-ui-e2e/SKILL.md`, `.agents/skills/crabbox/SKILL.md` 等
- **本地环境或项目文件**：安装结果、插件缓存、项目配置或本地依赖目录。 原因：安装前无法证明写入范围和回滚方式，需要隔离验证。 证据：`README.md`, `docs/snippets/plugin-publish/minimal-openclaw.plugin.json`, `extensions/acpx/openclaw.plugin.json`, `extensions/active-memory/openclaw.plugin.json` 等
- **宿主 AI 上下文**：AI Context Pack、Prompt Preview、Skill 路由、风险规则和项目事实。 原因：导入上下文会影响宿主 AI 后续判断，必须避免把未验证项包装成事实。

### 最小安全下一步

- **先跑 Prompt Preview**：先验证它能否正确界定研究问题和证据边界，不要先相信研究输出。（适用：任何项目都适用，尤其是输出质量未知时。）
- **只在隔离目录或测试账号试装**：避免安装命令污染主力宿主 AI、真实项目或用户主目录。（适用：存在命令执行、插件配置或本地写入线索时。）
- **先备份宿主 AI 配置**：Skill、plugin、规则文件可能改变 Claude/Cursor/Codex 的默认行为。（适用：存在插件 manifest、Skill 或宿主规则入口时。）
- **安装后只验证一个最小任务**：先验证加载、兼容、输出质量和回滚，再决定是否深用。（适用：准备从试用进入真实工作流时。）

### 退出方式

- **保留安装前状态**：记录原始宿主配置和项目状态，后续才能判断是否可恢复。
- **准备移除宿主 plugin / Skill / 规则入口**：如果试装后行为异常，可以把宿主 AI 恢复到试装前状态。
- **保留资料和结论核验清单**：如果后续发现引用或实验路径不可靠，可以回到证据边界阶段重新校验。
- **记录安装命令和写入路径**：没有明确卸载说明时，至少要知道哪些目录或配置需要手动清理。
- **如果没有回滚路径，不进入主力环境**：不可回滚是继续前阻断项，不应靠信任或运气继续。

## 哪些只能预览

- 解释项目适合谁和能做什么
- 基于项目文档演示典型对话流程
- 帮助用户判断是否值得安装或继续研究

## 哪些必须安装后验证

- 真实安装 Skill、插件或 CLI
- 执行脚本、修改本地文件或访问外部服务
- 验证真实输出质量、性能和兼容性

## 边界与风险判断卡

- **把安装前预览误认为真实运行**：用户可能高估项目已经完成的配置、权限和兼容性验证。 处理方式：明确区分 prompt_preview_can_do 与 runtime_required。 Claim：`clm_0008` inferred 0.45
- **宿主 AI 插件或 Skill 规则冲突**：新规则可能改变用户现有宿主 AI 的工作方式。 处理方式：安装前先检查插件 manifest 和 Skill 文件，必要时隔离测试。 证据：`docs/snippets/plugin-publish/minimal-openclaw.plugin.json`, `extensions/acpx/openclaw.plugin.json`, `extensions/active-memory/openclaw.plugin.json`, `extensions/admin-http-rpc/openclaw.plugin.json` 等 Claim：`clm_0009` inferred 0.45
- **命令执行会修改本地环境**：安装命令可能写入用户主目录、宿主插件目录或项目配置。 处理方式：先在隔离环境或测试账号中运行。 证据：`README.md` Claim：`clm_0010` supported 0.86
- **待确认**：真实安装后是否与用户当前宿主 AI 版本兼容？。原因：兼容性只能通过实际宿主环境验证。
- **待确认**：项目输出质量是否满足用户具体任务？。原因：安装前预览只能展示流程和边界，不能替代真实评测。
- **待确认**：安装命令是否需要网络、权限或全局写入？。原因：这影响企业环境和个人环境的安装风险。

## 开工前工作上下文

### 加载顺序

- 先读取 how_to_use.host_ai_instruction，建立安装前判断资产的边界。
- 读取 claim_graph_summary，确认事实来自 Claim/Evidence Graph，而不是 Human Wiki 叙事。
- 再读取 intended_users、capabilities 和 quick_start_candidates，判断用户是否匹配。
- 需要执行具体任务时，优先查 role_skill_index，再查 evidence_index。
- 遇到真实安装、文件修改、网络访问、性能或兼容性问题时，转入 risk_card 和 boundaries.runtime_required。

### 任务路由

- **AI Skill / Agent 指令资产库**：先基于 role_skill_index / evidence_index 帮用户挑选可用角色、Skill 或工作流。 边界：可做安装前 Prompt 体验。 证据：`.agents/skills/autoreview/SKILL.md`, `.agents/skills/clawdtributor/SKILL.md`, `.agents/skills/control-ui-e2e/SKILL.md`, `.agents/skills/crabbox/SKILL.md` 等 Claim：`clm_0001` supported 0.86
- **多宿主安装与分发**：先说明这是安装后验证能力，再给出安装前检查清单。 边界：必须真实安装或运行后验证。 证据：`docs/snippets/plugin-publish/minimal-openclaw.plugin.json`, `extensions/acpx/openclaw.plugin.json`, `extensions/active-memory/openclaw.plugin.json`, `extensions/admin-http-rpc/openclaw.plugin.json` 等
- **命令行启动或安装流程**：先说明这是安装后验证能力，再给出安装前检查清单。 边界：必须真实安装或运行后验证。 证据：`README.md` Claim：`clm_0003` supported 0.86

### 上下文规模

- 文件总数：18020
- 重要文件覆盖：40/18020
- 证据索引条目：175
- 角色 / Skill 条目：95

### 证据不足时的处理

- **missing_evidence**：说明证据不足，要求用户提供目标文件、README 段落或安装后验证记录；不要补全事实。
- **out_of_scope_request**：说明该任务超出当前 AI Context Pack 证据范围，并建议用户先查看 Human Manual 或真实安装后验证。
- **runtime_request**：给出安装前检查清单和命令来源，但不要替用户执行命令或声称已执行。
- **source_conflict**：同时展示冲突来源，标记为待核实，不要强行选择一个版本。

## Prompt Recipes

### 适配判断

- 目标：判断这个项目是否适合用户当前任务。
- 预期输出：适配结论、关键理由、证据引用、安装前可预览内容、必须安装后验证内容、下一步建议。

```text
请基于 openclaw 的 AI Context Pack，先问我 3 个必要问题，然后判断它是否适合我的任务。回答必须包含：适合谁、能做什么、不能做什么、是否值得安装、证据来自哪里。所有项目事实必须引用 evidence_refs、source_paths 或 claim_id。
```

### 安装前体验

- 目标：让用户在安装前感受核心工作流，同时避免把预览包装成真实能力或营销承诺。
- 预期输出：一段带边界标签的体验剧本、安装后验证清单和谨慎建议；不含真实运行承诺或强营销表述。

```text
请把 openclaw 当作安装前体验资产，而不是已安装工具或真实运行环境。

请严格输出四段：
1. 先问我 3 个必要问题。
2. 给出一段“体验剧本”：用 [安装前可预览]、[必须安装后验证]、[证据不足] 三种标签展示它可能如何引导工作流。
3. 给出安装后验证清单：列出哪些能力只有真实安装、真实宿主加载、真实项目运行后才能确认。
4. 给出谨慎建议：只能说“值得继续研究/试装”“先补充信息后再判断”或“不建议继续”，不得替项目背书。

硬性边界：
- 不要声称已经安装、运行、执行测试、修改文件或产生真实结果。
- 不要写“自动适配”“确保通过”“完美适配”“强烈建议安装”等承诺性表达。
- 如果描述安装后的工作方式，必须使用“如果安装成功且宿主正确加载 Skill，它可能会……”这种条件句。
- 体验剧本只能写成“示例台词/假设流程”：使用“可能会询问/可能会建议/可能会展示”，不要写“已写入、已生成、已通过、正在运行、正在生成”。
- Prompt Preview 不负责给安装命令；如用户准备试装，只能提示先阅读 Quick Start 和 Risk Card，并在隔离环境验证。
- 所有项目事实必须来自 supported claim、evidence_refs 或 source_paths；inferred/unverified 只能作风险或待确认项。

```

### 角色 / Skill 选择

- 目标：从项目里的角色或 Skill 中挑选最匹配的资产。
- 预期输出：候选角色或 Skill 列表，每项包含适用场景、证据路径、风险边界和是否需要安装后验证。

```text
请读取 role_skill_index，根据我的目标任务推荐 3-5 个最相关的角色或 Skill。每个推荐都要说明适用场景、可能输出、风险边界和 evidence_refs。
```

### 风险预检

- 目标：安装或引入前识别环境、权限、规则冲突和质量风险。
- 预期输出：环境、权限、依赖、许可、宿主冲突、质量风险和未知项的检查清单。

```text
请基于 risk_card、boundaries 和 quick_start_candidates，给我一份安装前风险预检清单。不要替我执行命令，只说明我应该检查什么、为什么检查、失败会有什么影响。
```

### 宿主 AI 开工指令

- 目标：把项目上下文转成一次对话开始前的宿主 AI 指令。
- 预期输出：一段边界明确、证据引用明确、适合复制给宿主 AI 的开工前指令。

```text
请基于 openclaw 的 AI Context Pack，生成一段我可以粘贴给宿主 AI 的开工前指令。这段指令必须遵守 not_runtime=true，不能声称项目已经安装、运行或产生真实结果。
```


## 角色 / Skill 索引

- 共索引 95 个角色 / Skill / 项目文档条目。

- **autoreview**（skill）：Auto Review closeout. Codex review is the default when no engine is set and is the recommended reviewer. 激活提示：当用户任务与“autoreview”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`.agents/skills/autoreview/SKILL.md`
- **clawdtributor**（skill）：Use for OpenClaw clawtributors PR/issue triage: Discrawl discovery, live-open rechecks, deep review, topic grouping, and compact @handle/LOC/type/blast/verification summaries. 激活提示：当用户任务与“clawdtributor”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`.agents/skills/clawdtributor/SKILL.md`
- **control-ui-e2e**（skill）：Use when testing, fixing, or extending the OpenClaw Control UI GUI with Vitest + Playwright end-to-end checks, mocked Gateway WebSocket flows, mocked dashboard runs, screenshots/videos, or agent-verifiable browser proof. 激活提示：当用户任务与“control-ui-e2e”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`.agents/skills/control-ui-e2e/SKILL.md`
- **crabbox**（skill）：Use the Crabbox wrapper for OpenClaw remote validation across Linux, macOS, Windows, and WSL2, including delegated Blacksmith Testbox proof. Report the actual provider and id. 激活提示：当用户任务与“crabbox”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`.agents/skills/crabbox/SKILL.md`
- **gitcrawl**（skill）：GitHub archive: issue/PR search, sync freshness, duplicate clusters, gh-shim PR status, and Gitcrawl repo work. 激活提示：当用户任务与“gitcrawl”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`.agents/skills/gitcrawl/SKILL.md`
- **openclaw-debugging**（skill）：Debug OpenClaw model, provider, tool-surface, code-mode, streaming, and live/Crabbox behavior by choosing the right logs, probes, and proof path before changing code. 激活提示：当用户任务与“openclaw-debugging”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`.agents/skills/openclaw-debugging/SKILL.md`
- **openclaw-ghsa-maintainer**（skill）：Inspect, patch, validate, publish, or confirm OpenClaw GHSA security advisories and private-fork state. 激活提示：当用户任务与“openclaw-ghsa-maintainer”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`.agents/skills/openclaw-ghsa-maintainer/SKILL.md`
- **openclaw-landable-bug-sweep**（skill）：Find or repair small high-confidence non-SDK-boundary OpenClaw bugfix PRs until five are landable. 激活提示：当用户任务与“openclaw-landable-bug-sweep”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`.agents/skills/openclaw-landable-bug-sweep/SKILL.md`
- **openclaw-parallels-smoke**（skill）：Run, rerun, debug, or interpret OpenClaw Parallels install, onboarding, gateway smoke, and upgrade checks. 激活提示：当用户任务与“openclaw-parallels-smoke”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`.agents/skills/openclaw-parallels-smoke/SKILL.md`
- **openclaw-pr-maintainer**（skill）：Use immediately for any pasted OpenClaw GitHub issue or PR URL/number, and for OpenClaw issue/PR review, triage, duplicate search, opener identity/who wrote it, author account age/activity, comments, labels, close, land, or maintainer evidence checks. 激活提示：当用户任务与“openclaw-pr-maintainer”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`.agents/skills/openclaw-pr-maintainer/SKILL.md`
- **openclaw-qa-testing**（skill）：Run, watch, debug, extend, or explain OpenClaw qa-lab and qa-channel scenarios, artifacts, and live lanes. 激活提示：当用户任务与“openclaw-qa-testing”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`.agents/skills/openclaw-qa-testing/SKILL.md`
- **openclaw-refactor-docs**（skill）：Refactor an existing OpenClaw docs page with source-audited preservation, restructuring, and verification. 激活提示：当用户任务与“openclaw-refactor-docs”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`.agents/skills/openclaw-refactor-docs/SKILL.md`
- **openclaw-release-ci**（skill）：Run, watch, debug, and summarize OpenClaw full release CI, release checks, live provider gates, install/update proofs, and release-secret preflights. 激活提示：当用户任务与“openclaw-release-ci”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`.agents/skills/openclaw-release-ci/SKILL.md`
- **openclaw-release-maintainer**（skill）：Prepare or verify OpenClaw stable/beta releases, changelogs, release notes, publish commands, and artifacts. 激活提示：当用户任务与“openclaw-release-maintainer”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`.agents/skills/openclaw-release-maintainer/SKILL.md`
- **openclaw-secret-scanning-maintainer**（skill）：Triage, redact, clean up, and resolve OpenClaw GitHub Secret Scanning alerts in issues or PRs. 激活提示：当用户任务与“openclaw-secret-scanning-maintainer”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`.agents/skills/openclaw-secret-scanning-maintainer/SKILL.md`
- **openclaw-test-heap-leaks**（skill）：Investigate OpenClaw pnpm test memory growth, Vitest OOMs, RSS spikes, and heap snapshot deltas. 激活提示：当用户任务与“openclaw-test-heap-leaks”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`.agents/skills/openclaw-test-heap-leaks/SKILL.md`
- **openclaw-test-performance**（skill）：Benchmark, diagnose, and optimize OpenClaw test and plugin-suite runtime, import hotspots, CPU/RSS, heap growth, and slow coverage paths. 激活提示：当用户任务与“openclaw-test-performance”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`.agents/skills/openclaw-test-performance/SKILL.md`
- **openclaw-testing**（skill）：Choose, run, rerun, or debug OpenClaw tests, CI checks, Docker E2E lanes, release validation, and the cheapest safe verification path. 激活提示：当用户任务与“openclaw-testing”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`.agents/skills/openclaw-testing/SKILL.md`
- **optimizetests**（skill）：Optimize OpenClaw slow tests, imports, misplaced coverage, and CI wall time without dropping coverage. 激活提示：当用户任务与“optimizetests”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`.agents/skills/optimizetests/SKILL.md`
- **parallels-discord-roundtrip**（skill）：Run macOS Parallels smoke with Discord send, host verification, host reply, and guest readback proof. 激活提示：当用户任务与“parallels-discord-roundtrip”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`.agents/skills/parallels-discord-roundtrip/SKILL.md`
- **security-triage**（skill）：Triage OpenClaw security advisories, drafts, and GHSA reports with shipped-tag and trust-model proof. 激活提示：当用户任务与“security-triage”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`.agents/skills/security-triage/SKILL.md`
- **tag-duplicate-prs-issues**（skill）：Use gitcrawl to search duplicate OpenClaw PRs/issues, group related work in prtags, and sync duplicate state to GitHub. 激活提示：当用户任务与“tag-duplicate-prs-issues”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`.agents/skills/tag-duplicate-prs-issues/SKILL.md`
- **acp-router**（skill）：Route plain-language requests for Pi, Claude Code, Cursor, Copilot, OpenClaw ACP, OpenCode, Gemini CLI, Qwen, Kiro, Kimi, iFlow, Factory Droid, Kilocode, or explicit ACP harness work into either OpenClaw ACP runtime sessions or direct acpx-driven sessions "telephone game" flow . For coding-agent thread requests, read this skill first, then use only sessions spawn for thread creation. Codex chat binding defaults to t… 激活提示：当用户任务与“acp-router”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`extensions/acpx/skills/acp-router/SKILL.md`
- **browser-automation**（skill）：Use when controlling web pages with the OpenClaw browser tool, especially multi-step flows, login checks, tab management, or recovery from stale refs/timeouts. 激活提示：当用户任务与“browser-automation”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`extensions/browser/skills/browser-automation/SKILL.md`
- **diffs**（skill）：Use the diffs tool to produce real, shareable diffs viewer URL, file artifact, or both instead of manual edit summaries. 激活提示：当用户任务与“diffs”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`extensions/diffs/skills/diffs/SKILL.md`
- **feishu-doc**（skill）： 激活提示：当用户任务与“feishu-doc”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`extensions/feishu/skills/feishu-doc/SKILL.md`
- **feishu-drive**（skill）： 激活提示：当用户任务与“feishu-drive”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`extensions/feishu/skills/feishu-drive/SKILL.md`
- **feishu-perm**（skill）： 激活提示：当用户任务与“feishu-perm”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`extensions/feishu/skills/feishu-perm/SKILL.md`
- **feishu-wiki**（skill）： 激活提示：当用户任务与“feishu-wiki”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`extensions/feishu/skills/feishu-wiki/SKILL.md`
- **Lobster**（skill）：Lobster executes multi-step workflows with approval checkpoints. Use it when: 激活提示：当用户任务与“Lobster”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`extensions/lobster/SKILL.md`
- **obsidian-vault-maintainer**（skill）：Maintain an Obsidian-friendly memory wiki vault with wikilinks, frontmatter, and official Obsidian CLI awareness. 激活提示：当用户任务与“obsidian-vault-maintainer”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`extensions/memory-wiki/skills/obsidian-vault-maintainer/SKILL.md`
- **wiki-maintainer**（skill）：Maintain the OpenClaw memory wiki vault with deterministic pages, managed blocks, and source-backed updates. 激活提示：当用户任务与“wiki-maintainer”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`extensions/memory-wiki/skills/wiki-maintainer/SKILL.md`
- **github**（skill）：Use gh for GitHub issues, PR status, CI/logs, comments, reviews, releases, and API queries. 激活提示：当用户任务与“github”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`extensions/oc-path/src/oc-path/tests/fixtures/real/SKILL.md`
- **prose**（skill）：OpenProse VM skill pack. Activate on any prose command, .prose files, or OpenProse mentions; orchestrates multi-agent workflows. 激活提示：当用户任务与“prose”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`extensions/open-prose/skills/prose/SKILL.md`
- **qqbot-channel**（skill）：QQ channel management skill. Use qqbot channel api to list guilds and channels, inspect members, publish posts, manage announcements, and work with schedules through the QQ Open Platform HTTP API with automatic token authentication. 激活提示：当用户任务与“qqbot-channel”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`extensions/qqbot/skills/qqbot-channel/SKILL.md`
- **qqbot-media**（skill）：QQBot rich media send and receive support. Use tags to send image, voice, video, or file attachments, with the media type inferred from the file extension. 激活提示：当用户任务与“qqbot-media”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`extensions/qqbot/skills/qqbot-media/SKILL.md`
- **qqbot-remind**（skill）：QQBot scheduled reminders. Create, list, and cancel one-time or recurring reminders when a QQ conversation involves reminders, alarms, or scheduled tasks. 激活提示：当用户任务与“qqbot-remind”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`extensions/qqbot/skills/qqbot-remind/SKILL.md`
- **tavily**（skill）：Tavily web search, content extraction, and research tools. 激活提示：当用户任务与“tavily”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`extensions/tavily/skills/tavily/SKILL.md`
- **1password**（skill）：Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets. 激活提示：当用户任务与“1password”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`skills/1password/SKILL.md`
- **apple-notes**（skill）：Create, view, edit, delete, search, move, or export Apple Notes via the memo CLI on macOS. 激活提示：当用户任务与“apple-notes”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`skills/apple-notes/SKILL.md`
- **apple-reminders**（skill）：List, add, edit, complete, or delete Apple Reminders and reminder lists via remindctl. 激活提示：当用户任务与“apple-reminders”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`skills/apple-reminders/SKILL.md`
- **bear-notes**（skill）：Create, search, and manage Bear notes via grizzly CLI. 激活提示：当用户任务与“bear-notes”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`skills/bear-notes/SKILL.md`
- **blogwatcher**（skill）：Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI. 激活提示：当用户任务与“blogwatcher”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`skills/blogwatcher/SKILL.md`
- **blucli**（skill）：BluOS CLI blu for discovery, playback, grouping, and volume. 激活提示：当用户任务与“blucli”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`skills/blucli/SKILL.md`
- **camsnap**（skill）：Capture frames or clips from RTSP/ONVIF cameras. 激活提示：当用户任务与“camsnap”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`skills/camsnap/SKILL.md`
- **canvas**（skill）：Present HTML on connected OpenClaw node canvases, navigate/eval/snapshot, and debug canvas host URLs. 激活提示：当用户任务与“canvas”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`skills/canvas/SKILL.md`
- **clawhub**（skill）：Search, install, update, sync, or publish agent skills with the ClawHub CLI and registry. 激活提示：当用户任务与“clawhub”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`skills/clawhub/SKILL.md`
- **coding-agent**（skill）：Delegate coding work to Codex, Claude Code, OpenCode, or Pi as background workers; not simple edits or read-only code lookup. 激活提示：当用户任务与“coding-agent”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`skills/coding-agent/SKILL.md`
- **diagram-maker**（skill）：Create SVG/HTML or Excalidraw diagrams for concepts, architecture, flows, and whiteboards. 激活提示：当用户任务与“diagram-maker”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`skills/diagram-maker/SKILL.md`
- **discord**（skill）：Discord message-tool ops: send/read/edit/delete, react, poll, pin, thread, search, presence, media/components. 激活提示：当用户任务与“discord”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`skills/discord/SKILL.md`
- **eightctl**（skill）：Control Eight Sleep pods status, temperature, alarms, schedules . 激活提示：当用户任务与“eightctl”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`skills/eightctl/SKILL.md`
- **gemini**（skill）：Gemini CLI one-shot prompts, summaries, generation, skills, hooks, MCP, or Gemma routing. 激活提示：当用户任务与“gemini”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`skills/gemini/SKILL.md`
- **gh-issues**（skill）：Fetch GitHub issues, select candidates, spawn background fix agents, open PRs, and optionally process PR review comments. 激活提示：当用户任务与“gh-issues”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`skills/gh-issues/SKILL.md`
- **gifgrep**（skill）：Search GIF providers with CLI/TUI, download results, and extract stills/sheets. 激活提示：当用户任务与“gifgrep”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`skills/gifgrep/SKILL.md`
- **github**（skill）：GitHub CLI for issues, PRs, CI/check logs, comments, reviews, releases, repos, and gh api queries. 激活提示：当用户任务与“github”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`skills/github/SKILL.md`
- **gog**（skill）：Google Workspace CLI for Gmail, Calendar, Drive, Contacts, Sheets, and Docs. 激活提示：当用户任务与“gog”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`skills/gog/SKILL.md`
- **goplaces**（skill）：Query Google Places for text search, place details, resolve, reviews, or scriptable JSON via goplaces. 激活提示：当用户任务与“goplaces”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`skills/goplaces/SKILL.md`
- **healthcheck**（skill）：Audit/harden OpenClaw hosts: SSH, firewall, updates, exposure, backups, disk encryption, gateway security. 激活提示：当用户任务与“healthcheck”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`skills/healthcheck/SKILL.md`
- **himalaya**（skill）：Himalaya CLI for IMAP/SMTP mail: list, read, search, compose, reply, forward, copy, move, delete. 激活提示：当用户任务与“himalaya”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`skills/himalaya/SKILL.md`
- **imsg**（skill）：iMessage/SMS CLI for listing chats, history, and sending messages via Messages.app. 激活提示：当用户任务与“imsg”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`skills/imsg/SKILL.md`
- **mcporter**（skill）：List, configure, authenticate, call, and inspect MCP servers/tools with mcporter over HTTP or stdio. 激活提示：当用户任务与“mcporter”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`skills/mcporter/SKILL.md`
- **meme-maker**（skill）：Search meme templates, suggest formats, and generate local or hosted image memes. 激活提示：当用户任务与“meme-maker”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`skills/meme-maker/SKILL.md`
- **model-usage**（skill）：Summarize CodexBar local cost logs by model for Codex or Claude, including current or full breakdowns. 激活提示：当用户任务与“model-usage”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`skills/model-usage/SKILL.md`
- **nano-pdf**（skill）：Edit PDFs with natural-language instructions using the nano-pdf CLI. 激活提示：当用户任务与“nano-pdf”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`skills/nano-pdf/SKILL.md`
- **node-connect**（skill）：Diagnose OpenClaw Android, iOS, or macOS node pairing, QR/setup code, route, auth, and connection failures. 激活提示：当用户任务与“node-connect”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`skills/node-connect/SKILL.md`
- **node-inspect-debugger**（skill）：Debug Node.js with node inspect, --inspect, breakpoints, CDP, heap, and CPU profiles. 激活提示：当用户任务与“node-inspect-debugger”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`skills/node-inspect-debugger/SKILL.md`
- **notion**（skill）：Notion CLI/API for pages, Markdown content, data sources, files, comments, search, Workers, and raw API calls. 激活提示：当用户任务与“notion”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`skills/notion/SKILL.md`
- **obsidian**（skill）：Work with Obsidian vaults using the official obsidian CLI: read/search/create/edit notes, tasks, links, properties, plugins. 激活提示：当用户任务与“obsidian”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`skills/obsidian/SKILL.md`
- **openai-whisper-api**（skill）：OpenAI Audio Transcriptions API via curl; gpt-4o-transcribe, mini, diarize, or whisper-1. 激活提示：当用户任务与“openai-whisper-api”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`skills/openai-whisper-api/SKILL.md`
- **openai-whisper**（skill）：Local speech-to-text with the Whisper CLI no API key . 激活提示：当用户任务与“openai-whisper”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`skills/openai-whisper/SKILL.md`
- **openhue**（skill）：Control Philips Hue lights and scenes via the OpenHue CLI. 激活提示：当用户任务与“openhue”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`skills/openhue/SKILL.md`
- **oracle**（skill）：Oracle CLI second-model review/debug/refactor/design with selected files, dry-run token checks, API or browser engine. 激活提示：当用户任务与“oracle”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`skills/oracle/SKILL.md`
- **ordercli**（skill）：Foodora-only CLI for checking past orders and active order status Deliveroo WIP . 激活提示：当用户任务与“ordercli”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`skills/ordercli/SKILL.md`
- **peekaboo**（skill）：Capture and automate macOS UI with the Peekaboo CLI. 激活提示：当用户任务与“peekaboo”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`skills/peekaboo/SKILL.md`
- **python-debugpy**（skill）：Debug Python with pdb, breakpoint , post-mortem inspection, and debugpy remote attach. 激活提示：当用户任务与“python-debugpy”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`skills/python-debugpy/SKILL.md`
- **sag**（skill）：ElevenLabs text-to-speech with mac-style say UX. 激活提示：当用户任务与“sag”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`skills/sag/SKILL.md`
- **session-logs**（skill）：Search and analyze your own session logs older/parent conversations using jq. 激活提示：当用户任务与“session-logs”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`skills/session-logs/SKILL.md`
- **sherpa-onnx-tts**（skill）：Local text-to-speech via sherpa-onnx offline, no cloud 激活提示：当用户任务与“sherpa-onnx-tts”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`skills/sherpa-onnx-tts/SKILL.md`
- **skill-creator**（skill）：Create, edit, audit, tidy, validate, or restructure AgentSkills and SKILL.md files. 激活提示：当用户任务与“skill-creator”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`skills/skill-creator/SKILL.md`
- **slack**（skill）：Slack tool actions: send/read/edit/delete messages, react, pin/unpin, list pins/reactions/emoji, member info. 激活提示：当用户任务与“slack”描述的流程高度相关时，先用它做安装前体验，再决定是否安装。 证据：`skills/slack/SKILL.md`
- 其余 15 个条目见 `AI_CONTEXT_PACK.json`。

## 证据索引

- 共索引 175 条证据。

- **Docs Guide**（documentation）：This directory owns docs authoring, Mintlify link rules, and docs i18n policy. 证据：`docs/AGENTS.md`
- **Generated Docs Artifacts**（documentation）：SHA-256 hash files are the tracked drift-detection artifacts. The full JSON baselines are generated locally gitignored for inspection only. 证据：`docs/.generated/README.md`
- **OpenClaw docs i18n assets**（documentation）：This folder stores translation config for the source docs repo. 证据：`docs/.i18n/README.md`
- **openclaw agents**（documentation）：Manage isolated agents workspaces + auth + routing . 证据：`docs/cli/agents.md`
- **AGENTS.md - Your Workspace**（documentation）：This folder is home. Treat it that way. 证据：`docs/reference/templates/AGENTS.md`
- **AGENTS.MD**（documentation）：Telegraph style. Root rules only. Read scoped AGENTS.md before subtree work. Skills own workflows; root owns hard policy and routing. 证据：`AGENTS.md`
- **🦞 OpenClaw — Personal AI Assistant**（documentation）：OpenClaw is a personal AI assistant you run on your own devices. It answers you on the channels you already use. It can speak and listen on macOS/iOS/Android, and can render a live Canvas you control. The Gateway is just the control plane — the product is the assistant. 证据：`README.md`
- **Extensions Boundary**（documentation）：This directory contains bundled plugins. Treat it as the same boundary that third-party plugins see. 证据：`extensions/AGENTS.md`
- **QA Scenarios**（documentation）：Seed QA assets for the private qa-lab extension. 证据：`qa/README.md`
- **Scripts Guide**（documentation）：This directory owns local tooling, script wrappers, and generated-artifact helper rules. 证据：`scripts/AGENTS.md`
- **Security tooling**（documentation）：This directory holds OpenClaw's shipped OpenGrep security rulepack and the supporting tooling that validates and runs it. Maintainer-only advisory triage and detector-generation prompts live outside the public repo; this repo keeps the durable artifacts needed to block regressions in PRs and support local rule validation. 证据：`security/README.md`
- **Control UI Guide**（documentation）：This directory owns Control UI-specific guidance that should not live in the repo root. 证据：`ui/AGENTS.md`
- **OpenClaw Android App**（documentation）：Status: extremely alpha . The app is actively being rebuilt from the ground up. 证据：`apps/android/README.md`
- **OpenClaw iOS Super Alpha**（documentation）：This iPhone app is super-alpha and internal-use only. It connects to an OpenClaw Gateway as a role: node . 证据：`apps/ios/README.md`
- **App Store metadata Fastlane deliver**（documentation）：App Store metadata Fastlane deliver 证据：`apps/ios/fastlane/metadata/README.md`
- **OpenClaw macOS app dev + signing**（documentation）：Creates dist/OpenClaw.app and signs it via scripts/codesign-mac-app.sh . 证据：`apps/macos/README.md`
- **🎙️ swabble — Speech.framework wake-word hook daemon macOS 26**（documentation）：🎙️ swabble — Speech.framework wake-word hook daemon macOS 26 证据：`apps/swabble/README.md`
- **ACPX Extension Notes**（documentation）：This file applies to work under extensions/acpx/ . 证据：`extensions/acpx/AGENTS.md`
- **Copilot Proxy OpenClaw plugin**（documentation）：Provider plugin for the Copilot Proxy VS Code extension. 证据：`extensions/copilot-proxy/README.md`
- **@openclaw/diffs**（documentation）：Read-only diff viewer plugin for OpenClaw agents. 证据：`extensions/diffs/README.md`
- **LLM Task plugin**（documentation）：Adds an optional agent tool llm-task for running JSON-only LLM tasks drafting, summarizing, classifying with optional JSON Schema validation. 证据：`extensions/llm-task/README.md`
- **LM Studio Provider**（documentation）：Bundled provider plugin for LM Studio discovery, auto-load, and setup. 证据：`extensions/lmstudio/README.md`
- **Lobster plugin**（documentation）：Adds the lobster agent tool as an optional plugin tool. 证据：`extensions/lobster/README.md`
- **@openclaw/memory-wiki**（documentation）：Persistent wiki compiler and Obsidian-friendly knowledge vault for OpenClaw . 证据：`extensions/memory-wiki/README.md`
- **MiniMax OpenClaw plugin**（documentation）：- API-key provider setup minimax - Token Plan OAuth setup minimax-portal 证据：`extensions/minimax/README.md`
- **@openclaw/nostr**（documentation）：Nostr DM channel plugin for OpenClaw using NIP-04 encrypted direct messages. 证据：`extensions/nostr/README.md`
- **Ollama Provider**（documentation）：Bundled provider plugin for Ollama discovery and setup. 证据：`extensions/ollama/README.md`
- **OpenProse plugin**（documentation）：Adds the OpenProse skill pack and /prose slash command. 证据：`extensions/open-prose/README.md`
- **OpenProse Examples**（documentation）：These examples demonstrate workflows using OpenProse's full feature set. 证据：`extensions/open-prose/skills/prose/examples/README.md`
- **Roadmap Examples**（documentation）：These examples demonstrate planned OpenProse syntax that is not yet implemented . 证据：`extensions/open-prose/skills/prose/examples/roadmap/README.md`
- **OpenProse Standard Library**（documentation）：Core programs that ship with OpenProse. Production-quality, well-tested programs for common tasks. 证据：`extensions/open-prose/skills/prose/lib/README.md`
- **QA Provider Lanes**（documentation）：QA provider lanes are registered in index.ts and implemented in one folder per provider. Shared provider contracts and mock-provider helpers live in shared/ . Mock lanes should use shared/mock-provider-definition.ts unless they need a custom shape. 证据：`extensions/qa-lab/src/providers/README.md`
- **SGLang Provider**（documentation）：Bundled provider plugin for SGLang discovery and setup. 证据：`extensions/sglang/README.md`
- **Tlon OpenClaw plugin**（documentation）：Tlon/Urbit channel plugin for OpenClaw. Supports DMs, group mentions, and thread replies. 证据：`extensions/tlon/README.md`
- **@openclaw/twitch**（documentation）：Twitch channel plugin for OpenClaw. 证据：`extensions/twitch/README.md`
- **vLLM Provider**（documentation）：Bundled provider plugin for vLLM discovery and setup. 证据：`extensions/vllm/README.md`
- **@openclaw/voice-call**（documentation）：Official Voice Call plugin for OpenClaw . 证据：`extensions/voice-call/README.md`
- **@openclaw/zalo**（documentation）：Zalo channel plugin for OpenClaw Bot API . 证据：`extensions/zalo/README.md`
- **@openclaw/zalouser**（documentation）：OpenClaw extension for Zalo Personal Account messaging via native zca-js integration. 证据：`extensions/zalouser/README.md`
- **QA Convex Credential Broker v1**（documentation）：Standalone Convex project for shared qa-lab live credentials with lease locking. Keep private operator notes in ~/Projects/manager/docs/ , not in public docs. 证据：`qa/convex-credential-broker/README.md`
- **ClawDock**（documentation）：Stop typing docker-compose commands. Just type clawdock-start . 证据：`scripts/clawdock/README.md`
- **Compiled OpenGrep super-configs**（documentation）：precise.yml is OpenClaw's shipped precise OpenGrep rulepack. Each rule is tied to a source advisory, vulnerability report, or review identifier through metadata and is intended to have concrete coverage of the original vulnerable behavior or a verified variant. 证据：`security/opengrep/README.md`
- **Agents Test Performance**（documentation）：Agent tests are often import-bound. Treat slow test files as architecture signals, not just runner noise. 证据：`src/agents/AGENTS.md`
- **Embedded Runner Test Performance**（documentation）：The embedded attempt runner is one of the most expensive agent test surfaces. Use full-runner tests only when the behavior truly requires the runner. 证据：`src/agents/pi-embedded-runner/run/AGENTS.md`
- **Agent Tools Performance**（documentation）：Tool tests should not load full channel or plugin runtimes for static tool descriptions. 证据：`src/agents/tools/AGENTS.md`
- **Channels Boundary**（documentation）：src/channels/ is core channel implementation. Plugin authors should not import from this tree directly. 证据：`src/channels/AGENTS.md`
- **Gateway Hot Paths**（documentation）：Gateway server tests and startup paths should not materialize bundled plugin runtime when they only need plugin-owned static descriptors. 证据：`src/gateway/AGENTS.md`
- **Gateway Protocol Boundary**（documentation）：This directory defines the Gateway wire contract for operator clients and nodes. 证据：`src/gateway/protocol/AGENTS.md`
- **Gateway Server Methods Notes**（documentation）：- Pi session transcripts are a parentId chain/DAG; never append Pi type: "message" entries via raw JSONL writes missing parentId can sever the leaf path and break compaction/history . Always write transcript messages via SessionManager.appendMessage ... or a wrapper that uses it . 证据：`src/gateway/server-methods/AGENTS.md`
- **Bundled Hooks**（documentation）：This directory contains hooks that ship with OpenClaw. These hooks are automatically discovered and can be enabled/disabled via CLI or configuration. 证据：`src/hooks/bundled/README.md`
- **Outbound Test Performance**（documentation）：Outbound helpers sit on hot reply, action, media, and channel contract paths. Keep argument and payload tests narrow unless they are intentionally exercising real delivery. 证据：`src/infra/outbound/AGENTS.md`
- **Plugin SDK Boundary**（documentation）：This directory is the public contract between plugins and core. Changes here can affect bundled plugins and third-party plugins. 证据：`src/plugin-sdk/AGENTS.md`
- **Plugins Boundary**（documentation）：This directory owns plugin discovery, manifest validation, loading, registry assembly, and contract enforcement. 证据：`src/plugins/AGENTS.md`
- **TUI Notes**（documentation）：- Run node scripts/run-vitest.mjs run --config test/vitest/vitest.tui-pty.config.ts for the fast fake-backend PTY lane. - Use OPENCLAW TUI PTY INCLUDE LOCAL=1 with that command for the slower tui --local smoke test, which mocks only the external model endpoint. - The local PTY smoke runs tui --local and mocks only the external model endpoint. The fake-backend lane runs the real runTui loop with a fake TuiBackend . - Do not claim the fake-backend PTY harness proves Gateway transport, embedded backend runtime, providers, session persistence, or live streaming. - Prefer stable visible text and fixture backend call assertions. Avoid raw ANSI snapshots. - Use pnpm tui:pty:test:watch to watch the… 证据：`src/tui/AGENTS.md`
- **Codex Happy Path Prompt Snapshots**（documentation）：These fixtures capture the default OpenAI/Codex happy path for prompt review: 证据：`test/fixtures/agents/prompt-snapshots/codex-runtime-happy-path/README.md`
- **Shared Test Helper Boundary**（documentation）：This directory holds shared test helpers reused by core and bundled plugin tests. 证据：`test/helpers/AGENTS.md`
- **Package**（package_manifest）：{ "name": "openclaw", "version": "2026.5.22", "description": "Multi-channel AI gateway with extensible messaging integrations", "keywords": , "homepage": "https://github.com/openclaw/openclaw readme", "bugs": { "url": "https://github.com/openclaw/openclaw/issues" }, "license": "MIT", "author": "", "repository": { "type": "git", "url": "git+https://github.com/openclaw/openclaw.git" }, "bin": { "openclaw": "openclaw.mjs" }, "directories": { "doc": "docs", "test": "test" }, "files": "CHANGELOG.md", "LICENSE", "npm-shrinkwrap.json", "openclaw.mjs", "pnpm-workspace.yaml", "README.md", "dist/", "!dist/.buildstamp", "!dist/.runtime-postbuildstamp", "!dist/ / .map", "!dist/plugin-sdk/.tsbuildinfo",… 证据：`package.json`
- **Package**（package_manifest）：{ "name": "openclaw-control-ui", "private": true, "type": "module", "scripts": { "build": "vite build", "dev": "vite", "preview": "vite preview", "test": "vitest run --config vitest.config.ts" }, "dependencies": { "@create-markdown/preview": "2.0.3", "@noble/ed25519": "3.1.0", "dompurify": "3.4.5", "highlight.js": "11.11.1", "json5": "2.2.3", "lit": "3.3.3", "markdown-it": "14.1.1", "markdown-it-task-lists": "2.1.1", "marked": "18.0.4" }, "devDependencies": { "@types/markdown-it": "14.1.2", "@vitest/browser-playwright": "4.1.7", "jsdom": "29.1.1", "playwright": "1.60.0", "vite": "8.0.14", "vitest": "4.1.7" } } 证据：`ui/package.json`
- **Contributing to OpenClaw**（documentation）：- GitHub: https://github.com/openclaw/openclaw - Vision: VISION.md VISION.md - Discord: https://discord.gg/clawd - X/Twitter: @steipete https://x.com/steipete / @openclaw https://x.com/openclaw 证据：`CONTRIBUTING.md`
- **Package**（package_manifest）：{ "name": "@openclaw/acpx", "version": "2026.5.22", "description": "OpenClaw ACP runtime backend", "repository": { "type": "git", "url": "https://github.com/openclaw/openclaw" }, "type": "module", "dependencies": { "@agentclientprotocol/claude-agent-acp": "0.36.1", "@zed-industries/codex-acp": "0.14.0", "acpx": "0.8.0", "zod": "4.4.3" }, "devDependencies": { "@openclaw/plugin-sdk": "workspace: " }, "openclaw": { "extensions": "./index.ts" , "install": { "npmSpec": "@openclaw/acpx", "defaultChoice": "npm", "minHostVersion": " =2026.4.25" }, "compat": { "pluginApi": " =2026.5.22" }, "build": { "openclawVersion": "2026.5.22", "staticAssets": { "source": "./src/runtime-internals/mcp-proxy.mjs",… 证据：`extensions/acpx/package.json`
- 其余 115 条证据见 `AI_CONTEXT_PACK.json` 或 `EVIDENCE_INDEX.json`。

## 宿主 AI 必须遵守的规则

- **把本资产当作开工前上下文，而不是运行环境。**：AI Context Pack 只包含证据化项目理解，不包含目标项目的可执行状态。 证据：`docs/AGENTS.md`, `docs/.generated/README.md`, `docs/.i18n/README.md`
- **回答用户时区分可预览内容与必须安装后才能验证的内容。**：安装前体验的消费者价值来自降低误装和误判，而不是伪装成真实运行。 证据：`docs/AGENTS.md`, `docs/.generated/README.md`, `docs/.i18n/README.md`

## 用户开工前应该回答的问题

- 你准备在哪个宿主 AI 或本地环境中使用它？
- 你只是想先体验工作流，还是准备真实安装？
- 你最在意的是安装成本、输出质量、还是和现有规则的冲突？

## 验收标准

- 所有能力声明都能回指到 evidence_refs 中的文件路径。
- AI_CONTEXT_PACK.md 没有把预览包装成真实运行。
- 用户能在 3 分钟内看懂适合谁、能做什么、如何开始和风险边界。

---

## Doramagic Context Augmentation

下面内容用于强化 Repomix/AI Context Pack 主体。Human Manual 只提供阅读骨架；踩坑日志会被转成宿主 AI 必须遵守的工作约束。

## Human Manual 骨架

使用规则：这里只是项目阅读路线和显著性信号，不是事实权威。具体事实仍必须回到 repo evidence / Claim Graph。

宿主 AI 硬性规则：
- 不得把页标题、章节顺序、摘要或 importance 当作项目事实证据。
- 解释 Human Manual 骨架时，必须明确说它只是阅读路线/显著性信号。
- 能力、安装、兼容性、运行状态和风险判断必须引用 repo evidence、source path 或 Claim Graph。

- **仓库概览**：importance `high`
  - source_paths: Dockerfile, README.md, docker-compose.yml, package.json, qa/README.md
- **入口与运行边界**：importance `high`
  - source_paths: Dockerfile, README.md, docker-compose.yml, package.json, qa/README.md
- **架构证据地图**：importance `high`
  - source_paths: Dockerfile, README.md, docker-compose.yml, package.json, qa/README.md
- **运维与验证边界**：importance `high`
  - source_paths: Dockerfile, README.md, docker-compose.yml, package.json, qa/README.md

## Repo Inspection Evidence / 源码检查证据

- repo_clone_verified: true
- repo_inspection_verified: true
- repo_commit: `c44367f1e55a38feb64e553e0ddb4c746ff0bd74`
- inspected_files: `pnpm-lock.yaml`, `Dockerfile`, `package.json`, `README.md`, `docker-compose.yml`, `docs/AGENTS.md`, `docs/index.md`, `docs/logging.md`, `docs/pi.md`, `docs/date-time.md`, `docs/perplexity.md`, `docs/brave-search.md`, `docs/CLAUDE.md`, `docs/tts.md`, `docs/auth-credential-semantics.md`, `docs/prose.md`, `docs/vps.md`, `docs/docs.json`, `docs/network.md`, `docs/pi-dev.md`

宿主 AI 硬性规则：
- 没有 repo_clone_verified=true 时，不得声称已经读过源码。
- 没有 repo_inspection_verified=true 时，不得把 README/docs/package 文件判断写成事实。
- 没有 quick_start_verified=true 时，不得声称 Quick Start 已跑通。

## Doramagic Pitfall Constraints / 踩坑约束

这些规则来自 Doramagic 发现、验证或编译过程中的项目专属坑点。宿主 AI 必须把它们当作工作约束，而不是普通说明文字。

### Constraint 1: 来源证据：Workaround for isolated cron agentTurn stuck (re: #68157, #11994, #42103)

- Trigger: GitHub 社区证据显示该项目存在一个安装相关的待验证问题：Workaround for isolated cron agentTurn stuck (re: #68157, #11994, #42103)
- Host AI rule: 来源问题仍为 open，Pack Agent 需要复核是否仍影响当前版本。
- Why it matters: 可能阻塞安装或首次运行。
- Evidence: community_evidence:github | cevd_56c16a1c8d544fe4af5da724927fbd77 | https://github.com/openclaw/openclaw/issues/85516 | 来源讨论提到 node 相关条件，需在安装/试用前复核。
- Hard boundary: 不要把这个坑点包装成已解决、已验证或可忽略，除非后续验证证据明确证明它已经关闭。

### Constraint 2: 来源证据：[Bug]: Default-mode Matrix channel rooms receive internal tool/progress events as visible chat messages

- Trigger: GitHub 社区证据显示该项目存在一个安装相关的待验证问题：[Bug]: Default-mode Matrix channel rooms receive internal tool/progress events as visible chat messages
- Host AI rule: 来源问题仍为 open，Pack Agent 需要复核是否仍影响当前版本。
- Why it matters: 可能增加新用户试用和生产接入成本。
- Evidence: community_evidence:github | cevd_e735a1ca8e92409fb46fb61ac878d1dc | https://github.com/openclaw/openclaw/issues/85000 | 来源讨论提到 npm 相关条件，需在安装/试用前复核。
- Hard boundary: 不要把这个坑点包装成已解决、已验证或可忽略，除非后续验证证据明确证明它已经关闭。

### Constraint 3: 来源证据：[Bug]: Heartbeat-driven agent replies leave pendingFinalDelivery stuck, blocking subsequent heartbeats

- Trigger: GitHub 社区证据显示该项目存在一个安装相关的待验证问题：[Bug]: Heartbeat-driven agent replies leave pendingFinalDelivery stuck, blocking subsequent heartbeats
- Host AI rule: 来源问题仍为 open，Pack Agent 需要复核是否仍影响当前版本。
- Why it matters: 可能阻塞安装或首次运行。
- Evidence: community_evidence:github | cevd_dcefb1710a0e4250acf239f3b815966a | https://github.com/openclaw/openclaw/issues/83184 | 来源讨论提到 docker 相关条件，需在安装/试用前复核。
- Hard boundary: 不要把这个坑点包装成已解决、已验证或可忽略，除非后续验证证据明确证明它已经关闭。

### Constraint 4: 来源证据：doctor misclassifies junction-backed source checkout as non-git install

- Trigger: GitHub 社区证据显示该项目存在一个安装相关的待验证问题：doctor misclassifies junction-backed source checkout as non-git install
- Host AI rule: 来源问题仍为 open，Pack Agent 需要复核是否仍影响当前版本。
- Why it matters: 可能增加新用户试用和生产接入成本。
- Evidence: community_evidence:github | cevd_7ac9578256e14199a50ab05b2cc879d5 | https://github.com/openclaw/openclaw/issues/82215 | 来源讨论提到 node 相关条件，需在安装/试用前复核。
- Hard boundary: 不要把这个坑点包装成已解决、已验证或可忽略，除非后续验证证据明确证明它已经关闭。

### Constraint 5: 来源证据：Bug: Cline bridge silently fails on gateway config tasks — no config.schema.lookup tool

- Trigger: GitHub 社区证据显示该项目存在一个配置相关的待验证问题：Bug: Cline bridge silently fails on gateway config tasks — no config.schema.lookup tool
- Host AI rule: 来源问题仍为 open，Pack Agent 需要复核是否仍影响当前版本。
- Why it matters: 可能增加新用户试用和生产接入成本。
- Evidence: community_evidence:github | cevd_9c454936e333431597d2163b22ec013e | https://github.com/openclaw/openclaw/issues/85729 | 来源类型 github_issue 暴露的待验证使用条件。
- Hard boundary: 不要把这个坑点包装成已解决、已验证或可忽略，除非后续验证证据明确证明它已经关闭。

### Constraint 6: 来源证据：Bug: Cron agent gridlock — all cron jobs share agent:main lane (maxConcurrent=1)

- Trigger: GitHub 社区证据显示该项目存在一个配置相关的待验证问题：Bug: Cron agent gridlock — all cron jobs share agent:main lane (maxConcurrent=1)
- Host AI rule: 来源问题仍为 open，Pack Agent 需要复核是否仍影响当前版本。
- Why it matters: 可能增加新用户试用和生产接入成本。
- Evidence: community_evidence:github | cevd_0101809880d344d1a796b7957fca4d7f | https://github.com/openclaw/openclaw/issues/85728 | 来源类型 github_issue 暴露的待验证使用条件。
- Hard boundary: 不要把这个坑点包装成已解决、已验证或可忽略，除非后续验证证据明确证明它已经关闭。

### Constraint 7: 来源证据：imsg RPC Crashes on Phone Number Validation, Causing Cascading iMessage Delivery Failures

- Trigger: GitHub 社区证据显示该项目存在一个配置相关的待验证问题：imsg RPC Crashes on Phone Number Validation, Causing Cascading iMessage Delivery Failures
- Host AI rule: 来源问题仍为 open，Pack Agent 需要复核是否仍影响当前版本。
- Why it matters: 可能阻塞安装或首次运行。
- Evidence: community_evidence:github | cevd_5effdfd858db4994a38b5c83bfa41315 | https://github.com/openclaw/openclaw/issues/85740 | 来源讨论提到 macos 相关条件，需在安装/试用前复核。
- Hard boundary: 不要把这个坑点包装成已解决、已验证或可忽略，除非后续验证证据明确证明它已经关闭。

### Constraint 8: 失败模式：security_permissions: Bug: Cron agent gridlock — all cron jobs share agent:main lane (maxConcurrent=1)

- Trigger: Developers should check this security_permissions risk before relying on the project: Bug: Cron agent gridlock — all cron jobs share agent:main lane (maxConcurrent=1)
- Host AI rule: Before packaging this project, run the relevant install/config/quickstart check for: Bug: Cron agent gridlock — all cron jobs share agent:main lane (maxConcurrent=1). Context: Source discussion did not expose a precise runtime context.
- Why it matters: Developers may expose sensitive permissions or credentials: Bug: Cron agent gridlock — all cron jobs share agent:main lane (maxConcurrent=1)
- Evidence: failure_mode_cluster:github_issue | fmev_d8324db8f54d71e397372df33df4b28f | https://github.com/openclaw/openclaw/issues/85728 | Bug: Cron agent gridlock — all cron jobs share agent:main lane (maxConcurrent=1)
- Hard boundary: 不要把这个坑点包装成已解决、已验证或可忽略，除非后续验证证据明确证明它已经关闭。

### Constraint 9: 失败模式：security_permissions: Session files should never be deleted — rename .deleted.* to .archived.*

- Trigger: Developers should check this security_permissions risk before relying on the project: Session files should never be deleted — rename .deleted.* to .archived.*
- Host AI rule: Before packaging this project, run the relevant install/config/quickstart check for: Session files should never be deleted — rename .deleted.* to .archived.*. Context: Observed during version upgrade or migration.
- Why it matters: Developers may expose sensitive permissions or credentials: Session files should never be deleted — rename .deleted.* to .archived.*
- Evidence: failure_mode_cluster:github_issue | fmev_b6a00e824a7ea871b514b9e6bd25e0b2 | https://github.com/openclaw/openclaw/issues/56609 | Session files should never be deleted — rename .deleted.* to .archived.*
- Hard boundary: 不要把这个坑点包装成已解决、已验证或可忽略，除非后续验证证据明确证明它已经关闭。

### Constraint 10: 失败模式：security_permissions: [Feature]: Improve `openclaw config` to avoid secrets and invalid files

- Trigger: Developers should check this security_permissions risk before relying on the project: [Feature]: Improve `openclaw config` to avoid secrets and invalid files
- Host AI rule: Before packaging this project, run the relevant install/config/quickstart check for: [Feature]: Improve `openclaw config` to avoid secrets and invalid files. Context: Observed during installation or first-run setup.
- Why it matters: Developers may expose sensitive permissions or credentials: [Feature]: Improve `openclaw config` to avoid secrets and invalid files
- Evidence: failure_mode_cluster:github_issue | fmev_e2bc2f876834071ad458ebb9ccf676a7 | https://github.com/openclaw/openclaw/issues/16351 | [Feature]: Improve `openclaw config` to avoid secrets and invalid files
- Hard boundary: 不要把这个坑点包装成已解决、已验证或可忽略，除非后续验证证据明确证明它已经关闭。
