nl-router

Parse intents and route natural language requests to matching skills.

175|26|Updated Aug 14, 2025
One-click install
npx skills add https://github.com/jmagly/ai-writing-guide --skill nl-router
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nl-router
Source: https://github.com/jmagly/ai-writing-guide/tree/main/.factory/skills/nl-router
Command: npx skills add https://github.com/jmagly/ai-writing-guide --skill nl-router

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Routes natural language requests to the most appropriate Claude skills or workflows, reducing guesswork and latency.

Core Features & Use Cases

  • Intent parsing: Extract verbs, objects, constraints from NL input.
  • Skill matching: Score and select the best-fit skill.
  • Ambiguity handling: Clarify unclear intents and propose alternatives.

Quick Start

User asks for a mixed task; nl-router determines the appropriate skill and suggests actions.

Frequently Asked Questions about nl-router

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I route natural language requests to the right skill or workflow?

Natural language routing interprets user intent by extracting verbs, objects, and constraints, then scores and matches requests to available skills. nl-router handles this by parsing intent, selecting the best-fit skill, and proposing alternatives when ambiguous, reducing manual dispatch overhead.

Can nl-router handle ambiguous or unclear user requests?

Yes, nl-router addresses ambiguity by clarifying intent when multiple skills match equally well. It proposes options, learns from routing patterns, and maintains context across follow-ups to resolve unclear requests without requiring restatement.

What happens when no explicit skill trigger matches a user request?

When explicit triggers don't match, nl-router applies intent parsing to extract actions and targets, scores candidate skills based on context, and routes directly to the best match or confirms the choice with the user before proceeding.

How does nl-router improve over time with routing patterns?

nl-router maintains routing state and learns from historical patterns, adjusting skill-matching scores based on successful past routes. This contextual learning reduces latency and improves accuracy for repeated or similar request types.

What's the difference between direct routing and clarification routing?

Direct routing executes immediately when intent is clear and confidence is high. Clarification routing engages the user with alternatives when intent is ambiguous or multiple skills score similarly, ensuring the correct skill is selected before execution.