一键导入
investigation
Use when starting an investigation, analyzing existing code or infrastructure, or building findings before proposing changes
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when starting an investigation, analyzing existing code or infrastructure, or building findings before proposing changes
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when constructing or interpreting the approval handoff envelope between subagent and orchestrator -- sealed_payload schema, approval_id format, APPROVAL_REQUEST contract shape, and reading a granted approval from the DB
Use when producing any agent response
Use when classifying any operation before executing it, or deciding whether user approval is required
Use when a mutative command was blocked by the hook and you need to request user approval, or when presenting a plan for a T3 operation before executing it
Use when the user wants to build, design, or extend a diagram — an architecture overview, a timeline, a planner board, a flow diagram, a presentation, a comparison, or a mind-map — as a portable, data-driven deck rendered from plain YAML. Triggers — "build a diagram", "architecture diagram", "diagram deck", "timeline", "flow diagram", "planner board", "add a page/section/component to the diagram".
Use when the user wants something to run routinely / on a schedule rather than once now -- "tarea programada", "rutinariamente", "cada mañana", "cada N horas", "todas las noches", "schedule", "cron". Covers mounting, structuring, and running an unattended headless task that reports back, plus consuming its reports. NOT for a live in-session agentic loop (that is agentic-loop).
| name | investigation |
| description | Use when starting an investigation, analyzing existing code or infrastructure, or building findings before proposing changes |
| metadata | {"user-invocable":false,"type":"technique"} |
Investigation is the universal method every agent runs before acting: an optimal, context-anchored search that turns the task into understanding. It is not a checklist of phases — it is the discipline of searching FROM what you were given, with the tools you already have, only as far as your scope reaches, separating what you have confirmed from what you are still assuming.
Three forces shape every good investigation:
Use this when starting any task that touches existing state — source, configuration, or live state — before planning, proposing, or mutating.
command-execution for running a query safely and
security-tiers for why a read-only (T0) query needs no approval. Do not
retain runtime values as if they were stable facts.agent-contract-handoff). Multiple valid approaches
→ list them, set status NEEDS_INPUT. Carry findings into the
evidence_report of your handoff (schema in agent-protocol), confirmed
and assumed kept distinct.