Install
$ agentstack add skill-claude-world-director-mode-lite-interop-router ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ● Environment & secrets Used
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
Automatic Routing to External AI CLIs
Auto-trigger: This skill evaluates tasks automatically and decides whether to delegate to an external CLI. No manual invocation needed.
Auto-Trigger Conditions
Automatically evaluate when detecting:
- Large refactoring (10+ files affected)
- Batch file changes
- Template generation tasks
- Multi-model cross-validation needs
Decision Scoring
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
Routing Targets
| 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 |
Process
1. Check CLI Availability
bash "$CLAUDE_PROJECT_DIR/skills/interop-router/scripts/check_cli_available.sh" --json
2. Score the Decision
python3 "$CLAUDE_PROJECT_DIR/skills/interop-router/scripts/score_decision.py" \
--task "task description" \
--files 15 \
--complexity high \
--json
3. Wrap Context (if delegating)
python3 "$CLAUDE_PROJECT_DIR/skills/interop-router/scripts/wrap_context.py" \
--files src/*.py \
--diff \
--output /tmp/context.md
4. Execute with External CLI
# Codex
codex "Your task description" .claude/flags/auto-interop.json
# User-level
mkdir -p ~/.claude/flags
echo '{"enabled": true}' > ~/.claude/flags/auto-interop.json
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: claude-world
- Source: claude-world/director-mode-lite
- License: MIT
- Homepage: https://claude-world.com
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.