一键导入
search
Deep search mode - parallel multi-source search across codebase, docs, and web
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Deep search mode - parallel multi-source search across codebase, docs, and web
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Analyze recent changes and add test coverage for HEAD commit
Write failing unit tests for feature requirements (TDD style)
Deep analysis mode - thorough multi-phase investigation with expert consultation
Analyze test coverage gaps and report findings
Analyze service capacity, load patterns, and scaling requirements
Code review mode - comprehensive review with security, performance, and maintainability focus
| name | search |
| description | Deep search mode - parallel multi-source search across codebase, docs, and web |
Current Time: !date
Execute a comprehensive search using parallel agent swarms across multiple sources.
Launch explore swarm with different angles:
background_task(agent="explore", prompt="Find [pattern] by filename...")
background_task(agent="explore", prompt="Find [pattern] in code content...")
background_task(agent="explore", prompt="Find related patterns and usages...")
Simultaneously use direct tools:
glob — Find files by name patterngrep — Find content matchesast_grep_search — Find structural patternslsp_find_references — Find symbol usagesLaunch librarian for external sources:
background_task(agent="librarian", prompt="Find official docs for [topic]...")
background_task(agent="librarian", prompt="Find OSS examples of [pattern]...")
Librarian searches:
For complex searches:
## Local Codebase Results
### Direct Matches
- `/path/to/file.go:42` — [why this matches]
- `/path/to/file.go:128` — [why this matches]
### Related Code
- `/path/to/related.go` — [how it's related]
### Patterns Found
[Describe any patterns or conventions discovered]
## External Resources
### Official Documentation
- [Link] — [what it covers]
### Code Examples
- [GitHub permalink] — [what this demonstrates]
### Articles/Tutorials
- [Link] — [relevance]
## Summary
[Synthesize findings: what was found, what's most relevant, what to do next]
## Recommended Next Steps
1. [Action based on findings]
| Query Type | Strategy |
|---|---|
| "Where is X?" | explore swarm + glob + grep |
| "How does Y work?" | explore + read key files + trace |
| "Best practice for Z" | librarian (context7 + exa) |
| "Examples of W" | librarian (grep.app + context7) |
| "Why does V behave..." | explore + librarian + git history |
Write to Obsidian via obsidian_append_content at:
$OBSIDIAN_PATH/Searches/YYYY-MM-DD-query.md
Note:
$OBSIDIAN_PATHmust be a vault-relative path (e.g.,Projects/myapp), set per-project via direnv. Theobsidian_append_contenttool expects paths relative to the vault root.
Use this template for the Obsidian document:
@~/.config/opencode/templates/search-results.md
$ARGUMENTS