Bonus Resource

Cross CLI Compatibility Routing

A lane-based architecture for making large agent, skill, recipe, and workflow systems smarter, faster, and easier to maintain without dumping the whole catalog into every call.

This page explains the architecture, shows the full decision tree without clipping, and gives you a copy-pasteable migration prompt you can hand to your own orchestrator.

What this fixes

Without this

More agents and more skills eventually make the system slower, noisier, and less reliable.

With this

Requests get routed by lane, execution stays authoritative, and the top of the stack stays tiny.

Deliverables

A public guide, a direct-download PDF, and a universal migration prompt you can hand to any orchestrator.

Heads Up

This architecture is not about stuffing more intelligence into the prompt. It is about shrinking the top of the system so the runtime can load only what is necessary.

The real problem

Big capability systems get slower before they get smarter

The failure mode is rarely raw model intelligence. It is almost always architecture: too much context, too many ambiguous surfaces, and no clean authority boundary between deterministic operations and judgment-heavy work.

Context bloat

Too many skills, prompts, and helper descriptions get shoved into the top of every session. The model spends context budget on metadata instead of the actual job.

Routing ambiguity

Recipes, skills, workflows, and background agents all blur together. The system cannot tell what is deterministic infrastructure and what requires judgment.

Discovery failure

Important capabilities exist, but they are buried behind folder structure, naming drift, or inconsistent manifests. The agent misses them until a human points them out.

Maintenance drift

As more capabilities are added, aliases sprawl, helper files leak into routing, and nobody can explain why a task was routed one way instead of another.

The architecture

Tiny bootstrap first. Lane-native execution second.

01

Step

Tiny bootstrap

Start with `ROUTING-SLIM.md` only.

This file stays intentionally small. Its only job is to point the runtime toward the global discovery index and the lane-selection rules.

02

Step

Capability index

Load a compact machine-readable capability registry.

The system reads one generated index that lists the routable capability packages across recipes, worker skills, and workflows. It does not load execution docs yet.

03

Step

Lane selector

Decide what kind of work this request actually is.

The selector answers one question first: is this deterministic operational work, ambiguous compositional work, or an orchestration pattern request?

04

Step

Lane-native execution

Hand off to the authoritative executor for that lane.

Recipes stay inside the recipe dispatcher. Worker and skill requests stay inside the adaptive planning runtime. Workflows like Dalio Council stay in the workflow lane.

05

Step

Normalized output

Return one result envelope to the caller.

The top-level router should not care which lane fulfilled the request. The lane systems stay specialized while the outer interface stays clean.

The decision tree

Fully visible, no clipped diagram required

The outer router chooses the lane. The lane system chooses the executor. That is the whole trick.

Start

Incoming request

Bootstrap

Read ROUTING-SLIM.md

Discovery

Load compact capability index

Lane selector

Is it deterministic operational work?

If yes, route to the recipe lane.

Is it a named orchestration pattern?

If yes, route to the workflow lane.

Otherwise, is it ambiguous or compositional?

Route to the worker or skill lane.

Deterministic operations

Recipe Lane

If a task is structured, repeatable, and already modeled as an operational recipe, route into the authoritative recipe dispatcher. Do not flatten recipe semantics into generic skill routing.

Ambiguous and compositional work

Worker / Skill Lane

This lane handles the work that needs judgment. It can load a selected capability package, compose multiple steps, and explicitly invoke recipes by ID when needed.

Reusable orchestration patterns

Workflow Lane

Some capabilities are not recipes and are not ordinary skills. They are reusable orchestration patterns. They need their own lane so they can be discovered without being misclassified.

Finish

Return one normalized result envelope

Why this scales

It grows by breadcrumbing, not by preloading everything

Every call starts with dramatically less global context.
Discovery becomes cheaper because the selector reads a compact index instead of a giant prompt dump.
Recipes stop getting mislabeled as skills, and workflows stop getting buried as random helpers.
The model spends more attention on the request and less on memorizing the catalog.
New capabilities can be added without increasing prompt clutter linearly.

Build rules

The system only stays clean if new capabilities enter cleanly

Creation rules

Every new routable thing must enter the system through one authoritative metadata source, one immutable ID, one declared lane, and zero hand-edited central registry files.

Authority boundaries

Global routing chooses the lane. Lane-native systems choose the executor inside that lane. Recipes keep their dispatcher logic. Workflows keep their orchestration logic.

Drift controls

The generated index must be rebuildable, validated, and linted. Non-routable helpers stay out of the index. Routing decisions need explanation output.

Growth model

The system should expand by adding a capability package and manifest, not by enlarging bootstrap docs or stuffing more catalog text into every call.

Copy-pasteable prompt

Hand this to your orchestrator and make it do the migration properly

This prompt is written to force an audit-first migration. It makes the system inspect what already exists, preserve deterministic infrastructure, and only then restructure toward the lane-based model.

Download prompt file
cross-cli-compatibility-routing-prompt.md
You are the top-level orchestrator for a migration from an ad hoc AI capability system to a lane-based cross-CLI routing architecture.

Your job is to inspect the current system first, then produce a migration plan, then execute only after the plan is internally validated.

Operate conservatively. Do not rewrite the whole system blindly. Preserve working deterministic infrastructure. Remove ambiguity, not capability.

OBJECTIVE

Restructure the current system so it follows this shape:

ROUTING-SLIM.md
-> capabilities index
-> lane selector
-> lane-native execution

The target lanes are:
1. Recipe lane for deterministic, validated, operational execution
2. Worker or skill lane for ambiguous, novel, and compositional work
3. Workflow lane for reusable orchestration patterns

PRIMARY OUTCOME

The migrated system must become:
- smarter at selecting the right capability
- faster at startup and routing
- leaner in context usage
- easier to grow without routing drift
- portable across multiple CLIs or orchestrators

NON-NEGOTIABLE ARCHITECTURE RULES

1. Keep the bootstrap tiny.
ROUTING-SLIM.md must remain a protocol entrypoint, not a catalog dump.

2. Use one generated discovery artifact.
Do not hand-maintain a giant central registry. Build one machine-readable index from authoritative local metadata.

3. Route by lane first.
Do not flatten recipes, worker skills, and orchestration workflows into one undifferentiated selector.

4. Preserve deterministic recipe systems.
If the current system already has a recipe dispatcher, manifest schema, precedence rules, validation logic, or fallback behavior, preserve that lane instead of replacing it.

5. Treat capability packages as the unit.
Do not assume everything is a SKILL.md file. Skills, recipes, workflows, agents, prompts, and tool-backed capabilities may all exist in different forms.

6. Exclude non-routable helpers.
Utility files, helper modules, and implementation details should not appear in the global routing index unless they are intended to be selected directly.

7. Use immutable IDs.
Do not derive stable identity from display names.

8. Prefer deterministic selection before model-heavy selection.
The first pass should use explicit metadata, runtime availability, aliases, and routing rules before loading verbose execution docs.

DISCOVERY PHASE

Before proposing any migration, inspect and classify the current system.

Inventory:
- recipes
- skills
- workflows
- agents
- shared modules
- dispatchers
- helper utilities
- registries
- top-level routing files
- prompt bundles
- direct-download assets
- launch automation surfaces if they are part of the capability lifecycle

For each discovered item, determine:
- what it is
- whether it is directly routable
- whether it is deterministic or judgment-based
- whether it already has an authority boundary
- whether it belongs in recipe, worker or skill, or workflow lane
- whether it is a helper that should be excluded from routing

CURRENT-STATE ANALYSIS

Produce a precise diagnosis of the current architecture:
- where context bloat comes from
- where routing ambiguity comes from
- where recipes and skills are being confused
- where workflows are hidden or mislabeled
- where capability discovery fails
- where helper files are leaking into routing surfaces
- where naming or alias drift is likely
- where central inventory files are overloaded

TARGET MODEL

Design the target system with these layers:

1. Bootstrap
- tiny ROUTING-SLIM.md

2. Discovery
- one generated capability index

3. Lane selector
- recipe vs worker or skill vs workflow

4. Lane-native executor
- authoritative executor inside each lane

5. Normalized result
- one result envelope returned to the caller

CAPABILITY PACKAGE RULES

Define a capability package model that supports:
- one canonical ID
- one authoritative metadata source adjacent to the capability
- one declared lane
- one declared type
- clear routable vs non-routable status

Types may include:
- recipe
- skill
- workflow
- worker-backed capability
- tool-backed capability
- plugin or connector-backed capability

RECIPE LANE RULES

If recipes already exist:
- keep their manifest format authoritative
- keep their dispatcher authoritative
- keep scoring, validation, precedence, and fallback behavior inside that lane
- expose recipes in the global discovery index only for coarse discovery
- do not duplicate recipe semantics into the outer routing layer

WORKER OR SKILL LANE RULES

- select one capability by default
- load rich execution docs only after selection
- allow explicit composition of recipes when necessary
- keep discovery metadata narrow
- keep routing logic centralized rather than embedding complex policy into every capability

WORKFLOW LANE RULES

- treat reusable orchestration patterns as first-class capabilities
- do not force them into recipe or ordinary skill categories
- define when they are directly invokable and when they are internal-only

MIGRATION STRATEGY

Do not migrate everything at once.

Phase the migration:
1. identify top-level routing and overloaded inventory surfaces
2. identify the existing deterministic lane, if any
3. classify high-frequency capabilities first
4. add authoritative metadata to routable capabilities
5. generate the capability index
6. implement lane selection
7. test with real prompts
8. migrate long-tail capabilities gradually

VALIDATION REQUIREMENTS

Add validation for:
- duplicate IDs
- alias collisions
- missing or vague routing metadata
- missing capability paths
- helpers incorrectly exposed as routable
- stale generated index
- lane/type mismatches

TEST REQUIREMENTS

Create tests or fixtures for:
- deterministic operational requests routing to the recipe lane
- ambiguous or novel work routing to the worker or skill lane
- explicit orchestration requests routing to the workflow lane
- important named capabilities resolving correctly by alias
- low-confidence fallback behavior
- exclusion of non-routable helpers

OUTPUT FORMAT

Produce:
1. current-state diagnosis
2. target architecture
3. lane classification table
4. migration phases
5. validation rules
6. test cases
7. implementation checklist

IMPORTANT BEHAVIOR

- Do not start by mutating files.
- Audit first.
- Preserve working deterministic infrastructure.
- Keep the top of the system tiny.
- Expand only as necessary.
- Optimize for portability across different CLIs and orchestrators.
- Optimize for long-term maintainability, not cleverness.

If the current system already contains a dispatcher, giveaway pipeline, registry, workflow runner, or orchestration layer, classify it before changing it.

Bonus resource

Download the polished PDF version

The PDF packages the architecture, the visible decision tree, the lane rules, and the full migration prompt into one clean giveaway asset you can keep, share, or hand off.

Masterminds HQ

This is what we actually build inside the program

Coaches, consultants, and operators use the Mastermind to build real business infrastructure: sites, funnels, automations, and now agent systems that stay usable after the tenth capability.

Real reactions from Cohort 1

What members said after their sessions.

Sophia

Sophia

Session 4

We have like 55 signups for our masterclass and we've only launched maybe four days ago.

Jenny

Jenny

Session 3

It took like 5 minutes! I just took the one which took me one year, and I said make an essence of that, and what would be the most interesting free webinar?

Alla

Alla

Session 3

It looks amazing, and everyone loves my website, and they can't believe that I've created it. I can't believe it myself.

SunDari

SunDari

Session 1

I used to pay all these people; now I can do it myself.

Ronnie

Ronnie

Session 2

I already had a draft website and it created a link to my calendar, a link to my link tree, a hyperlink for my WhatsApp, all the same photos. This is like 90% of the way there to the kind of website that I want.

Alla

Alla

Session 4

I've been comparing myself to a bird who now has wings. I feel so free.

Sophia

Sophia

Session 4

I was able to go in and create my full email marketing funnel. It took off so much of the work of creating the workflow.

Johanna

Johanna

Session 1

I have particles floating in the background, a circle following my cursor, things glowing. I could not believe I built this in one session.

Ronnie

Ronnie

Session 1

It pulled in my calendar link, my WhatsApp, all my deck photos. This is 90% of the website I wanted. In 45 minutes.

Aaqib

Aaqib

Session 2

I got a functional contact form on the website using Resend. I managed to get that set up in like 20 minutes. So I'm pretty stoked.

Pina Maria

Pina Maria

Session 4

I said change it and it changed my whole website in just one second. Everything worked, it was so easy.

Johanna

Johanna

Session 4

I was so on fire and so motivated because so many pieces of the puzzle I've been working on since a long time are coming together.

Jasmine

Jasmine

Session 2

It was great. It's been something that I really want to do, so I'm super grateful. It's so easy and we can just keep building over time. It's epic.

Aaqib

Aaqib

Session 3

I did a whole target audience and persona building exercise. I can safely say that I feel addicted to Claude.

Marina

Marina

Session 3

It's really empowering to learn and to see, with all these different tools, what becomes possible.

SunDari

SunDari

Session 4

Excited that I can just ask Claude anything and be guided and supported through it all.

Quincee

Quincee

Session 4

The website's looking great. I did a brand photoshoot this past week and I feel like a brand new person digitally.

Alla

Alla

Session 2

I got my website online. Thank you so much, it was amazing.

Quincee

Quincee

Session 4

I feel magnetic. I feel guided.