framework/ide-bridge/skills/delegate-to-ide/SKILL.md
Delegate a task to another AI IDE's CLI (codex / claude / opencode / cursor-agent) through an isolated-context subagent. Triggers on "delegate to <ide>", "have <ide> do <task>", "execute <task> in <ide>", "offload to <ide>". For one-shot relay or fan-out comparison use `ai-ide-runner` instead.
npx skillsauth add korchasa/flow delegate-to-ideInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are NOT the courier — the worker subagent is.
This skill exists to keep the child CLI's transcript out of your context. If
you shell out to codex / claude / opencode / cursor-agent yourself
from this parent session, you defeat the point — every byte of the child's
output then lands in your working context. Always invoke the subagent
instead.
ai-ide-runnerdelegate-to-ide) when the user wants the other
IDE to do a task on their behalf and only the final result needs to
surface in the current chat. The child's intermediate work stays in the
subagent's isolated context.ai-ide-runner when the user wants a one-shot relay
(second opinion on a single question), a fan-out comparison across
several IDEs, or a cross-model comparison within one IDE. There the
child's full output IS the deliverable, and isolation buys nothing.Extract:
{target_ide} — codex, claude, opencode, or cursor-agent. If the
user named only a vendor or a model, map to the vendor's native IDE
(Anthropic / Claude → claude; OpenAI / GPT / o-series → codex;
Cursor's own Composer → cursor-agent). Reach for OpenCode only when
the user says "in OpenCode", asks for OpenRouter billing, or asks to
fan out across providers (in which case ai-ide-runner is
almost certainly the better skill).{model} — optional. If unspecified, leave to the worker (it uses the
target's flagship alias).{task_prompt} — the actual task description the target IDE should
execute. Strip routing scaffolding ("delegate to Codex:", "have Claude
do …") so the worker passes a clean prompt to the child CLI.Per-host invocation syntax:
Agent / Task tool with
subagent_type=worker.@worker <task prompt> mention
syntax.ai-ide-runner for one-shot relay. Do NOT
silently fall back to running the child CLI inline — that would defeat
the context-isolation point that motivates this skill.Pass the worker a single block containing:
Target IDE: {target_ide}
Model: {model or "default"}
Task prompt:
{task_prompt}
The worker returns a labelled, quoted block with the child CLI's output. Surface that block to the user verbatim — do NOT add commentary inside the quoted block, do NOT paraphrase the child's content, do NOT translate or re-style. Brief framing outside the block (e.g. "Codex returned:") is fine.
If the worker reports that the host has no subagent mechanism (see Step 2, Cursor / Codex case), pass that message through and stop.
This skill's final message MUST consist of:
reason payload on sandbox runs), NOT from the parent model's weights.Do not, under any circumstances, run claude -p / codex exec /
opencode run / cursor-agent -p from this parent session. If you find
yourself drafting such a Bash call, STOP — go to Step 2 and invoke the
subagent instead.
This skill covers invocation routing: parsing the user's intent, choosing the worker as the execution vehicle, and surfacing the worker's reply. It does NOT:
ai-ide-runner);ai-ide-runner);development
Use when the user asks to add TypeScript strict-mode code-style rules to AGENTS.md for a TypeScript project using strict mode. Do NOT trigger for Deno projects (use setup-agent-code-style-deno) or non-strict TS configurations.
development
Use when the user asks to add Deno/TypeScript code-style rules to AGENTS.md, or during initial Deno project setup when code-style guidelines need to be established. Do NOT trigger for non-Deno TypeScript projects (use setup-agent-code-style-strict), or for runtime-agnostic style advice.
testing
Use when the user provides a source (URL, file path, or free text) to save into the project's memex — a long-term knowledge bank for AI agents. Stores the raw source, extracts entities into cross-linked pages, runs a backlink audit, and updates the index and activity log. Do NOT trigger on casual reads; only when the intent is to persist a source into the memex.
development
Use when the user asks to audit a memex (long-term knowledge bank for AI agents) for orphans, dead SALP REFs, missing sections, contradictions, or index drift. Runs a deterministic structural check, layers LLM-judgement findings, optionally auto-fixes trivial issues with `--fix`. Do NOT trigger on general code linting.