Fernando Ramos← All skills02 of 09
← All skills

/compass

Orient · Decision-tree skill router

Routes task intent to a single installed skill, probes its declared branch tools before loading the skill body, and refreshes the discovery index.

npx skills@latest add luci-efe/skills -s compass

  • OrientStage
  • 06 Autonomy with ownershipMethod
  • .ramos/cache/skills.jsonProduced artifact / output

Use when

Choosing the next engineering skill, discovering installed workflows, or checking prerequisites before a branch.

Support & adapters

  • Instructions usable across harnesses
  • Hooks tested: Claude Code

Decision tree

  1. 01

    Explicit skill named by user

    Select that skill directly and probe its target branch prerequisites before reading SKILL.md

    → User intent preserved
  2. 02

    No skill named

    Run node <this skill dir>/scripts/compass.mjs route "<task>" across at most three candidate metadata entries

    → Single skill + branch selected
  3. 03

    Prerequisite probe fails

    Show exact known install command and block only that branch; never auto-install or silently switch providers

    → Explicit branch blocker
  4. 04

    Index refresh or prompt hook

    compass.mjs index refreshes .ramos/cache/skills.json; compass.mjs nudge emits at most one advisory line

    → Fresh metadata cache

Prerequisites & install recipes

  • noderequired · default branchnode
    brew install node

Completion criteria

  • A receipt identifies one selected skill/branch, reason, entrypoint, fresh prerequisite results, and expected artifact schema.
  • Emits at most one non-blocking advisory line on UserPromptSubmit without probing or calling a model.
  • Returns control to the task owner if traversal revisits a skill or exceeds three transitions.

Example

Prompts routed to skills in a checkout of a public project, then the same router with its tools removed from PATH.

What was run

P=$SKILLS/compass/scripts/compass.mjs
node $P index
node $P route "check dependencies for CVE before release"
node $P route "the checkout test fails intermittently"
node $P route "make me a sandwich"
PATH=/usr/bin:/bin node $P route "trace the architecture flow of mission cancel"

Output (excerpt)

route "check dependencies for CVE before release"            ready: red-team / scan
route "I don't know how the mission cancel flow works ..."   ready: cartographer / baseline
route "the checkout test fails intermittently"               ready: reproduce / default
route "benchmark my claim that the threads pool is faster"   ready: proof / assertion
route "make me a sandwich"                                   no-match

# PATH without rg and ast-grep
status: blocked, selected: cartographer / baseline
rg:       missing, brew install ripgrep
ast-grep: missing, brew install ast-grep

What it found. Each prompt landed on one skill and branch; with rg and ast-grep off PATH the route came back blocked with an install recipe, and nothing was installed.

Caveat. Routing is a keyword table, not understanding, and a misroute exits 0. Naming the skill (/reproduce) always bypasses the router.

View skill source on GitHub

Want something like this built for your company?

Book a callMessage me on LinkedInSee Agentic Engineering
← All skills