跳到主要内容
知仓学习社ZHICANG

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 need…

不碰外部(只输出文字)无严重或高危命中athola/claude-night-market

它会碰到什么

扫了多少2 个文本文件,5 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

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

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

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。