legion-investigate
Investigate a bug, failure, or unclear behavior and turn it into root cause plus an execution-ready issue plan.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Investigate a bug, failure, or unclear behavior and turn it into root cause plus an execution-ready issue plan.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Distill Herd commander memory, clean stale MEMORY.md entries, promote durable commander lessons into LONG_TERM_MEM.md, and propose shared-knowledge updates through a review gate. Use for periodic commander memory cleanup.
Examine workspace files for durable context, filter out low-value noise, and clean up stale memory or rule files that contribute to context rot.
Write or rewrite agent skill files so they are outcome-oriented, bounded, and easy for another agent to apply. Use when creating a new skill, translating a skill, or tightening an existing skill's acceptance criteria, boundaries, or output contract.
Add or pair a Herd machine — mint an enrollment token and return the one-line connect command, or re-pair an existing daemon machine.
Conversationally collect, validate, preview, and create a new Herd commander through the backend API.
Create a Herd automation from a conversation while preserving sourceConversationId provenance.
| name | legion-investigate |
| description | Investigate a bug, failure, or unclear behavior and turn it into root cause plus an execution-ready issue plan. |
| user-invocable | true |
| argument-hint | <problem description, URL, or file path> |
Use this skill before implementation when the root cause is not proven.
Output:
Prefer source reads, logs, and tests over guesses.