Agent Skills
› AjayIrkal23/agentic-mercy-10x
› tool-and-doc-selection
tool-and-doc-selection
GitHub用于在本地代码、索引工具、文档技能及外部搜索间选择最权威信息源。优先本地与jcodemunch,其次外部文档,最后网络搜索。避免冗余调用,确保证据准确并记录决策依据。
Trigger Scenarios
需要决定使用哪种信息源(本地代码、文档工具或网络搜索)
任务依赖当前库或框架的文档
即将使用工具进行证据收集或验证
Install
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.
Version History
- 581d130 Current 2026-07-19 09:15


