Router First Architecture
Routing-first pattern that sends domain intent through a deterministic router before any individual tool runs.
- CCM score
- 43 of 100
- skills.sh installs
- 469
- GitHub stars
- 4K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the two-layer design: a skill-rules trigger layer that nudges toward the router, and a routing layer that maps intent to scripts
- Explains co-activation via
coActivatein skill-rules.json so domain skills always load alongside their router - Enforces use of
math-router route "<intent>"first, falling back only when the router returnscommand: null - Designed for math-domain skill sets where individual scripts should not be called directly and routing logic must not be duplicated
Install
$ npx -y skills add parcadei/continuous-claude-v3 --skill router-first-architecture -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Router-First Architecture
Route through domain routers before using individual tools. Routers abstract tool selection.
Pattern
Domain routers (like math-router) provide deterministic mapping from user intent to exact CLI commands. Always use the router first; only bypass for edge cases.
DO
- Call
math-router route "<intent>"before any math operation - Let domain skills co-activate with their router (via
coActivatein skill-rules.json) - Trust the router's confidence score; only fall back if
command: null - Keep trigger keywords/patterns in skill-rules.json broader than routing patterns
DON'T
- Call individual scripts directly when a router exists
- Duplicate routing logic in individual skills
- Let domain skills bypass their router
Co-Activation Pattern
Domain skills should co-activate with their router:
{
"math/abstract-algebra/groups": {
"coActivate": ["math-router"],
"coActivateMode": "always"
}
}
This ensures the router is always available when domain knowledge is activated.
Two-Layer Architecture
Details
- Repository
- github.com/parcadei/continuous-claude-v3
- Categories
- Skill & Plugin Building, Data Science & Analytics, Agent Workflow & Planning
- First seen
- Jun 3, 2026
Questions
What does the router-first-architecture skill do?
It tells the agent to route through domain routers, such as math-router, before calling individual tools. The router maps a user's intent to an exact CLI command, and the agent falls back only when the router returns no command.
How do I install the router-first-architecture skill?
Run npx -y skills add parcadei/continuous-claude-v3 --skill router-first-architecture -y in your project. Once installed, the agent follows the router-first pattern when it works on domain tasks.
Which skills lead the Skill and Plugin Building category next to this one?
This skill sits in the Skill and Plugin Building category alongside find-skills, writing-for-agents, lark-skill-maker, skill-creator and discover-azure-skills. It differs from those by focusing on how domain skills co-activate with a router and how trigger keywords should stay broader than routing patterns.
Does router-first-architecture need any tools or accounts?
The facts only show that it expects a domain router such as math-router and a skill-rules.json file that defines coActivate settings. No API keys or paid accounts are mentioned in its source.
More from parcadei/continuous-claude-v3
All 108- Implement Plan408
- Implement Task398
- Implement Plan Micro397
- Discovery Interview4.2K
- Premortem915
- Math889
- Dead Code745
- Github Search745
- Refactor625
- Recall Reasoning605
- Graceful Degradation603
- Explore581
- Agentic Workflow569
- Modular Code568
- Math Help549
- Sub Agents539
- Perplexity Search537
- Security534
- Research Agent532
- Agent Orchestration528
- Git Commits525
- Ast Grep Find524
- Remember524
- Repo Research Analyst524
Similar to Router First Architecture
More Skill & Plugin Buildingskill-routerSkillzhaono1/agent-playbook899 installsRoutes requests to the narrowest matching portable skill, recommending one with a stated rationale and alternatives.
math-routerSkillparcadei/continuous-claude-v3497 installsDeterministic router that maps math requests to exact CLI commands across seven computation scripts.
workflow-builderPluginalirezarezvani/claude-skills30.7K starsWorkflow-builder skill: design and write deterministic multi-agent workflow scripts (.js files in .claude/workflows/) for Claude Code's Workflow tool (CLAUDE_CO
workflow-routerSkillparcadei/continuous-claude-v3499 installsRoutes user tasks by goal to Research, Plan, Build, or Fix specialist agents with confirmation first.
anthropic-architectSkilljamesrochabrun/skills219 installsDecision rubric for choosing among Anthropic skills, agents, prompts, and SDK primitives by project requirements.
rust-routerSkillactionbook/rust-skills3.1K installsRouting hub that sends Rust questions to layered skills by error code, domain, or query type.