LLM Skills
~/catalog/automated workflows//multi-workflow
Automated workflowsGitHub source

Workflow

/multi-workflow

Set up a complete multi-model development process covering research, planning, execution, optimization, and review

affaan-maffaan-m
240.5k
May 20, 2026
MIT License
// skill content

--- description: Run a full multi-model development workflow with research, planning, execution, optimization, and review. --- # Workflow - Multi-Model Collaborative Development Multi-model collaborative development workflow (Research → Ideation → Plan → Execute → Optimize → Review), with intelligent routing: Frontend → Gemini, Backend → Codex. Structured development workflow with quality gates, MCP services, and multi-model collaboration. ## Usage ``bash /workflow <task description> ` ## Context - Task to develop: $ARGUMENTS - Structured 6-phase workflow with quality gates - Multi-model collaboration: Codex (backend) + Gemini (frontend) + Claude (orchestration) - MCP service integration (ace-tool, optional) for enhanced capabilities ## Your Role You are the **Orchestrator**, coordinating a multi-model collaborative system (Research → Ideation → Plan → Execute → Optimize → Review). Communicate concisely and professionally for experienced developers. **Collaborative Models**: - **ace-tool MCP** (optional) : Code retrieval + Prompt enhancement - **Codex** : Backend logic, algorithms, debugging (**Backend authority, trustworthy**) - **Gemini** : Frontend UI/UX, visual design (**Frontend expert, backend opinions for reference only**) - **Claude (self)** : Orchestration, planning, execution, delivery --- ## Multi-Model Call Specification **Call syntax** (parallel: runinbackground: true, sequential: false): ` # New session call Bash({ command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend <codex|gemini> {{GEMINI_MODEL_FLAG}}- \"$PWD\" <<'EOF' ROLE_FILE: <role prompt path> <TASK> Requirement: <enhanced requirement (or $ARGUMENTS if not enhanced)> Context: <project context and analysis from previous phases> </TASK> OUTPUT: Expected output format EOF", run_in_background: true, timeout: 3600000, description: "Brief description" }) # Resume session call Bash({ command: "~/.claude/bin/codeagent-wrapper {{LITE_MODE_FLAG}}--backend <codex|gemini> {{GEMINI_MODEL_FLAG}}resume <SESSION_ID> - \"$PWD\" <<'EOF' ROLE_FILE: <role prompt path> <TASK> Requirement: <enhanced requirement (or $ARGUMENTS if not enhanced)> Context: <project context and analysis from previous phases> </TASK> OUTPUT: Expected output format EOF", run_in_background: true, timeout: 3600000, description: "Brief description" }) ` **Model Parameter Notes**: - {{GEMINIMODELFLAG}}: When using --backend gemini, replace with --gemini-model gemini-3-pro-preview (note trailing space); use empty string for codex **Role Prompts**: | Phase | Codex | Gemini | |-------|-------|--------| | Analysis | ~/.claude/.ccg/prompts/codex/analyzer.md | ~/.claude/.ccg/prompts/gemini/analyzer.md | | Planning | ~/.claude/.ccg/prompts/codex/architect.md | ~/.claude/.ccg/prompts/gemini/architect.md | | Review | ~/.claude/.ccg/prompts/codex/reviewer.md | ~/.claude/.ccg/prompts/gemini/reviewer.md | **Session Reuse**: Each call returns SESSION_ID: xxx, use resume xxx subcommand for subsequent phases (note: resume, not --resume). **Parallel Calls**: Use runinbackground: true to start, wait for results with TaskOutput. **Must wait for all models to return before proceeding to next phase**. **Wait for Background Tasks** (use max timeout 600000ms = 10 minutes): ` TaskOutput({ task_id: "<task_id>", block: true, timeout: 600000 }) ` **IMPORTANT**: - Must specify timeout: 600000, otherwise default 30 seconds will cause premature timeout. - If still incomplete after 10 minutes, continue polling with TaskOutput, **NEVER kill the process**. - If waiting is skipped due to timeout, **MUST call AskUserQuestion to ask user whether to continue waiting or kill task. Never kill directly.** --- ## Communication Guidelines 1. Start responses with mode label [Mode: X], initial is [Mode: Research]. 2. Follow strict sequence: Research → Ideation → Plan → Execute → Optimize → Review. 3. Request user confirmation after each phase completion. 4. Force stop when score < 7 or user does not approve. 5. Use AskUserQuestion tool for user interaction when needed (e.g., confirmation/selection/approval). ## When to Use External Orchestration Use external tmux/worktree orchestration when the work must be split across parallel workers that need isolated git state, independent terminals, or separate build/test execution. Use in-process subagents for lightweight analysis, planning, or review where the main session remains the only writer. `bash node scripts/orchestrate-worktrees.js .claude/plan/workflow-e2e-test.json --execute ` --- ## Execution Workflow **Task Description**: $ARGUMENTS ### Phase 1: Research & Analysis [Mode: Research] - Understand requirements and gather context: 1. **Prompt Enhancement** (if ace-tool MCP available): Call mcpace-toolenhance_prompt, **replace original $ARGUMENTS with enhanced result for all subsequent Codex/Gemini calls**. If unavailable, use $ARGUMEN

// original public source
affaan-m/ECC
/commands/multi-workflow.md
License: MIT License
Independent project, not affiliated with Anthropic. This skill remains the property of its original author.
// install this skill
Paste this command in your terminal at the root of your project:
mkdir -p .claude/commands && curl -o ".claude/commands/multi-workflow.md" "https://raw.githubusercontent.com/affaan-m/ECC/main/commands/multi-workflow.md"
Then in Claude Code, type /multi-workflow to activate it.
open_in_newOpen original source
// save
Save available after sign in.
loginSign in to save
// information
Creatoraffaan-m
Stars 240.5k
LicenseMIT License
UpdatedMay 20, 2026
Format.md
AccessFree
// similar

Skills Automated workflows

View allarrow_forward