Agent skill

Skill Router

by stevesolun in stevesolun/ctx

Alive skill router — reads the current project's stack and loads/unloads skills dynamically.

MITAuto-check passedAgent Workflows

Install Skill Router

skills CLI
$ npx skills add stevesolun/ctx --skill skill-router -a claude-code

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

GitHub CLI
$ gh skill install stevesolun/ctx skill-router --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/stevesolun/ctx.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/skill-router .claude/skills/skill-router && 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
skill-router
GitHub stars
588
Token cost
~292 tokens
SKILL.md length
89 words
Files
6 (incl. references)
Skills in repo
26
Repo updated
First seen
Licence
MIT

At a glance

Alive skill router — reads the current project's stack and loads/unloads skills dynamically.

  • Works in 5 steps: 01-scope — Is a scan needed? → 02-plan — Run the scanner → 03-build — Resolve the manifest → …
  • Tasks that involve Skill management
  • SKILL.md covers Pipeline, Invoke When and Stage Files
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Skill Router is an agent skill from stevesolun/ctx. Alive skill router — reads the current project's stack and loads/unloads skills dynamically. Invoke at session start or when project context changes.

Its SKILL.md is about 290 tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including reference files (for example `references/01-scope.md`, `references/02-plan.md` and `references/03-build.md`).

It sits in Agent Workflows, covering Skill management. The repository describes itself as: CTX Fit finds the cheapest AI coding setup that reliably works on your repository, then applies the winner as a reviewable change. The licence is MIT.

When your agent uses it

  • Tasks that involve Skill management

Example prompts

  • “/skill-router”

Workflow steps

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

  1. 01-scope — Is a scan needed?
  2. 02-plan — Run the scanner
  3. 03-build — Resolve the manifest
  4. 04-check — Validate before loading
  5. 05-deliver — Present to user

What it can do on your machine

Read from SKILL.md and the folder at commit 11b582a. 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.

    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

Skill Router loads about 292 tokens when it runs, and up to ~1.8k if it reads all its reference files. Until then it costs about 41 tokens; SKILL.md has 89 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~41
When it runs · the whole SKILL.md, loaded when a task matches
~292
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.8k

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 stevesolun/ctx at commit 11b582a, republished under its MIT licence (© stevesolun). 89 words, ~292 tokens.

Download SKILL.mdSave it as .claude/skills/skill-router/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.
name
skill-router
description
Alive skill router — reads the current project's stack and loads/unloads skills dynamically. Invoke at session start or when project context changes.
type
meta
priority
99
always_load
true

skill-router

Reads ~/.claude/skill-manifest.json and ~/.claude/pending-skills.json. Executes the 5-stage pipeline. No skipping stages.

Pipeline

01-scope → 02-plan → 03-build → 04-check → 05-deliver

Invoke When

  • Session starts (automatic via using-superpowers pattern)
  • User switches projects or opens a new repo
  • pending-skills.json exists (mid-session signals detected)
  • User asks "what skills are loaded?" or "update my skills"

Stage Files

All stage files are in references/. Read and follow each in order.

  1. 01-scope — Is a scan needed?
  2. 02-plan — Run the scanner
  3. 03-build — Resolve the manifest
  4. 04-check — Validate before loading
  5. 05-deliver — Present to user

See check-gates.md for validation questions.

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

Files

SKILL.md and 5 other files (references) in skills/skill-router of stevesolun/ctx.

  • SKILL.md
  • references/01-scope.md
  • references/02-plan.md
  • references/03-build.md
  • references/04-check.md
  • references/05-deliver.md

Open the folder on GitHubat commit 11b582a

Compare with similar skills

Skill Router 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.

Skill Router compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Skill Router this skillstevesolun/ctx588—~292Automated safety check: PassMIT
Darwin Skill Optimizeralchaincyf/darwin-skill6.2k1 repos~4.7kAutomated safety check: PassMIT
Using Agent Skillsaddyosmani/agent-skills103k4 repos~2.4kAutomated safety check: PassMIT
Ponytail Help CardDietrichGebert/ponytail159k—~726Automated safety check: PassMIT
Skill Creatorzhayujie/CowAgent47k—~4.7kAutomated safety check: NotesMIT
Task Observerrebelytics/one-skill-to-rule-them-all3.2k1 repos~12kAutomated safety check: PassCC-BY-4.0

Similar skills

  • Darwin Skill Optimizer

    alchaincyf/darwin-skill

    Scores SKILL.md files on a nine-dimension rubric, then improves them in a keep-or-revert loop with independent judge agents, test prompts, git history and human checkpoints.

    6.2k GitHub starsUsed in 1 repo~4.7k tokens
    Agent WorkflowsAuto-check passed
  • Using Agent Skills

    addyosmani/agent-skills

    Meta-skill for choosing which workflow skill fits the task at hand, plus always-on habits: surface assumptions, stop on confusion, push back, keep it simple and stay in scope.

    103k GitHub starsUsed in 4 repos~2.4k tokens
    Agent WorkflowsAuto-check passed
  • Ponytail Help Card

    DietrichGebert/ponytail

    Shows a one-shot quick-reference card for the ponytail skills: intensity levels, the six commands, and how to turn it off, set a default mode and update.

    159k GitHub stars~726 tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Skill Creator

    zhayujie/CowAgent

    Guides creating, installing and updating agent skills in a workspace: SKILL.md frontmatter, bundled scripts and references, with scripts to scaffold, validate and package.

    47k GitHub stars~4.7k tokensUpdated today
    Agent WorkflowsAuto-check: notes
  • Task Observer

    rebelytics/one-skill-to-rule-them-all

    Monitors task execution for skill improvement opportunities.

    3.2k GitHub starsUsed in 1 repo~12k tokens
    Agent WorkflowsAuto-check passed
  • Skill Stocktake

    affaan-m/ECC

    Audits your installed Claude skills and commands for quality, with a quick mode for recently changed skills and a full mode that evaluates all of them through subagents.

    276k GitHub starsUsed in 5 repos~1.9k tokens
    Agent WorkflowsAuto-check passed

More from stevesolun/ctx

All 26 skills in this repo
  • Diagnosing Bugs

    stevesolun/ctx

    Diagnose hard bugs and performance regressions with reproducible evidence, focused hypotheses, and proportional instrumentation.

    588 GitHub stars~596 tokensUpdated 6 days ago
    Auto-check passed
  • Repo Stats Autoupdate

    stevesolun/ctx

    Keeps README badge + inline counts in sync with the real number of skills, agents, graph nodes/edges, communities, converted pipelines, and test inventory.

    588 GitHub stars~724 tokensUpdated 6 days ago
    Auto-check passed
  • Code Review

    stevesolun/ctx

    Review a Git diff against repository standards and its originating requirements.

    588 GitHub stars~466 tokensUpdated 6 days ago
    Auto-check passed
  • No Mistakes

    stevesolun/ctx

    Validate committed feature-branch changes through the no-mistakes pipeline: intent, rebase, review, test, docs, lint, push, PR, and CI.

    588 GitHub stars~458 tokensUpdated 6 days ago
    Auto-check passed
  • Skill Router

    stevesolun/ctx

    Repo-aware recommendation manager for ctx. An agent skill from stevesolun/ctx.

    588 GitHub stars~2.4k tokensUpdated 6 days ago
    Auto-check passed
  • Codebase Design

    stevesolun/ctx

    Design or improve module interfaces using deep-module heuristics.

    588 GitHub stars~662 tokensUpdated 6 days ago
    Auto-check passed

Categories

Questions about Skill Router

What does Skill Router do?

Alive skill router — reads the current project's stack and loads/unloads skills dynamically. Skill Router is an agent skill from stevesolun/ctx. Alive skill router — reads the current project's stack and loads/unloads skills dynamically.

When should I use Skill Router?

Skill Router fits situations like: tasks that involve Skill management.

How do I install Skill Router in Claude Code?

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

How do I install Skill Router in Codex?

Run `npx skills add stevesolun/ctx --skill skill-router -a codex`. Or copy the skill folder (skills/skill-router in stevesolun/ctx) into .agents/skills/skill-router in your project. Codex loads it when a task matches its description.

Can I use Skill Router 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 stevesolun/ctx --skill skill-router -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/skill-router, .gemini/skills/skill-router, .github/skills/skill-router and .opencode/skills/skill-router in your project.

What does Skill Router need to run?

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

Does Skill Router 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 Skill Router 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 Skill Router use?

Skill Router 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 Skill Router use?

About 292 tokens (SKILL.md is roughly 1.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.5k tokens, read only when the agent opens those files.

What are the alternatives to Skill Router?

Skills that share tags, products or a category with Skill Router: Darwin Skill Optimizer (alchaincyf/darwin-skill, 6.2k stars), Using Agent Skills (addyosmani/agent-skills, 103k stars), Ponytail Help Card (DietrichGebert/ponytail, 159k stars) and Skill Creator (zhayujie/CowAgent, 47k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Skill Router?

stevesolun (a GitHub user) maintains it in stevesolun/ctx, which has 588 GitHub stars. The repository holds 26 skills in this directory. The repository was last updated on October 4, 2026.

Source: stevesolun/ctx on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.