agentsclimarketplace

Mode router

Skill filippolmt/skills/plugins/mode-router/skills/mode-router

Administer the per-prompt caveman/ponytail router — show status, force a mode, or turn routing off.From its SKILL.md

Install
npx -y skills add filippolmt/skills --skill mode-router

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

1.7 KB, 403 tokens by cl100k_base, as published. Nobody here has run it

mode-router

A UserPromptSubmit hook (hooks/route.js) fires on every prompt. In auto mode it makes the model classify the request and invoke exactly one mode skill: coding task → ponytail (minimal code), everything else → caveman (terse output). The mode applies on top of any other skill the turn dispatches — never instead of it. The hook only routes; the two skills own their behavior. This skill reads and flips the control file that picks the mode.

Control file

$XDG_CONFIG_HOME/mode-router/state.json (or ~/.config/mode-router/state.json):

{ "mode": "auto" }

mode is one of: auto (default — model routes per request), caveman (force terse everywhere, regardless of request type), ponytail (force minimal-code everywhere), off (inject nothing). Missing or invalid → auto.

Operations

  1. Status — read the control file (report auto if absent) and state the active mode plus the auto routing rule. Done when the user knows which mode is in force.
  2. Set mode — write { "mode": "<value>" } to the control file, creating the directory if needed. Reject any value outside the four above. Done when the file holds the requested value.

Changes take effect on the next prompt — the hook re-reads the file every turn.

Routing behavior

route.js is the single source of truth for the exact routing and precedence rules, and injects them into every turn. For how slash commands, precedence over hard constraints, and multi-turn spec-driven workflows are handled, see ROUTING.md.

What ships with it: 1 file

8.5 KB alongside SKILL.md

Keep looking

Skills are one crate of 326,452. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.