From director-mode-lite
Automatically routes tasks to external AI CLIs (Codex or Gemini) for large refactors (10+ files), batch changes, template generation, and complex analysis when scoring indicates efficiency.
npx claudepluginhub claude-world/director-mode-liteThis skill is limited to using the following tools:
**Auto-trigger**: This skill evaluates tasks automatically and decides whether to delegate to an external CLI. No manual invocation needed.
Delegates code implementation and review tasks to external AI CLI tools (OpenAI Codex CLI, Google Gemini CLI) with cross-model adversarial review for cost savings.
Delegates repetitive multi-file coding tasks like batch edits, boilerplate generation, large refactors, and test scaffolding to Codex CLI under Claude supervision.
Routes agent roles to optimal AI models: Claude for planning/orchestration, Codex for code writing, Gemini for design/UI. Triggers on /multi-ai-run or model routing requests.
Share bugs, ideas, or general feedback.
Auto-trigger: This skill evaluates tasks automatically and decides whether to delegate to an external CLI. No manual invocation needed.
Automatically evaluate when detecting:
Calculate delegation score using 3 factors:
| Factor | Range | Description |
|---|---|---|
| Benefit | 0.0 - 0.6 | Can external CLI produce faster/more reliable results? |
| Cost | -0.3 - 0.0 | Overhead of wrapping, normalizing, reviewing |
| Risk | -0.3 - 0.0 | Permission/write/secret leakage risks |
Threshold: Score >= 0.15 with auto-interop enabled -> auto-execute delegation
| Task Type | Target CLI | Reason |
|---|---|---|
| Large codebase exploration | Gemini | 1M token context |
| Batch implementation | Codex | Fast bulk generation |
| Complex architecture analysis | Gemini | Deep reasoning |
| Template generation | Codex | Efficient structured output |
bash "$CLAUDE_PROJECT_DIR/skills/interop-router/scripts/check_cli_available.sh" --json
python3 "$CLAUDE_PROJECT_DIR/skills/interop-router/scripts/score_decision.py" \
--task "task description" \
--files 15 \
--complexity high \
--json
python3 "$CLAUDE_PROJECT_DIR/skills/interop-router/scripts/wrap_context.py" \
--files src/*.py \
--diff \
--output /tmp/context.md
# Codex
codex "Your task description" < /tmp/context.md
# Gemini
gemini "Your task description" -f /tmp/context.md
Enable auto-interop:
# Project-level (takes precedence)
mkdir -p .claude/flags
echo '{"enabled": true}' > .claude/flags/auto-interop.json
# User-level
mkdir -p ~/.claude/flags
echo '{"enabled": true}' > ~/.claude/flags/auto-interop.json