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.
npx claudepluginhub rivit-studio/gir --plugin gir-aiThis skill uses the workspace's default tool permissions.
Offload to save tokens:
Delegates 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.
Provides decision criteria, execution patterns, and handling for delegating tasks from Claude to Gemini CLI. Use for cross-agent optimization, risky commands, or TUI needs.
Share bugs, ideas, or general feedback.
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).