Agent Skills
› AjayIrkal23/agentic-mercy-10x
› tool-and-doc-selection
tool-and-doc-selection
GitHub用于智能选择信息源,优先本地代码和文档,必要时调用外部工具或搜索,确保证据准确性并避免过时引用。
触发场景
决定查阅本地代码、本地文档还是外部工具
任务依赖当前库或框架文档
需要收集证据或进行验证
安装
npx skills add AjayIrkal23/agentic-mercy-10x --skill tool-and-doc-selection -g -y
SKILL.md
Frontmatter
{
"name": "tool-and-doc-selection",
"schema": 1,
"category": "docs",
"surfaces": [
"docs"
],
"triggers": {
"paths": [
".claude\/hooks\/",
".claude\/rules\/"
],
"intents": [
"docs"
],
"keywords": [
"among",
"choose",
"consult",
"deciding",
"doc",
"docs",
"external",
"files",
"installed",
"integrations",
"local",
"mcp",
"right",
"search",
"selection",
"source",
"task",
"tool",
"tools",
"truth",
"web",
"workspace"
]
},
"platforms": [
"linux",
"darwin",
"windows"
],
"token-cost": 582,
"description": "ALWAYS invoke when deciding which source of truth to consult among workspace files, local docs, installed docs tools, MCP integrations, or web search. MUST use to choose the right local or external source for this task."
}
Tool And Doc Selection
Use When
- You need to decide whether local code,
jcodemunch, local docs, Deepvue MCP, Context7, or web browsing is the right source. - A task depends on current library or framework docs.
- You are about to use tools for evidence gathering or verification.
Do Not Use
- Implementing application logic on its own.
- Re-stating general coding safety rules that already live elsewhere.
- Treating tools as mandatory when local repo truth is sufficient.
Owns
- Source-of-truth precedence for repo work.
- Choosing
jcodemunchfirst for indexed broad repo code structure or linkage, while using shell/file tools for exact paths, literal text, dirty or untracked files, stale indexes, direct verification reads, and execution output. - Routing library and framework doc questions to external docs skills first.
- Avoiding stale or nonexistent tool references in local guidance.
Does Not Own
- Product architecture or implementation policy.
- UI or backend coding standards.
- Agent or command authoring.
Combine With
- Any skill that needs current docs or evidence.
- External
find-docs,deepvue-docs, andcontext7-mcpfor library, framework, SDK, API, and CLI questions. workflow-overlay-optimizerwhen recurring tool or source-selection patterns should become durable personal routing preferences.- Web search only after local sources and docs skills are insufficient.
Workflow
- Prefer local code,
jcodemunch, local docs, and repo manifests for repo truth; apply the hybridjcodemunch-first rule from~/.codex/skill-routing-matrix.md. - Use external docs skills for library and framework questions.
- Use
deepvue-docsfor Deepvue questions andcontext7-mcpfor other external docs whenfind-docsroutes there. - Use MCP or web tools only when they add evidence that local sources and
jcodemunchcannot provide. - Record which source was authoritative when the choice matters.
- If the same routing preference keeps repeating across sessions, refresh it through
workflow-overlay-optimizer. - Avoid stale tool names or unnecessary tool usage.
Output Contract
- The chosen source of truth and why it was selected.
- Any unresolved uncertainty that still requires verification.
- A short note when a docs skill or external tool was required.
版本历史
- 581d130 当前 2026-07-19 09:15


