skills/interop-router/SKILL.md
Automatically routes tasks to external AI CLIs (Codex or Gemini) when more efficient. No manual commands needed - routing decisions are made automatically based on task type.
npx skillsauth add claude-world/director-mode-lite interop-routerInstall 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.
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
development
Complete 5-step development workflow
tools
Test automation specialist for running tests and ensuring coverage
development
Test-Driven Development (TDD Red-Green-Refactor)
testing
Conventional Commits with quality checks