Agent Skillsomnigent-ai/omnigent › investigate

investigate

GitHub

将只读调查、调试、审计或代码理解任务委派给子智能体,协调多视角并行分析并汇总结构化报告。适用于故障排查和技术问题解答,不直接执行文件修改。

examples/polly/skills/investigate/SKILL.md omnigent-ai/omnigent

触发场景

需要深入调查代码逻辑或架构 进行系统故障根因分析 执行代码审计或安全审查 回答特定仓库的技术疑问

安装

npx skills add omnigent-ai/omnigent --skill investigate -g -y
更多选项

非标准路径

npx skills add https://github.com/omnigent-ai/omnigent/tree/main/examples/polly/skills/investigate -g -y

不安装直接使用

npx skills use omnigent-ai/omnigent@investigate

指定 Agent (Claude Code)

npx skills add omnigent-ai/omnigent --skill investigate -a claude-code -g -y

安装 repo 全部 skill

npx skills add omnigent-ai/omnigent --all -g -y

预览 repo 内 skill

npx skills add omnigent-ai/omnigent --list

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

  1. Decompose the question into one or more bounded investigation tasks. Prefer two independent lenses for ambiguous or high-stakes questions.
  2. Dispatch each task to claude_code, codex, opencode, cursor, hermes, agy, or pi: 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 as explore-ci-flake, never the raw vendor name. Use purpose: "search" only when the task is primarily external/document search. Prefer pi when a third lens or a non-Claude/GPT model is wanted. Any worker takes an optional args.model (sys_list_models shows what each worker can run; an invalid model/worker combination fails loud at dispatch, and model only 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 these sys_session_send calls in the SAME turn — do not end a turn having only said you will dispatch.
  3. 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.
  4. When workers finish, collect their completion results with sys_read_inbox. Synthesize only from those inbox-delivered reports. Use sys_session_get_history only to debug an empty or unclear worker result; if reports conflict or are incomplete, dispatch a follow-up explore task rather than resolving the conflict from your own direct inspection.
  5. If the investigation uncovers required code changes, switch to fanout / cross-review: dispatch an implement worker, then verify with the opposite-vendor review worker.

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.

版本历史

  • a8f41cb 当前 2026-08-12 09:03

同 Skill 集合

.claude/skills/antigravity-sdk-e2e-dev/SKILL.md
.claude/skills/copilot-sdk-e2e-dev/SKILL.md
.claude/skills/cursor-sdk-e2e-dev/SKILL.md
.claude/skills/harness-integration-guide/SKILL.md
.claude/skills/pi-native-e2e-dev/SKILL.md
deploy/docker/SKILL.md
examples/debby/skills/debate/SKILL.md
examples/deep-research/skills/deep-research/SKILL.md
examples/polly/skills/cross-review/SKILL.md
examples/polly/skills/fanout/SKILL.md
examples/scribe/skills/api-docs/SKILL.md
examples/scribe/skills/changelog/SKILL.md
examples/scribe/skills/migration-guide/SKILL.md
examples/sentinel/skills/security-audit/SKILL.md
omnigent/onboarding/agent/skills/build-omnigent/SKILL.md
omnigent/onboarding/agent/skills/detect-framework/SKILL.md
omnigent/onboarding/agent/skills/omnigent-knowledge/SKILL.md
.claude/skills/antigravity-native-e2e-dev/SKILL.md
.claude/skills/cli-setup-verify/SKILL.md
.claude/skills/polly-e2e-dev/SKILL.md
.claude/skills/run-load-test/SKILL.md

元信息

文件数
0
版本
86726e0
Hash
b6e24112
收录时间
2026-08-12 09:03

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-25 08:44
浙ICP备14020137号-1 $访客地图$