Skip to content
Agentmart
Submit a tool

knowledge-router

Route one question or source event through a supplied knowledge catalog to validated source, owner, escalation, and follow-up skill references.

Skill by runxhq

IndexedApache-2.0★ 104
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/runxhq-knowledge-router

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Route one question or source event through a supplied knowledge catalog to validated source, owner, escalation, and follow-up skill references. Use for evidence discovery and ownership routing, not broad business-action fanout or answering the question itself.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Node.js package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/knowledge-router

What's inside

Skill name
knowledge-router
Description
Route one question or source event through a supplied knowledge catalog to validated source, owner, escalation, and follow-up skill references. Use for evidence discovery and ownership routing, not broad business-action fanout or answering the question itself.
License
Apache-2.0
Instructions
74 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (8)

  • SKILL.md
  • composes-in-graph.yaml · fixtures/
  • composed.graph · fixtures/support/
  • knowledge-router.mjs
  • mark.svg
  • catalog.md · references/
  • mark-license.md · references/
  • run.yaml

SKILL.md (first lines)

# Knowledge Router

Produce a validated retrieval and ownership route from a bounded source
catalog. This skill decides where evidence should come from and who owns the
answer; it does not answer the question or perform the follow-up operation.

`knowledge-router` resolves references inside an explicit knowledge catalog. Its deterministic validator rejects
invented sources, owners, and skills.

## Source catalog

Supply:

```json
{
  "sources": [
    {"id": "auth-docs", "kind": "docs", "summary": "API authentication and key scopes"}
  ],
  "owners": [
    {"id": "security-team", "domains": ["authentication"]}
  ],
  "skills": [
    {"id": "research", "purpose": "Resolve a bounded source-backed question"}
  ]
}
```

Every selected reference must exist in the corresponding catalog collection.
The route may return no follow-up skill when more context or manual review is
the honest outcome.

## Procedure

1. Match the question or event to supplied source summaries and owner domains.
2. Propose the smallest source set needed to resolve the question.
3. Select an owner only when the catalog supports the ownership relationship.
4. Select a follow-up skill only when its declared purpose matches the next job.
5. Use `manual_review` for consequential legal, billing, security, privacy, or
   destructive decisions—not merely because the topic belongs to those teams.
6. Validate every source, owner, and skill reference deterministically.
7. Return `needs_more_context` when no supported route exists.

## Output

- `route`: domain, rationale, and validated source references.
- `source_matches`: validated source references and matching signals.
- `owner_recommendation`: validated owner reference, rationale, and escalation
  posture, or `null`.
- `next_skill`: validated skill reference and rationale, or `null`.
- `verdict`: `routed`, `needs_more_context`, `manual_review`, or the
  deterministic validator's `refused` result for an invented reference.
- `validation`: catalog digest inputs, invalid-reference findings, and result.

## Inputs

- `question` (required): question, event, or thread summary to route.
- `available_sources` (required): explicit `sources`, `owners`, and `skills`
  collections.
- `constraints` (optional): allowed sources, sensitivity, excluded systems, or
  preferred owners. Constraints are not authority.

## Agent task contracts

### `knowledge-router-propose`

Route the question through only the supplied knowledge catalog. Return route_proposal with
verdict, route, source_matches, owner_recommendation, and next_skill. Every selected source_id,
owner_id, and skill must exactly match a supplied id. Choose the smallest useful source
set. Use needs_more_context with no selected ids when the catalog cannot support a route. Use
manual_review for consequential legal, billing, security, privacy, or destructive decisions, not
merely because the topic belongs to those domains. Do not answer the question or perform the
follow-up skill.

From runxhq/runx, Apache-2.0.

More from runxhq/runx

Signals

Stars
104
Forks
109
Open issues
16
Contributors
16
Last commit (this folder)
Oct 17, 2026 (11 days ago)
Last release
Oct 18, 2026 (11 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
Website
runx.ai
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from runxhq

Cite this page

knowledge-router skill. Agent Mart. https://agentmart.dev/skills/runxhq-knowledge-router (last updated 2026-10-24)