external-context
它能做什么
这项技能让智能体通过把问题拆分成若干部分并同时检查每一部分,来研究一个外部主题。适合需要来自官方文档、博客或示例的最新指导的人。
适用场景
- ✓当你想了解某个技术主题的最新最佳实践或文档的时候。
- ✓当你想比较两种工具或方法并附上来源的时候。
- ✓当你需要某个框架或库的最新用法模式的时候。
技能链接
https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/external-context/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“在 Node.js 中,JWT 令牌轮换的当前最佳实践是什么?请注明你的来源。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会把问题拆分为两到五个部分,并让辅助智能体同时搜索每个部分。然后它会汇总结果,并为每个论断附上网页链接。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
External Context Skill
Fetch external documentation, references, and context for a query. Decomposes into 2-5 facets and spawns parallel document-specialist Claude agents.
Usage
/oh-my-claudecode:external-context <topic or question>
Examples
/oh-my-claudecode:external-context What are the best practices for JWT token rotation in Node.js?
/oh-my-claudecode:external-context Compare Prisma vs Drizzle ORM for PostgreSQL
/oh-my-claudecode:external-context Latest React Server Components patterns and conventions
Protocol
Step 1: Facet Decomposition
Given a query, decompose into 2-5 independent search facets:
## Search Decomposition
**Query:** <original query>
### Facet 1: <facet-name>
- **Search focus:** What to search for
- **Sources:** Official docs, GitHub, blogs, etc.
### Facet 2: <facet-name>
...
Step 2: Parallel Agent Invocation
Fire independent facets in parallel via Task tool:
Task(subagent_type="oh-my-claudecode:document-specialist", model="sonnet", prompt="Search for: <facet 1 description>. Use WebSearch and WebFetch to find official documentation and examples. Cite all sources with URLs.")
Task(subagent_type="oh-my-claudecode:document-specialist", model="sonnet", prompt="Search for: <facet 2 description>. Use WebSearch and WebFetch to find official documentation and examples. Cite all sources with URLs.")
Maximum 5 parallel document-specialist agents.
Step 3: Synthesis Output Format
Present synthesized results in this format:
## External Context: <query>
### Key Findings
1. **<finding>** - Source: [title](url)
2. **<finding>** - Source: [title](url)
### Detailed Results
#### Facet 1: <name>
<aggregated findings with citations>
#### Facet 2: <name>
<aggregated findings with citations>
### Sources
- [Source 1](url)
- [Source 2](url)
Configuration
- Maximum 5 parallel document-specialist agents
- No magic keyword trigger - explicit invocation only
常见问题
它会注明来源吗?
会。每个辅助智能体都需要链接到它使用的来源。
一个问题通常会被拆分成几部分?
通常为两到五部分,具体取决于问题的广泛程度。
这只适用于代码问题吗?
不是。它可以研究任何带有网络来源的主题,不过它是以技术文档为主设计的。
详情
作者的原始描述
Invoke parallel document-specialist agents for external web searches and documentation lookup
热度
- GitHub 星标
- 41k
- 排名
- #7004
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
agent-doc-discipline
41k教你的智能体编写其他 AI 智能体能够独立遵循的说明,规则可以检验,并且每条规则都附有明确的理由。
ai-slop-cleaner
41k帮你的智能体整理 AI 写出的代码,这些代码能运行但臃肿或重复,在不改变其功能的前提下删除多余部分。
architecture-survey
41k帮你的智能体审查代码库的结构,列出越来越难修改的部分并附上证据,且自身不做任何更改。
ask-navigator
41k帮你的智能体把模糊的项目整理成一张清晰的决策问题图,然后逐个处理,直到路径变得清楚。