knowledge-source-router
Skill by microsoft
Routes knowledge requests that name or imply a country through SharePoint Country metadata before searching document content. Intended for assistants answering country-specific questions from a SharePoint library.
Install knowledge-source-router
Built from the published package, never by AI.
git clone --depth 1 https://github.com/microsoft/cat-agent-skills /tmp/cat-agent-skills && mkdir -p ~/.claude/skills && cp -r /tmp/cat-agent-skills/submissions/knowledge-source-router ~/.claude/skills/knowledge-source-routerRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install knowledge-source-router in Claude Code
git clone --depth 1 https://github.com/microsoft/cat-agent-skills /tmp/cat-agent-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/cat-agent-skills/submissions/knowledge-source-router ~/.gemini/antigravity-cli/skills/knowledge-source-routerAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install knowledge-source-router in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
Knowledge Source Router is an agent skill that handles knowledge requests that name or imply a country. It treats the Country column in a SharePoint library as document metadata rather than a search term. The skill first discovers the Country values with sharepoint_metadata_filter, then passes every matching document URL to knowledge_search_sharepoint through scopeUrls.
The workflow reads each matching file in full, using a file-type skill to preprocess it, and answers from the combined content. It reports library coverage counts and excluded documents, and cites the ReferenceId of each source used. It applies to SharePoint libraries that track a Country column and stops if that column is absent. Metadata discovery and content search run in sequence, not in parallel.
Written from the project's SKILL.md and checked against it.
What it can do
- sharepoint_metadata_filterDiscovers the Country column and filters library files by its recorded values.
- knowledge_search_sharepointSearches only the document URLs passed in scopeUrls for the user's question.
- Scoped document readingOpens every scoped file and reads it in full before answering.
- Source citationCites the ReferenceId of each document that contributes to the answer.
What you need
- A SharePoint library with document metadata
- Access to sharepoint_metadata_filter and knowledge_search_sharepoint
- A file-type skill to preprocess documents
Try asking
- What employee benefits apply in the United States?
- Compare the leave policies for Germany and France.
- What applies here for a contractor based in Japan?
Good to know
- Does not infer a file's country from its title, folder or contents.
- Blank Country values are reported as unassigned, not backfilled.
- Metadata discovery must finish before the content search starts.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: submissions/knowledge-source-router/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to knowledge-source-router
All alternatives →Set up and diagnose a local agentmemory installation. It covers MCP connections, environment variables, ports, auth and feature flags, and is for users getting started or checking a connection.
Analyzes a Karpathy-pattern LLM wiki and builds an interactive knowledge graph with entities, implicit links and topic clusters. Built for people who maintain LLM-generated markdown wikis.
Saves and loads timestamped reports for AI assistants, with keyword routing for fast lookup. It also runs an Actionability Gate that checks report links before delivery. Intended for morning briefings, meeting digests and research reports.
Removes a personal fact, preference, relationship detail, topic or past event from Muse's active memory. It also stops existing copies and automations from bringing it back.
Git Context Controller (GCC) is a skill that stores agent memory as a versioned file system under .GCC/. It suits multi-step projects that need milestone tracking, branching and context recovery across sessions.
Guides an evidence-first reading of a book, article, PDF or document set. Built for readers who want claims, evidence and recall rather than a short summary.
Compare with agentmemory-config, understand-knowledge or reports
knowledge-source-router: common questions
Does it search documents for a country name?
No. The source says Country is treated as document metadata, not a content-search term, because prose mentions do not establish applicability.
What happens if a library has no Country column?
The skill states that the library does not track Country and stops.
Why does it avoid keyword filtering for a country?
A keyword returns only files containing that term, so it can omit files assigned to the country.
How do I install knowledge-source-router?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is knowledge-source-router free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is knowledge-source-router safe to use?
It scores 61 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to knowledge-source-router?
Similar skills: agentmemory-config, understand-knowledge, reports, forget.
