Skill Router logo

Skill Router

Community
zhaono1
skill-router

Routes an agent request to the narrowest matching portable skill when the user asks which skill to use or needs help selecting one across supported hosts.

Overview

Publisherzhaono1
Repositoryagent-playbook
Skill nameskill-router
Stars
79
Forks
12
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by zhaono1 on GitHub. Read the source before you install it.

Installation

Install the Skill Router AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/zhaono1/agent-playbook.git /tmp/agent-playbook
mkdir -p .claude/skills
cp -r /tmp/agent-playbook/skills/skill-router .claude/skills/skill-router
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Skill Router in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Skill Router on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Skill Router is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Skill Router

Analyze the request and recommend the narrowest matching skill exposed by the current host. Do not assume Claude Code, Codex, Gemini, or DeepSeek Harness capabilities that are not visible in the current session.

When This Skill Activates

This skill activates when you:

  • Ask "which skill should I use?" or "what skill can help with...?"
  • Say "use a skill" without specifying which one
  • Express a need but aren't sure which skill fits
  • Mention "skill router" or "help me find a skill"

Available Skills Catalog

Meta & Workflow

SkillBest For
skill-routerFinding and selecting the right skill for a task
create-prCreating pull requests with bilingual documentation checks
session-loggerSaving session summaries and activity logs
workflow-orchestratorCoordinating multi-skill workflows and triggers
self-improving-agentLearning from completed skill workflows
auto-triggerDeclaring trigger relationships between skills

Core Development

SkillBest For
commit-helperWriting Git commit messages, formatting commits
code-reviewerReviewing PRs, code changes, quality checks
debuggerDiagnosing bugs, errors, unexpected behavior
refactoring-specialistImproving code structure, reducing technical debt

Documentation & Testing

SkillBest For
documentation-engineerWriting README, technical docs, code documentation
api-documenterCreating OpenAPI/Swagger specifications
test-automatorWriting tests, setting up test frameworks
qa-expertTest strategy, quality gates, QA processes

Architecture & DevOps

SkillBest For
api-designerDesigning REST/GraphQL APIs, API architecture
security-auditorSecurity audits, vulnerability reviews, OWASP Top 10
performance-engineerPerformance optimization, speed analysis
deployment-engineerCI/CD pipelines, deployment automation

Planning & Analysis

SkillBest For
prd-plannerCreating PRDs with persistent file-based planning
prd-implementation-precheckPrechecking PRDs/specs before implementation
architecting-solutionsNon-PRD solution design, architecture, and requirements analysis
planning-with-filesMulti-step task planning, persistent file-based organization
long-task-coordinatorMulti-session, delegated, or resumable work that needs explicit state and recovery

Design & UX

SkillBest For
figma-designerAnalyzing Figma designs and producing implementation-ready visual specs/PRDs

Routing Process

Step 1: Intent Analysis

Analyze the user's request to identify:

  • Task Type: What does the user want to accomplish?
  • Context: What is the working domain (web, mobile, data, etc.)?
  • Complexity: Is this a simple task or complex workflow?

Step 2: Skill Matching

Match the identified intent to the most relevant skill(s) using:

  • Keyword matching: Compare request keywords with skill descriptions
  • Semantic similarity: Understand the meaning behind the request
  • Context awareness: Consider project state and previous actions

Step 3: Interactive Clarification

If the request is ambiguous, guide the user with targeted questions:

  • What is the primary goal?
  • What type of output is expected?
  • Are there specific constraints or preferences?

Step 4: Recommendation & Execution

Present the recommended skill with:

  • Skill name and brief description
  • Why it fits the current request
  • Option to proceed or ask for alternatives

Routing Examples

Example 1: Clear Intent

User: "I need to review this pull request"

Router Analysis:

  • Keywords: "review", "pull request"
  • Intent: Code review
  • Recommendation: code-reviewer

Example 2: Ambiguous Intent

User: "Use a skill to help with my project"

Router Questions:

  1. What type of task are you working on?
  2. Are you designing, coding, testing, or documenting?

Based on answers → Recommend appropriate skill

Example 3: Multi-Skill Scenario

User: "I'm building a new API and need help with the full workflow"

Router Recommendation: Consider using multiple skills in sequence:

  1. api-designer - Design the API structure
  2. api-documenter - Document endpoints with OpenAPI
  3. test-automator - Set up API tests
  4. code-reviewer - Review implementation

Interactive Question Templates

When user intent is unclear, use these question patterns:

Goal Clarification

  • "What are you trying to accomplish with this task?"
  • "What would the ideal outcome look like?"

Domain Identification

  • "What area does this relate to: development, testing, documentation, or deployment?"
  • "Are you working on code, APIs, infrastructure, or something else?"

Stage Assessment

  • "What stage are you at: planning, implementing, testing, or maintaining?"

Preference Confirmation

  • "Do you want a quick solution or a comprehensive approach?"
  • "Are there specific tools or frameworks you're using?"

Best Practices

1. Start Broad, Then Narrow

  • Begin with general category questions
  • Drill down into specifics based on responses

2. Explain Your Reasoning

  • Tell the user why a particular skill is recommended
  • Build trust through transparency

3. Offer Alternatives

  • Present the top recommendation
  • Mention 1-2 alternatives if applicable

4. Handle Edge Cases

  • If no skill fits perfectly, suggest the closest match
  • Offer to help without a specific skill if better

5. Learn from Context

  • Consider previous interactions
  • Remember user preferences for future routing

Advanced Routing Patterns

Semantic Routing

Use semantic similarity when keywords don't match directly:

  • "clean up my code" → refactoring-specialist
  • "make my app faster" → performance-engineer
  • "check for security issues" → security-auditor
  • "resume this interrupted workflow" → long-task-coordinator

Multi-Skill Orchestrations

Suggest skill combinations for complex workflows:

  • New Feature: architecting-solutionsdebuggercode-reviewer
  • API Project: api-designerapi-documentertest-automator
  • Production Readiness: security-auditorperformance-engineerdeployment-engineer

Confidence Levels

Indicate confidence in recommendations:

  • High: Direct keyword match, clear intent
  • Medium: Semantic similarity, reasonable inference
  • Low: Ambiguous request, clarification needed

Error Recovery

If the recommended skill doesn't fit:

  1. Acknowledge the mismatch
  2. Ask follow-up questions to refine understanding
  3. Provide alternative recommendations
  4. Fall back to general assistance if needed

Output Format

When recommending a skill, use this format:

markdown
## Recommended Skill: {skill-name}

{brief description of why this skill fits}

**What it does:** {one-sentence skill description}

**Best for:** {specific use cases}

---

Would you like me to activate this skill, or would you prefer to see other options?

References

Frequently asked questions

What does the Skill Router AI skill do?

Routes an agent request to the narrowest matching portable skill when the user asks which skill to use or needs help selecting one across supported hosts.

Why use Skill Router on TypingMind?

Because you install it once and use it with any model. Skill Router is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Skill Router in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/zhaono1/agent-playbook/tree/main/skills/skill-router. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Skill Router?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Skill Router?

As many as you like. As long as a model supports skills, you can use Skill Router with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Skill Router AI skill free?

Yes. It is published on GitHub by zhaono1 under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇