Agent skill

Router First Architecture

by parcadei in parcadei/Continuous-Claude-v3

“Router-First Architecture”

— description from SKILL.md by parcadei
MITAuto-check passed

Install Router First Architecture

skills CLI
$ npx skills add parcadei/Continuous-Claude-v3 --skill router-first-architecture -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install parcadei/Continuous-Claude-v3 router-first-architecture --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/parcadei/Continuous-Claude-v3.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/router-first-architecture .claude/skills/router-first-architecture && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
router-first-architecture
GitHub stars
3.9k
Used in
1 other repo
Token cost
~408 tokens
SKILL.md length
184 words
Files
1
Skills in repo
141
Repo updated
First seen
Licence
MIT

At a glance

  • Works in 2 steps: Skill-rules trigger layer: Nudges Claude… → Router routing layer: Deterministic…
  • SKILL.md covers Pattern, DO, DON'T and Co-Activation Pattern, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

About this skill

Router First Architecture is a skill in parcadei/Continuous-Claude-v3 (3.9k stars). Its SKILL.md is about 408 tokens, and copies of it appear in 1 other owners' repositories. Licence: MIT.

Workflow steps

2 steps, taken from the first numbered list in SKILL.md.

  1. Skill-rules trigger layer: Nudges Claude to use the router (keywords, intent patterns)
  2. Router routing layer: Deterministic mapping to scripts via regex patterns

What it can do on your machine

Read from SKILL.md and the folder at commit d07ff4b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are json).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Router First Architecture loads about 408 tokens when it runs. Until then it costs about 13 tokens; SKILL.md has 184 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~13
When it runs · the whole SKILL.md, loaded when a task matches
~408

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from parcadei/Continuous-Claude-v3 at commit d07ff4b, republished under its MIT licence (© parcadei). 184 words, ~408 tokens.

Download SKILL.mdSave it as .claude/skills/router-first-architecture/SKILL.md (or your agent's skills folder).
name
router-first-architecture
description
Router-First Architecture
user-invocable
false

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 coActivate in 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:

json
{
  "math/abstract-algebra/groups": {
    "coActivate": ["math-router"],
    "coActivateMode": "always"
  }
}

This ensures the router is always available when domain knowledge is activated.

Two-Layer Architecture

  1. Skill-rules trigger layer: Nudges Claude to use the router (keywords, intent patterns)
  2. Router routing layer: Deterministic mapping to scripts via regex patterns

Keep the trigger layer broader than routing - the router should handle "not found" gracefully.

Source Sessions

  • 2bbc8d6e: "Trigger layer was narrower than routing layer" - expanded triggers
  • This session: Wired 8 domain math skills to co-activate with math-router

© parcadei, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/router-first-architecture of parcadei/Continuous-Claude-v3.

Open the folder on GitHubat commit d07ff4b

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in parcadei/Continuous-Claude-v3, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Router First Architecture next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Router First Architecture compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Router First Architecture this skillparcadei/Continuous-Claude-v33.9k1 repos~408Automated safety check: PassMIT
Routeralsk1992/CloddsBot3k—~1.4kAutomated safety check: PassMIT
Routergamedev-skills/awesome-gamedev-agent-skills1.4k—~3.8kAutomated safety check: PassApache-2.0
Routerhashgraph-online/awesome-codex-plugins1.3k—~1.1kAutomated safety check: PassApache-2.0
Router Onweave-os/router5.6k—~169Automated safety check: PassApache-2.0
Router Offweave-os/router5.6k—~183Automated safety check: PassApache-2.0

Similar skills

  • Router

    alsk1992/CloddsBot

    Smart order routing for best price, liquidity, and execution

    3k GitHub stars~1.4k tokensUpdated 8 days ago
    Business, Finance & HRAuto-check passed
  • Router

    gamedev-skills/awesome-gamedev-agent-skills

    Routes any game-development request to the right specialized skill(s): it detects the engine (Godot, Unity, Unreal, Bevy, Phaser, PixiJS, three.js, LÖVE, pygame, Roblox) and the task, then reads the…

    1.4k GitHub stars~3.8k tokensUpdated yesterday
    Game DevelopmentAuto-check passed
  • Router

    hashgraph-online/awesome-codex-plugins

    Find the right doc before reading code. An agent skill from hashgraph-online/awesome-codex-plugins.

    1.3k GitHub stars~1.1k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Router On

    weave-os/router

    Route Codex through the Weave Router again (turn it back on).

    5.6k GitHub stars~169 tokensUpdated yesterday
    Auto-check passed
  • Router Off

    weave-os/router

    Route Codex to its default provider again (turn the Weave Router off).

    5.6k GitHub stars~183 tokensUpdated yesterday
    Auto-check passed
  • Acp Router

    openclaw/openclaw

    Route plain-language requests for Claude Code, Cursor, Copilot, OpenClaw ACP, OpenCode, Gemini CLI, Qwen, Kiro, Kimi, iFlow, Factory Droid, Kilocode, or explicit ACP harness work into either…

    392k GitHub stars~2.4k tokensUpdated today
    Writing & ContentAuto-check passed

More from parcadei/Continuous-Claude-v3

All 141 skills in this repo
  • Compound Learnings

    parcadei/Continuous-Claude-v3

    Transform session learnings into permanent capabilities (skills, rules, agents).

    3.9k GitHub starsUsed in 1 repo~1.6k tokens
    Auto-check: notes
  • Debug Hooks

    parcadei/Continuous-Claude-v3

    Systematic hook debugging workflow. An agent skill from parcadei/Continuous-Claude-v3.

    3.9k GitHub starsUsed in 1 repo~863 tokens
    Auto-check: notes
  • Tldr Deep

    parcadei/Continuous-Claude-v3

    Full 5-layer analysis of a specific function. An agent skill from parcadei/Continuous-Claude-v3.

    3.9k GitHub starsUsed in 1 repo~677 tokens
    Auto-check passed
  • Gradient Methods

    parcadei/Continuous-Claude-v3

    Problem-solving strategies for gradient methods in optimization

    3.9k GitHub starsUsed in 2 repos~1k tokens
    Auto-check: notes
  • Math

    parcadei/Continuous-Claude-v3

    Unified math capabilities - computation, solving, and explanation.

    3.9k GitHub starsUsed in 2 repos~1.6k tokens
    Auto-check: notes
  • Math Model Selector

    parcadei/Continuous-Claude-v3

    Routes problems to appropriate mathematical frameworks using expert heuristics

    3.9k GitHub starsUsed in 2 repos~841 tokens
    Auto-check passed

Questions about Router First Architecture

How do I install Router First Architecture in Claude Code?

Run `npx skills add parcadei/Continuous-Claude-v3 --skill router-first-architecture -a claude-code`. Or copy the skill folder (.claude/skills/router-first-architecture in parcadei/Continuous-Claude-v3) into .claude/skills/router-first-architecture in your project. Claude Code loads it when a task matches its description.

How do I install Router First Architecture in Codex?

Run `npx skills add parcadei/Continuous-Claude-v3 --skill router-first-architecture -a codex`. Or copy the skill folder (.claude/skills/router-first-architecture in parcadei/Continuous-Claude-v3) into .agents/skills/router-first-architecture in your project. Codex loads it when a task matches its description.

Can I use Router First Architecture in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add parcadei/Continuous-Claude-v3 --skill router-first-architecture -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/router-first-architecture, .gemini/skills/router-first-architecture, .github/skills/router-first-architecture and .opencode/skills/router-first-architecture in your project.

What does Router First Architecture need to run?

SKILL.md names no scripts, command-line tools or credentials: Router First Architecture is instructions for the agent only.

Does Router First Architecture access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Router First Architecture safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Router First Architecture use?

Router First Architecture is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Router First Architecture use?

About 408 tokens (SKILL.md is roughly 1.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Router First Architecture?

Skills that share tags, products or a category with Router First Architecture: Router (alsk1992/CloddsBot, 3k stars), Router (gamedev-skills/awesome-gamedev-agent-skills, 1.4k stars), Router (hashgraph-online/awesome-codex-plugins, 1.3k stars) and Router On (weave-os/router, 5.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Router First Architecture?

parcadei (a GitHub user) maintains it in parcadei/Continuous-Claude-v3, which has 3,943 GitHub stars. The repository holds 141 skills in this directory. The repository was last updated on January 26, 2026.

Source: parcadei/Continuous-Claude-v3 on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.