Delegates tasks to Gemini CLI implementing delegation-core for Google's models
---
name: gemini-delegation
description: Delegates tasks to Gemini CLI implementing delegation-core for Google's models
version: 1.9.8
triggers:
- gemini
- cli
- delegation
- google
- large-context
- delegation-core selects Gemini or 1M+ token context is needed
metadata: {"openclaw": {"homepage": "https://github.com/athola/claude-night-market/tree/master/plugins/conjure", "emoji": "\ud83e\udd9e", "requires": {"config": ["night-market.delegation-core"]}}}
source: claude-night-market
source_plugin: conjure
---
> **Night Market Skill** — ported from [claude-night-market/conjure](https://github.com/athola/claude-night-market/tree/master/plugins/conjure). For the full experience with agents, hooks, and commands, install the Claude Code plugin.
## Table of Contents
- [Overview](#overview)
- [When to Use](#when-to-use)
- [Prerequisites](#prerequisites)
- [Quick Start](#quick-start)
- [Gemini-Specific Details](#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
## 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-2.5-pro-exp -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`.
don't have the plugin yet? install it then click "run inline in claude" again.