mcpbeat

Gemini Delegation

athola/gemini-delegation

Delegates tasks to Gemini CLI implementing delegation-core for Google's models. Use when delegation-core selects Gemini or 1M+ token context is needed.

1k tokens
context cost
the whole folder, loaded on every use
2
files
instructions only
0
copies elsewhere
how many repositories repackaged it
324
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/athola/claude-night-market --skill gemini-delegation

The instruction itself

11 sections, as written by the author

Table of Contents

  • Overview
  • When to Use
  • Prerequisites
  • Quick Start
  • Gemini-Specific Details

Gemini CLI Delegation

Overview

This skill implements conjure:delegation-core for the Gemini CLI.

It provides Gemini-specific authentication, quota management,

and command construction.

For shared delegation patterns, see Skill(conjure:delegation-core).

When To Use

  • After Skill(conjure:delegation-core) determines Gemini is suitable
  • When you need Gemini's large context window (1M+ tokens)
  • For batch processing, summarization, or pattern extraction tasks
  • If the gemini CLI is installed and authenticated

When NOT To Use

  • Choosing which provider to delegate to (use conjure:delegation-core)
  • Qwen was the selected provider (use conjure:qwen-delegation)

Prerequisites

Installation:

# Verify installation
gemini --version

# Check authentication
gemini auth status

# Login if needed
gemini auth login

# Or set API key
export GEMINI_API_KEY="your-key"

Verification: Run the command with --help flag to verify availability.

Quick Start

Basic Command

# File analysis
gemini -p "@path/to/file Analyze this code"

# Multiple files
gemini -p "@src/**/*.py Summarize these files"

# With specific model
gemini --model gemini-3-pro -p "..."

# JSON output
gemini --output-format json -p "..."

Save Output

gemini -p "..." > delegations/gemini/$(date +%Y%m%d_%H%M%S).md

Gemini-Specific Details

For Gemini-specific models, CLI options, cost reference,

and troubleshooting, see modules/gemini-specifics.md.

Exit Criteria

  • [ ] gemini --version and gemini auth status both exit 0 before any task is delegated;

missing installation or failed authentication is reported and stops execution.

  • [ ] The delegated task output is saved to

delegations/gemini/YYYYMMDD_HHMMSS.md (timestamp format matching the Quick Start example),

and that file exists on disk after the delegation completes.

  • [ ] If conjure:delegation-core selected a different provider (Qwen or local), this skill

is not invoked; Gemini delegation only runs when delegation-core explicitly routes to Gemini.

  • [ ] Tasks requiring > 1M tokens in context are flagged before submission; the skill reports

the estimated token count and confirms it falls within Gemini's supported window.

How to use it

Copy the folder

Take athola/gemini-delegation from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.