Agent Skills
› omnigent-ai/omnigent
› investigate
investigate
GitHub用于委派只读调查、调试、审计及代码理解任务。通过分解问题并并行调度子代理收集结构化报告,最终综合得出结论。严禁直接读取文件,仅依据子代理反馈进行决策,适用于高复杂度技术排查场景。
Trigger Scenarios
需要深入调查代码缺陷或系统故障
执行代码库审计或架构对比分析
回答复杂的仓库特定技术问题
Install
npx skills add omnigent-ai/omnigent --skill investigate -g -y
SKILL.md
Frontmatter
{
"name": "investigate",
"description": "Delegate read-only investigation, debugging, audit, search, or code-understanding tasks to sub-agents; synthesize only from their structured reports."
}
investigate — delegated read-only work
Use for any read-only task: investigation, debugging, audit, search, code understanding, architecture comparison, failure analysis, or answering a repository-specific technical question.
Procedure
- Decompose the question into one or more bounded investigation tasks. Prefer two independent lenses for ambiguous or high-stakes questions.
- Dispatch each task to
claude_code,codex,opencode,cursor,hermes,agy, orpi:sys_session_send(agent="claude_code"|"codex"|"opencode"|"cursor"|"hermes"|"agy"|"pi", title="explore-<task_slug>", args={purpose: "explore", input: "<question + exact scope + evidence requested>"}). Use a task-based title such asexplore-ci-flake, never the raw vendor name. Usepurpose: "search"only when the task is primarily external/document search. Preferpiwhen a third lens or a non-Claude/GPT model is wanted. Any worker takes an optionalargs.model(sys_list_modelsshows what each worker can run; an invalid model/worker combination fails loud at dispatch, andmodelonly applies on the dispatch that CREATES the session — a send that continues an existing title rejects it). Tell the worker to edit nothing and return file, command, URL, or line evidence. Emit thesesys_session_sendcalls in the SAME turn — do not end a turn having only said you will dispatch. - End your turn AFTER the dispatch tool calls are in flight (never before). Do not inspect files, logs, terminals, docs, or connector output yourself while the workers run.
- When workers finish, collect their completion results with
sys_read_inbox. Synthesize only from those inbox-delivered reports. Usesys_session_get_historyonly to debug an empty or unclear worker result; if reports conflict or are incomplete, dispatch a follow-upexploretask rather than resolving the conflict from your own direct inspection. - If the investigation uncovers required code changes, switch to
fanout/cross-review: dispatch animplementworker, then verify with the opposite-vendorreviewworker.
Notes
- The orchestrator may use its own tools only to create task packets, maintain the registry, or check deterministic external status. It must not answer the user's substantive question from its own direct file reads, shell output, connector fetches, or terminal scrollback.
- Keep task scopes narrow enough that each worker can return a concise report with evidence. Broad investigations should be split into parallel subtasks.
Version History
- a8f41cb Current 2026-08-12 09:03


