Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Isolated navigation and routing strategy that searches upward and downward through directory hierarchies for signpost documents (CLAUDE.md, AGENTS.md, README.md, RULES.md) and user-configurable buzzwords (via staircase-config.json or config.json). Also known as Up-and-Down Routing or Walking Bass Routing.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-16 | ✗→✓ | ▲ Improved | -30% | 0% |
| case-01 | ✗→✓ | ▲ Improved | 438% | 0% |
| case-04 | ✗→✓ | ▲ Improved | 9% | 0% |
| case-07 | ✗→✓ | ▲ Improved | -43% | 0% |
| case-08 | ✗→✓ | ▲ Improved | -14% | 0% |
<img src="banner.png" width="100%" alt="staircase-routing banner">
The Staircase-Routing skill (also referred to as Up-and-Down Routing or Walking Bass Routing) isolates the directory document inspection strategy for AI agents.
When an agent enters a directory or works on a file, it uses this strategy to locate authoritative context, rules, and signpost documents before modifying code or taking action.
By default, Staircase-Routing looks for standard signpost documents:
CLAUDE.md, AGENTS.md, START.md, RULES.mdREADME.md, TODO.md, NOTIZ.md, BEWEISNOTIZ.mdstaircase-config.json or config.json. [ Root / Workspace Level ]
┌────────────────────────┐
│ CLAUDE.md / RULES.md │ ◄── (Step 2: Read Root Signpost)
└───────────▲────────────┘
│ (Staircase Up)
┌───────────┴────────────┐
│ Subfolder / Target Dir │ ◄── (Step 1: Start at CWD)
└───────────┬────────────┘
│ (Staircase Down)
┌───────────▼────────────┐
│ Child / Module Dir │ ◄── (Step 3: Discover Sub-Signposts)
│ module-rules.md │
└────────────────────────┘..).CLAUDE.md or AGENTS.md) or the workspace boundary is reached.staircase-config.json)Agents can read a local or global staircase-config.json to customize target signposts:
json{ "signpost_filenames": [ "CLAUDE.md", "AGENTS.md", "START.md", "RULES.md", "README.md", "TODO.md" ], "custom_buzzwords": [ "SECURITY", "POLICY", "GOVERNANCE", "PIPELINE" ], "max_upward_depth": 10, "exclude_directories": [ "node_modules", ".git", "__pycache__", "dist", "build", "archive" ] }
letter-hooker & Scheduled Tasksstaircase-routing is embedded as a core preflight bootloader in the letter-hooker skill and the antigravity-kontext-and-workflow-loader-and-divider scheduled task, ensuring agents always locate and obey signpost documents before initiating edits.
Other measured skills in the registry, with their headline benchmark lift.