agentleFS
qwerfunchqwerfunch/cladding/skills/route/SKILL.md

route

Skill16 starsChanged 5 months agoMITView on GitHub

Classify a natural-language prompt to one of cladding's verbs. Use when the user describes work in their own words and you want to see which built-in verb cladding's intent classifier would pick — primarily a debugging tool for the orchestrator persona and for verifying the router's coverage after adding new verbs. Activate only when the connected project contains spec.yaml or the user explicitly names Cladding; ignore ordinary requests in uninitialized projects.

11 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 10 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Run clad route <prompt> from anywhere — the verb is read-only and does not require a workspace.

    line 7

“Common” is measured: kept by at least 6 in 10 of the 10 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Cladding route

Run clad route <prompt> from anywhere — the verb is read-only and does not require a workspace. It calls classifyIntent(prompt) from src/router/intent.js and emits the resolved verb name as a Pulse note. Exit code is 0 on a confident match and 1 when the intent resolves to unknown.

clad route "scan my codebase and write the conventions doc"
clad route "is the LLM host healthy?"
clad route "I'm stuck, what's next?"

The verb is the smallest surface that exercises the router in isolation. Production callers typically reach the router indirectly through the orchestrator persona (src/agents/orchestrator.md) or through clad_route over MCP.

When to use

  • Debugging why a natural-language prompt routed (or failed to route) to the verb you expected.
  • Confirming a new verb's intent patterns are reachable after adding them to src/router/intent.js.
  • Smoke-testing the router during local development before publishing a plugin update.

The classifier is intentionally conservative — when no rule matches strongly enough, the result is unknown and the verb exits 1 so callers can fall back to an explicit verb lookup instead of guessing.

Out of scope

  • This verb is not the entry point for "do the work" — for that the user picks a concrete verb (init, sync, check, drive, …) directly, or the orchestrator persona does the routing inside a Claude Code session.
  • Free-form prompts that span multiple verbs ("sync then check then drive") collapse to whichever single verb best matches; the router does not split intent.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.