Knowledge Source Router
Required whenever a knowledge request names or implies a country, asks what applies "here," or compares countries. Treat Country as document metadata, not as a content-search term. Before any content search, general-knowledge answer, or clarification, use sharepoint_metadata_filter to discover and filter the Country column. Then pass every matching document URL to knowledge_search_sharepoint through scopeUrls.
Install
npx skills add microsoft/cat-agent-skills --skill knowledge-source-routergit clone --depth 1 https://github.com/microsoft/cat-agent-skills.git /tmp/cat-agent-skills
mkdir -p ~/.claude/skills
cp -r /tmp/cat-agent-skills/submissions/knowledge-source-router ~/.claude/skills/knowledge-source-routerPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Knowledge Source Router Route country-specific questions through SharePoint metadata before searching document content. A country identifies which documents apply; it is not a keyword to search for inside those documents. Follow this workflow in order. The content search depends on URLs returned by the metadata filter, so it cannot run in parallel with metadata discovery. ## 1. Discover the Country metadata Start with a broad metadata call: ```text sharepoint_metadata_filter(includeColumns: ["*"]) ``` Read `availableColumns` as the authoritative list of library metadata. - If `Country` exists, use that exact column name and its recorded values. - If `Country` is absent, state that the library does not track Country and stop. - If the request does not identify a specific country, inspect the available Country values before asking the user to choose one. Do not infer a file's country from its title, folder, contents, or general knowledge. ## 2. Establish the complete country set First inspect the whole library: ```text sharepoint_metadata_filter(groupByColumn: "Country") ``` Use the returned `groups`, `totalMatched`, and `blankCount` directly. The expected relationship is: ```text sum(groups) + blankCount == totalMatched ``` Do not pre-filter this call with `keyword`. A keyword would reveal only files about that term, not every file assigned to the country. Then enumerate all files for the requested country:
Details
- Skill name
knowledge-source-router- Repository
- microsoft/cat-agent-skills
- Path
submissions/knowledge-source-router/SKILL.md- License
- MIT
- Repo updated
- 15 November 2026
FAQ
What does the Knowledge Source Router skill do?
Required whenever a knowledge request names or implies a country, asks what applies "here," or compares countries. Treat Country as document metadata, not as a content-search term. Before any content search, general-knowledge answer, or clarification, use sharepoint_metadata_filter to discover and filter the Country column. Then pass every matching document URL to knowledge_search_sharepoint through scopeUrls.
How do I install the Knowledge Source Router skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add microsoft/cat-agent-skills --skill knowledge-source-router. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Knowledge Source Router popular?
It lives in microsoft/cat-agent-skills, which has 110 GitHub stars and 122 forks.
Related skills
3 Statements
110microsoft/cat-agent-skills
Completes existing income statement, balance sheet and cash flow templates while preserving layout, grounding historical inputs and linking forecast formulas with reconciliation checks. Use for "fill in a 3-statement template", "complete an IS/BS/CF framework", "populate my integrated financial model", "link statements in this template", or "finish the forecasts in my three-statement workbook". Do NOT use for blank-slate models or general workbook edits (use xlsx), DCF valuation (use dcf-valuation), or buyout modeling (use lbo-model).
Accessibility Pass
110microsoft/cat-agent-skills
Use this skill whenever the user asks to check, review, or fix the accessibility of a PowerPoint deck, Word document, HTML page, or Markdown file, and before handing over any deck or document this agent just generated, so it does not ship with missing alt text, untitled slides, or unreadable colour contrast.
Accessible Learning Materials
110microsoft/cat-agent-skills
Maintains instructionally equivalent, accessible variants of a set of learning materials — lessons, readings, slides, and handouts — with parity checks against the original learning goals and recorded approvals. Use when the user asks to "make these materials accessible", "audit this lesson set for accessibility", "create an accessible version of this reading", "check reading level and alt text", or "keep my accessible variants in sync". Do NOT use for individual student accommodation or support-plan decisions (IEP, EHCP, or local equivalent), and do NOT use for generic document formatting (us
Kql Grounded Queries
110microsoft/cat-agent-skills
Use whenever the user asks for a KQL query for Microsoft Sentinel, Log Analytics or Defender XDR Advanced Hunting — writing one, fixing one, modifying one, or explaining one — including requests that never say "KQL" (for example "query SigninLogs", "hunt for phishing URLs in Defender", "write a Sentinel detection"). Verify every table and column BEFORE composing any query — against Microsoft documentation, or against the tenant's own schema where the table is custom and Microsoft does not document it.
Knowledge Retrieve
110microsoft/cat-agent-skills
Attaches cited SOPs, manuals, prior fixes and usage evidence to draft inputs. Use for "retrieve the SOP", "find the manual section", "pull prior fixes", or "get parts history". Do NOT use for intake — use wo-intake instead; ranking — use similar-work-rank instead; stock checks — use parts-readiness instead; terminal notes — use work-order-writeup instead. No scheduling, orders or live write-back.
Linkedin Content System
110microsoft/cat-agent-skills
Use this skill when the user asks to create LinkedIn posts, promotional posts, thought-leadership posts, newsletter introductions, article intros, or long-form LinkedIn content from source notes, facts, or drafts.
Browse the most popular Claude skills, all writing & content skills, or write your own with the skills generator.