flow-delegate
Delegate a bounded repository task to an allowlisted external coding CLI through the guarded Flow runner. Use for automatic provider selection or explicit Codex, OpenCode, Kimi, Gemini, or Kiro delega
SKILL.mdplugins/pwdev-flow/skills/flow-delegate/SKILL.md
GitHubDelegate Through Flow
Read delegation, safety, and collaboration before acting.
Select
Accept auto or one explicit provider: codex, opencode, kimi, gemini, or kiro. For auto, select from the provider matrix in delegation, announce the provider, mode, and reason, and use read only for analysis-only work.
Standalone delegation inherits no fleet authorization, so never add either fleet bypass vector: --dangerously-bypass-approvals-and-sandbox (Codex) or --dangerously-skip-permissions (Claude). An acknowledgement given for a fleet launch never covers a delegated run.
Run
Inspect repository status, resolve
../../scripts/run-agent.shfrom this installed skill, check the selected binary, and determine its configuredtimeout_swithout reading secret files.Run the packaged preview and display both its exact expanded provider vector and confirmation token:
bash <packaged-run-agent.sh> --preview <provider> <read|write> <task>Require explicit confirmation of that exact expanded vector. Treat the displayed token as bound to its provider, repository, mode, typed model, arguments, standardized prompt, and task; do not reuse it after any change.
Execute the identical packaged runner invocation without
--preview, settingFLOW_DELEGATION_CONFIRM_TOKENto the confirmed token. Execute only the packaged runner. Set the host execution timeout to at leasttimeout_s + 60seconds so the runner can report its own timeout first.Report the runner exit code and captured output path. Do not treat a delegated summary as proof of completion.
Review Independently
After every run, including failures, inspect Git status and the full unstaged and staged diff, inspect relevant untracked files, reconcile scope against the task, and run the relevant tests in the primary session. Return an independent APPROVED, CAVEATS, or REJECTED verdict with evidence and concerns.