Agent skill

Gemini Delegation

by athola in athola/claude-night-market

Delegates tasks to Gemini CLI implementing delegation-core for Google's models.

MITAuto-check passedAgent Workflows

Install Gemini Delegation

skills CLI
$ npx skills add athola/claude-night-market --skill gemini-delegation -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install athola/claude-night-market gemini-delegation --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/athola/claude-night-market.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/conjure/skills/gemini-delegation .claude/skills/gemini-delegation && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
gemini-delegation
GitHub stars
341
Token cost
~870 tokens
SKILL.md length
260 words
Files
2
Skills in repo
152
Repo updated
First seen
Licence
MIT

At a glance

Delegates tasks to Gemini CLI implementing delegation-core for Google's models.

  • Delegation-core selects Gemini
  • SKILL.md covers Overview, When To Use, When NOT To Use and Prerequisites, plus 3 more sections
  • Calls gemini; needs GEMINI_API_KEY
  • 1M+ token context is needed

What it does

Gemini Delegation is an agent skill from athola/claude-night-market. Delegates tasks to Gemini CLI implementing delegation-core for Google's models. Use when delegation-core selects Gemini or 1M+ token context is needed.

Its SKILL.md is about 870 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `modules/gemini-specifics.md`).

It sits in Agent Workflows. It works with Google Gemini and Qwen. The repository describes itself as: 23 Claude Code plugins: TDD enforcement hooks, git/PR workflows, spec-driven development, code review, project lifecycle, fix-from-error, maintenance automation, context… The licence is MIT.

When your agent uses it

  • Delegation-core selects Gemini
  • 1M+ token context is needed

Example prompts

  • “Use the gemini-delegation skill to delegate tasks to Gemini CLI implementing delegation-core for Google's models”
  • “/gemini-delegation”

Requirements

  • A credential in GEMINI_API_KEY

What it can do on your machine

Read from SKILL.md and the folder at commit 9f3eb00. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • gemini

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • GEMINI_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Gemini Delegation loads about 870 tokens when it runs. Until then it costs about 42 tokens; SKILL.md has 260 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~42
When it runs · the whole SKILL.md, loaded when a task matches
~870

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from athola/claude-night-market at commit 9f3eb00, republished under its MIT licence (© athola). 260 words, ~870 tokens.

Download SKILL.mdSave it as .claude/skills/gemini-delegation/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
gemini-delegation
description
Delegates tasks to Gemini CLI implementing delegation-core for Google's models. Use when delegation-core selects Gemini or 1M+ token context is needed.
alwaysApply
false
category
delegation-implementation
tags
gemini, cli, delegation, google, large-context
dependencies
delegation-core
tools
gemini-cli
usage_patterns
gemini-cli-integration, large-context-analysis, batch-processing
complexity
intermediate
model_hint
standard
estimated_tokens
600
progressive_loading
true

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:

bash
# 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
bash
# 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
bash
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 exits 0 before any task is delegated, and a missing installation is reported and stops execution.
  • Authentication is judged from GEMINI_API_KEY and from the delegation's own exit code, never from gemini auth status. That command exits 0 while printing Error authenticating: ProjectIdRequiredError over a credential that cannot be used, so its status is not evidence. delegation-core's shared module states the rule: authentication is never decided by running a provider's own CLI.
  • 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.

© athola, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in plugins/conjure/skills/gemini-delegation of athola/claude-night-market.

  • SKILL.md
  • modules/gemini-specifics.md

Open the folder on GitHubat commit 9f3eb00

Compare with similar skills

Gemini Delegation next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Gemini Delegation compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Gemini Delegation this skillathola/claude-night-market341—~870Automated safety check: PassMIT
Remember Learningsdyad-sh/dyad22k—~1.1kAutomated safety check: PassCustom licence
Deep Reviewdyad-sh/dyad22k—~1.4kAutomated safety check: PassCustom licence
Game Asset Generatorhtdt/godogen7.1k—~2.8kAutomated safety check: PassMIT
AI Image Creatorcentminmod/my-claude-code-setup2.7k—~8.1kAutomated safety check: NotesMIT
Code Reviewtimwuhaotian/the-pair379—~250Automated safety check: PassMIT

Similar skills

  • Remember Learnings

    dyad-sh/dyad

    Review the current session for errors, issues, snags, and hard-won knowledge, then update the rules/ files (or AGENTS.md if no suitable rule file exists) with actionable learnings.

    22k GitHub stars~1.1k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Deep Review

    dyad-sh/dyad

    Deep multi-agent code review run locally — a fleet of parallel finder agents reviews the diff from independent angles, then adversarial verifier agents reproduce each finding before it is reported.

    22k GitHub stars~1.4k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Generates game art from text prompts: PNG images, GLB 3D models, rigged characters, animations and sprites, with background removal.

    7.1k GitHub stars~2.8k tokensUpdated 9 days ago
    Game DevelopmentAuto-check passed
  • AI Image Creator

    centminmod/my-claude-code-setup

    Generate, edit-from-reference, or analyze images with AI via OpenRouter (Gemini, GPT Image, Seedream, Qwen, MAI, Grok, FLUX.2, Recraft, Muse, Riverflow; Cloudflare AI Gateway BYOK).

    2.7k GitHub stars~8.1k tokensUpdated 3 days ago
    Media & CreativeAuto-check: notes
  • Code Review

    timwuhaotian/the-pair

    Comprehensive code review with security and performance checks

    379 GitHub stars~250 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Openrouter Img

    rtadewald/skills

    Generate or edit images via OpenRouter Image API across top models (Nano Banana, GPT Image, FLUX.2, Seedream, Qwen, Grok).

    185 GitHub stars~800 tokensUpdated 12 days ago
    Media & CreativeAuto-check: notes

More from athola/claude-night-market

All 152 skills in this repo
  • Night Market Diagnostics Toolkit

    athola/claude-night-market

    Run and interpret repo diagnostic scripts (ratchets, validators, token stats).

    341 GitHub stars~3.4k tokensUpdated yesterday
    Auto-check passed
  • Skills Eval

    athola/claude-night-market

    Evaluate Claude skill quality through auditing. An agent skill from athola/claude-night-market.

    341 GitHub stars~1.6k tokensUpdated yesterday
    Auto-check passed
  • Agent Teams

    athola/claude-night-market

    Coordinates Claude agent teams via filesystem protocol. An agent skill from athola/claude-night-market.

    341 GitHub stars~2.5k tokensUpdated yesterday
    Auto-check passed
  • Delegation Core

    athola/claude-night-market

    Delegates execution to eight CLIs (Gemini, Qwen, MiniMax, GLM, Muse, Codex, OpenCode, Glimmer).

    341 GitHub stars~2.5k tokensUpdated yesterday
    Auto-check passed
  • Elegant Code

    athola/claude-night-market

    Guide minimal code via a decision ladder with full safety, edge, and negative-case coverage.

    341 GitHub stars~2.1k tokensUpdated yesterday
    Auto-check passed
  • Skill Library Mission

    athola/claude-night-market

    Build a project skill library in .claude/skills/ via discovery, parallel authoring, and review.

    341 GitHub stars~1.6k tokensUpdated yesterday
    Auto-check passed

Categories

Questions about Gemini Delegation

What does Gemini Delegation do?

Delegates tasks to Gemini CLI implementing delegation-core for Google's models. Gemini Delegation is an agent skill from athola/claude-night-market. Delegates tasks to Gemini CLI implementing delegation-core for Google's models.

When should I use Gemini Delegation?

Gemini Delegation fits situations like: delegation-core selects Gemini; 1M+ token context is needed.

How do I install Gemini Delegation in Claude Code?

Run `npx skills add athola/claude-night-market --skill gemini-delegation -a claude-code`. Or copy the skill folder (plugins/conjure/skills/gemini-delegation in athola/claude-night-market) into .claude/skills/gemini-delegation in your project. Claude Code loads it when a task matches its description.

How do I install Gemini Delegation in Codex?

Run `npx skills add athola/claude-night-market --skill gemini-delegation -a codex`. Or copy the skill folder (plugins/conjure/skills/gemini-delegation in athola/claude-night-market) into .agents/skills/gemini-delegation in your project. Codex loads it when a task matches its description.

Can I use Gemini Delegation in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add athola/claude-night-market --skill gemini-delegation -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/gemini-delegation, .gemini/skills/gemini-delegation, .github/skills/gemini-delegation and .opencode/skills/gemini-delegation in your project.

What does Gemini Delegation need to run?

Going by SKILL.md and its folder, Gemini Delegation needs the command-line tools its instructions call (gemini) and credentials named GEMINI_API_KEY. Our summary lists: A credential in GEMINI_API_KEY.

Does Gemini Delegation access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Gemini Delegation safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Gemini Delegation use?

Gemini Delegation is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Gemini Delegation use?

About 870 tokens (SKILL.md is roughly 3.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Gemini Delegation?

Skills that share tags, products or a category with Gemini Delegation: Remember Learnings (dyad-sh/dyad, 22k stars), Deep Review (dyad-sh/dyad, 22k stars), Game Asset Generator (htdt/godogen, 7.1k stars) and AI Image Creator (centminmod/my-claude-code-setup, 2.7k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Gemini Delegation?

athola (a GitHub user) maintains it in athola/claude-night-market, which has 341 GitHub stars. The repository holds 152 skills in this directory. The repository was last updated on October 9, 2026.

Source: athola/claude-night-market on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.