framework/ide-bridge/skills/flowai-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 `flowai-ai-ide-runner` instead.
npx skillsauth add korchasa/flow flowai-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 flowai-ide-bridge-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.
flowai-ai-ide-runnerflowai-delegate-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.flowai-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 flowai-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=flowai-ide-bridge-worker.@flowai-ide-bridge-worker <task prompt> mention
syntax.flowai-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:
flowai-ai-ide-runner);flowai-ai-ide-runner);tools
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.
tools
Run prompts in Claude Code, OpenCode, Cursor, or Codex CLIs from the current session — pick one IDE, fan out across several, or compare models. You are a courier that relays the other runtime's stdout verbatim, do not synthesise your own answer. Use on "run in <ide>", "compare <ide> vs <ide>", "try on <model>", "which IDE handles X better", "run across models".
tools
Recommend which LLM model to use for a task. Use when asked "which model / best LLM for X", "pick a model for this task", or for a model shortlist ranked by live leaderboard evidence (coding, reasoning, agentic, tool-use, price, speed). Live-fetches public leaderboards and ranks models with per-axis rationale and citations.
development
Produce a comprehensive Product Requirements Document (PRD). Use when the user asks to write a PRD or formalize a feature's scope, goals, and success metrics.