From gir-ai
AI tool delegation patterns — Gemini-CLI, Codex, and other external AI tools. Apply when delegating tasks to external AI tools to save tokens.
How this skill is triggered — by the user, by Claude, or both
Slash command
/gir-ai:ai-delegationThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Offload to save tokens:
Offload to save tokens:
DELEGATE: File analysis (>200 lines), code review, test gen, refactoring, regex, boilerplate, data transforms, explaining code
KEEP IN MAIN: Quick edits (<50 lines), direct Q&A, architecture decisions, final implementations
Additional AI delegation targets can be configured here as they become available (e.g., Codex, other CLI-based AI tools).
npx claudepluginhub rivit-studio/gir --plugin gir-aiDelegates code tasks to Gemini CLI for large-context (1M+ tokens) analysis and batch processing after delegation-core selects Gemini models. Handles auth, quota checks, execution, and logging.
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.
Delegates batch edits, boilerplate, multi-file refactors, and test scaffolding from Claude to Codex CLI to save tokens on mechanical work.