Back to Skills

gemini-delegation

verified

Gemini CLI delegation workflow implementing delegation-core for Google's Gemini models.

View on GitHub

Marketplace

claude-night-market

athola/claude-night-market

Plugin

conjure

Repository

athola/claude-night-market
137stars

plugins/conjure/skills/gemini-delegation/SKILL.md

Last Verified

January 25, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/athola/claude-night-market/blob/main/plugins/conjure/skills/gemini-delegation/SKILL.md -a claude-code --skill gemini-delegation

Installation paths:

Claude
.claude/skills/gemini-delegation/
Powered by add-skill CLI

Instructions

## Table of Contents

- [Overview](#overview)
- [When to Use](#when-to-use)
- [Prerequisites](#prerequisites)
- [Delegation Flow](#delegation-flow)
- [Quick Start](#quick-start)
- [Basic Command](#basic-command)
- [Save Output](#save-output)
- [Shared Patterns](#shared-patterns)
- [Gemini-Specific Details](#gemini-specific-details)
- [Exit Criteria](#exit-criteria)


# Gemini CLI Delegation

## Overview

This skill implements `conjure:delegation-core` for the Gemini CLI. It provides Gemini-specific authentication, quota management, and command construction using shared patterns.

## 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

## 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.

## Delegation Flow

Implements standard delegation-core flow with Gemini specifics:

1. `gemini-delegation:auth-verified` - Verify Gemini authentication
2. `gemini-delegation:quota-checked` - Check Gemini API quota
3. `gemini-delegation:command-executed` - Execute via Gemini CLI
4. `gemini-delegation:usage-logged` - Log Gemini API usage

## 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-2.5-pro-exp -p "..."

# JSON output
gemini --output-format json -p "..."
```
**Verification:** Run the command with `--help` flag to verify availability.

### Save Output
```bash
gemini -p "..." > delegations/gemini/$(date +%Y%m%d_%H%M%S).md
```
**Verification:** Run the command with `--help` flag 

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
2725 chars