Route agentic work across Claude, Codex, Gemini, Antigravity, VS Code, and local adapters, picking the lowest-permission runtime that has evidence for the task and labeling every unverified capability.
Decide where a task runs (Claude / Codex / Gemini / Antigravity / VS Code / local) before it runs, grounded in repo evidence — never in assumed runtime features. [DOC]
| Input | Why it matters | If missing |
|---|---|---|
| Requested runtime or current IDE | Anchors the candidate set | Infer from repo adapters; else ask [SUPUESTO] |
| Task type + output surface | Maps to required capabilities | Dato requerido, stop [DOC] |
Repo adapter evidence (AGENTS.md, CODEX.md, .agent/, MCP config) | Grounds capability claims | Treat capability as pending [INFERENCE] |
| Required capabilities + validation status | Drives lowest-permission choice | Default to local-first fallback [INFERENCE] |
Dato requerido or validation pending markers
wherever evidence is absent. [DOC]Pick the lowest-permission runtime that has evidence for every required capability. Ties break toward local + Markdown. [INFERENCE]
| Signal in the task | Lean toward | Reason |
|---|---|---|
File edits + shell validators + git/gh PR flow | Codex / local CLI | Repo-local, auditable, lowest blast radius [INFERENCE] |
| IDE-rule or workspace-state dependent | VS Code / Antigravity (if .agent/ evidence) | Capability is IDE-bound [SUPUESTO] |
| Multimodal / large-context reasoning | Gemini / Claude | Model capability, not repo capability [SUPUESTO] |
| Hooks, MCP, sub-agents, skill routing | Claude | First-class agentic surface [SUPUESTO] |
| No runtime-specific need | Current tool + Markdown | Avoid needless permission escalation [INFERENCE] |
Runtime ids, permission levels, and capability comparisons are governed by the deterministic assets below; the table is the human-readable shortcut, the assets are the machine-checkable source of truth. [DOC]
validation pending; emit the
fallback; never invent support to fill a gap. [DOC]These JSON policies + validator make the route machine-checkable. They are the intended contract for this skill; if a file is absent in-repo, treat its rule as a requirement to honor, not as present evidence. [SUPUESTO]
assets/runtime-routing-contract.json — route decision schema. [SUPUESTO]assets/runtime-catalog-policy.json — allowed runtime ids + permission levels. [SUPUESTO]assets/evidence-policy.json — every capability claim must ground in a repo
file, an executed check, current runtime metadata, or explicit user config. [SUPUESTO]assets/capability-matrix-policy.json — supported / pending / unsupported axes. [SUPUESTO]assets/fallback-policy.json — require a local-first fallback + visible limits. [SUPUESTO]bash skills/runtime-routing/scripts/check.shThe validator (and the manual gate when the script is absent) fails if a report does any of: [DOC]
A report is done only when every check above is clean. [INFERENCE]
validation pending, keep the fallback. [DOC]gh/CLI auth may fail → still route, and include the no-auth path
(local validators + Markdown PR body) in the fallback. [DOC]runtime-routing alone) → do not activate the
recommendation; request task type + output surface first. [DOC]validation pending before emitting. [INFERENCE]Dato requerido. [DOC]validation pending. [DOC]When runtime feature support is unclear, default to Markdown-first instructions and repo-local scripts; degrade gracefully rather than asserting unverified runtime behavior. [DOC]
CODEX.md + AGENTS.md; if a
needed MCP capability isn't evidenced, mark it pending. [DOC].agent/ adapter evidence; mark runtime
validation pending where the adapter doesn't prove the capability. [DOC]gh" → Codex / local CLI (lowest
permission, fully auditable); fallback gives the no-gh-auth path. [INFERENCE]validation pending and the fallback. [DOC]JaviMontano/jm-adk-beta
fdad39c
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.