← Files Planning SkillsARCHIVED FILE

docs/agent-invocation-matrix.md

8.11 KB · Nov 3, 2026 · 19:05 UTC

↓ Download file

# Agent invocation matrix

The planning method is shared across tools. Invocation surfaces differ.

The default interactive profile is **collaborative shaping**: start from R, S, evidence, or a focused uncertainty and move among R/S/fit/spikes/candidate breadboards as useful. Use the **gated/orchestrated profile** when strict prerequisites are explicitly required.

## Support matrix

| Environment | Recommended invocation | Project commands | Notes |
| --- | --- | --- | --- |
| Claude Code | Built Planning Skills plugin | Yes | The self-contained plugin carries both canonical skills and namespaced command wrappers such as `/planning-skills:plan`. |
| Codex CLI | Codex marketplace/plugin plus natural-language prompts | No Claude-style slash commands | Install the marketplace/plugin once, then invoke named skills from the product repository. |
| Codex app / managed workspace | Imported or directory-installed plugin selected through **Sources → Use plugins** | Client-dependent | Workspace availability and installation policy apply; invoke the included skills by name. |
| Gemini CLI | Native Agent Skills | Only if `.gemini/commands/` is present in the active project | `gemini skills install` installs/discovers skills, not this repo's project-local TOML command wrappers. Natural-language skill invocation is the portable default. |
| Claude / Claude Design | Uploaded canonical skills plus natural-language requests | No repo-local command wrappers | Upload generated skill ZIPs and enable them; repository-authoritative changes should be written back through a repo-aware agent. |
| MCP-compatible clients | Tools exposed by `mcp-server/` | Client-dependent | The server reads canonical root skills and artifact templates at runtime. |
| Cursor and other agents | Canonical `SKILL.md` files, local instructions, and templates | Tool-dependent | Point the agent explicitly at the relevant skill and profile. |
| Plain Markdown | Read the relevant root `SKILL.md` | No | Portable fallback with no plugin dependency. |

## Workflow mapping

> **Claude column:** the table shows the short wrapper names. With the installed Claude Code plugin, prefix them with `/planning-skills:` (`/plan` → `/planning-skills:plan`, `/shape` → `/planning-skills:shape`).
>
> **Gemini column:** the slash commands below refer to this repository's `.gemini/commands/` wrappers. A native Gemini Agent Skills install by itself does not copy those commands into another project; use the Codex/plain-prompt wording unless you intentionally install/adapt the wrappers.

| Planning move | Canonical skill or artifact | Claude | Gemini | Codex and plain prompt |
| --- | --- | --- | --- | --- |
| Choose the smallest next move | `planning-router/SKILL.md` | `/plan` | `/plan` | “Use the planning-router skill; respect my current entry point…” |
| Start or resume future-facing opportunity research | `lead-user-research/SKILL.md` | `/lead-user` | `/lead-user` | “Use the lead-user-research skill; derive the next valid phase from [workspace]…” |
| Research brief — Phase A | `lead-user-research` | `/lead-user-frame` | `/lead-user-frame` | “Use lead-user-research Phase A…” |
| Trend-first discovery — Phase B | `lead-user-research` | `/lead-user-discover` | `/lead-user-discover` | “Use lead-user-research Phase B…” |
| Bounded evidence batch — Phase C | `lead-user-research` | `/lead-user-evidence` | `/lead-user-evidence` | “Use lead-user-research Phase C…” |
| Sufficiency and Evidence Freeze — Phase D | `lead-user-research` | `/lead-user-freeze` | `/lead-user-freeze` | “Use lead-user-research Phase D…” |
| Interpret frozen evidence — Phase E | `lead-user-research` | `/lead-user-interpret` | `/lead-user-interpret` | “Use lead-user-research Phase E…” |
| Evidence-gated concept shaping — Phase F | `lead-user-research` | `/lead-user-shape` | `/lead-user-shape` | “Use lead-user-research Phase F only for a passing need…” |
| Decision outcome and actions — Phase G | `lead-user-research` | `/lead-user-decide` | `/lead-user-decide` | “Use lead-user-research Phase G…” |
| Delivery and proposed frame handoff — Phase H | `lead-user-research` | `/lead-user-deliver` | `/lead-user-deliver` | “Use lead-user-research Phase H…” |
| Coordinate multi-session planning | `wayfinding/SKILL.md` | `/wayfind` | `/wayfind` | “Use Wayfinding to chart this bounded planning destination…” |
| Frame when genuinely needed | `framing-doc/SKILL.md` | `/frame` | `/frame` | “Use the framing-doc skill…” |
| Collaborative shaping from R, S, evidence, or uncertainty | `shaping/SKILL.md` | `/shape` | `/shape` | “Use the shaping skill in collaborative mode…” |
| Work on requirements now | `shaping/SKILL.md` | `/criteria` | `/criteria` | “For this move, work on R; it may be extracted from existing S…” |
| Work on Appetite now | `shaping/SKILL.md` + `templates/appetite-card.md` | `/appetite` | `/appetite` | “Set, revise, or accept Appetite and cut line…” |
| Work on shapes now / S-first | `shaping/SKILL.md` | `/sketch-shapes` | `/sketch-shapes` | “For this move, capture or revise S; this may be the entry point…” |
| Run Working or decision-ready fit | `shaping/SKILL.md` | `/fit-check` | `/fit-check` | “Run fit/reverse-fit; label provisional evidence Working…” |
| Resolve one focused unknown | `shaping/SKILL.md` + `templates/spike.md` | `/spike` | `/spike` | “Run a focused spike and return R/S/fit/Appetite implications…” |
| Candidate-shape breadboard | `breadboarding/SKILL.md` | `/breadboard` | `/breadboard` | “Use candidate-shape mode; label Working/Accepted/Unset judging inputs…” |
| Select shape — hard gate | `shaping/SKILL.md` | `/select-shape` | `/select-shape` | “Record my selected shape after verifying accepted R/Appetite and decision-ready fit…” |
| Reconcile a visual | `sketch-reconciliation/SKILL.md` | `/reconcile-sketch` | `/reconcile-sketch` | “Reconcile this attached visual with accepted planning…” |
| Current-state or selected-design breadboard | `breadboarding/SKILL.md` | `/breadboard` | `/breadboard` | “Use breadboarding in current-state / selected-design mode…” |
| Model complex state | `statechart/SKILL.md` | `/statechart` | `/statechart` | “Use the statechart skill…” |
| Define boundary contracts | `interface-contracts/SKILL.md` | Prompt skill directly | Prompt skill directly | “Use interface-contracts…” |
| Create build handoff | `executable-breadboards/SKILL.md` | Prompt skill directly | Prompt skill directly | “Use executable-breadboards…” |
| Group and sequence work | `dumplink/SKILL.md` | `/dumplink` | `/dumplink` | “Use the dumplink skill…” |
| Package build context | `feed-planning-context/SKILL.md` | `/feed-context` | `/feed-context` | “Use feed-planning-context…” |
| Check drift | `templates/drift-check.md` | `/check-drift` | `/check-drift` | “Run a strict drift check…” |
| Reflect after implementation | `breadboard-reflection/SKILL.md` | `/reflect-breadboard` | `/reflect-breadboard` | “Use breadboard-reflection…” |
| Create kickoff reference | `kickoff-doc/SKILL.md` | `/kickoff` | `/kickoff` | “Use kickoff-doc…” |

## Profile mapping

| Profile | Claude Code / Gemini with project wrappers | Native Gemini / Codex / other agents |
| --- | --- | --- |
| Collaborative | Invoke the shaping wrapper and state collaborative mode; focused wrappers may be used in any useful order. | “Use the shaping skill in collaborative mode. Start from what is already concrete and keep Working material separate from Accepted intent.” |
| Gated / orchestrated | Invoke the shaping wrapper and explicitly request the gated profile; wrappers enforce `.agent-orchestration.yaml` prerequisites. | “Use the gated/orchestrated profile and enforce `.agent-orchestration.yaml` prerequisites.” |

Hard promotion gates are identical across profiles even when exploration order differs.

## Maintenance rule

Root skill folders are canonical. Tool-specific wrappers stay thin. The packaged `skills/` directory is generated with:

```bash
bash scripts/sync-packaged-skills.sh
```

Do not hand-edit packaged skill copies or duplicate the method inside command wrappers.

SHA-256: 7e4cfe18e966825a344c0f36d244dc2fb22c9acec94ac759e8380c5899beef87