agentleFS
qimen039-codeqimen039-code/claim-boundary-harness/skills/capability-router/SKILL.md

capability-router

Skill2 starsChanged 28 days agoMITView on GitHub

Use when currently exposed tools and skills cannot cover a concrete action, or a named capability is missing or fails. Find a bounded fallback while preserving the user's product and scope.

4 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

4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Search the current host's focused tool catalogue if available.

    line 11
  2. Very specific:

    Read the selected current skill/schema.

    line 19
  3. Very specific:

    If absent, use a supported host refresh once for unchanged state.

    line 20
  4. Distinctive:

    Keep registered/configured, current_exposed, authenticated, callable, and action_covered separate.

    line 22

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “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

Capability fallback lookup

The model selects the action from the user's goal, actual object, constraints, and side effects. If an exposed tool or skill covers it, use it directly without running a directory lookup.

  1. Preserve the exact product, project, browser, account surface, and artifact format. Identify the missing action rather than searching the whole task narrative.
  2. Search the current host's focused tool catalogue if available. Otherwise query the local directory once:

    python -B scripts/capability_registry.py --response-profile projection --query "<missing action>" --anchor "<exact named surface>"

    Omit --anchor when none was named. Registration is local metadata, not current exposure. Current host paths and descriptions take precedence over cached plugin files.

  3. Compare candidate action coverage, exposure, authentication, reliability, and cost. Select one primary skill for the action; add another for an independent missing capability. Method skills are optional support.
  4. Read the selected current skill/schema. Filter ALL_TOOLS inside the runtime and emit at most eight short rows; load only the selected schema.
  5. If absent, use a supported host refresh once for unchanged state. If none exists, report host_refresh_required. Do not invent callable tools or substitute another product.

Keep registered/configured, current_exposed, authenticated, callable, and action_covered separate. Unknown states remain unknown. Exact product matches and lexical scores identify candidates; semantic applicability and authorization remain with the model and host.

TTL and fingerprints support fallback lookup. Ordinary tasks need no scan, routing receipt, new rule for each phrasing, or repeated approval. Existing authorization governs the action.

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.