本文へ移動
cccskills
無料GitHub で公開

handoff-gemini

Delegate long-context analysis, research, and large-document summarization to Google Gemini CLI (1M-token context) via non-interactive `gemini -p`, preserving Claude context. Use when the user says 'use gemini'/'hand off to gemini' or a task needs 100K+ tokens of context.

インストール方法を見る

含まれるファイル(1)

  • SKILL.md2.3 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Handoff to Gemini CLI

Delegate tasks to Google Gemini CLI to save Claude context.


When to Use Gemini

Use Gemini ForKeep in Claude
Long document analysisComplex coding
Multimodal tasksArchitecture decisions
Research and summarizationMulti-step workflows
Large file comprehensionProblem analysis

Prerequisites

# Install Gemini CLI (Google)
npm install -g @google/gemini-cli
# Or via: https://github.com/google-gemini/gemini-cli

Handoff Process

1. Prepare Context

## Task for Gemini
**Goal**: [What needs to be done]
**Files**: [Which files to analyze]
**Output**: [What format to return]

2. Generate Command

Pass the prompt with -p (non-interactive). Reference files or directories inline with @<path>, or pipe content via stdin. There is no -f flag.

# Analyze a directory (@ reads it recursively)
gemini -p "Summarize the components in @src/"

# Research task (no file context)
gemini -p "Research best practices for [topic]"

# Document analysis (single file via @)
gemini -p "Extract key points from @docs/spec.md"

# Large or generated context via stdin
cat docs/spec.md | gemini -p "Extract key points"

Note: A src/**/*.ts-style glob only expands if the shell has globstar enabled (shopt -s globstar in bash). Prefer a directory reference like @src/, which Gemini reads recursively without relying on shell globbing.

3. Provide Instructions

  • Why Gemini is suitable
  • Expected output
  • How to continue workflow

Example

## Task: Research API Best Practices

**Command:**
gemini -p "Research REST API versioning strategies. Summarize pros/cons."

**After:**
- Review research
- Share relevant findings
- Implement chosen strategy

Benefits

  • Token Savings: Research tasks don't consume Claude context
  • Long Context: Handles very large documents
  • Specialization: Use each AI's strengths

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Validate custom agent file format and structure. Use after creating or editing an agent, before committing agent changes, or when an agent fails to load.

日本語の概要は準備中です。原文の説明を表示しています。

claude-world/director-mode-lite802026年8月31日 更新

Generate custom agent from template. Use when creating a new subagent from scratch, or scaffolding an agent file with correct frontmatter.

日本語の概要は準備中です。原文の説明を表示しています。

claude-world/director-mode-lite802026年8月31日 更新

agents

無料

List all available agents (core, expert, self-evolving). Use when the user asks what agents are available or runs /agents.

日本語の概要は準備中です。原文の説明を表示しています。

claude-world/director-mode-lite802026年8月31日 更新

auto-loop

無料

TDD-based autonomous development loop with checkpoint recovery and observability changelog

日本語の概要は準備中です。原文の説明を表示しています。

claude-world/director-mode-lite802026年8月31日 更新

changelog

無料

View and manage the runtime changelog for observability

日本語の概要は準備中です。原文の説明を表示しています。

claude-world/director-mode-lite802026年8月31日 更新

Track development session events in a daily markdown changelog, including file changes, test results, and key decisions.

日本語の概要は準備中です。原文の説明を表示しています。

claude-world/director-mode-lite802026年8月31日 更新

claude-world のスキルをすべて見る

このスキルの問題を報告する