handoff-gemini

handoff-gemini is a skill for Claude Code from claude-world/director-mode-lite. It costs 71 tokens per session (576 once invoked), scanned A, original, MIT.

A handoff workflow for sending long analysis, research, or large-document tasks to Google Gemini CLI, a command-line assistant with a large context window. It passes context through prompts, file references, or standard input.

In plain words
What is it for?
Use it for large files, document summaries, research, multimodal work, or tasks needing more than 100,000 tokens of context. It runs Gemini non-interactively.
Why use it?
It lets another assistant handle more material than may fit comfortably in the current session while keeping the task instructions explicit.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions Gemini CLI.

Part of the director-mode-lite plugin — 36 skills, 14 agents shipped together

Good fit Use it for large files, document summaries, research, multimodal work, or tasks needing more than 100,000 tokens of context. It runs Gemini non-interactively.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/claude-world/director-mode-lite/handoff-gemini
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add claude-world/director-mode-lite --skill handoff-gemini
Clone the repo
git clone --depth 1 https://github.com/claude-world/director-mode-lite

Made for: Claude Code.

Or install director-mode-lite, the plugin that ships this one along with the rest of its 36 skills, 14 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for handoff-gemini

README.md
[![agentmods](https://agentmods.dev/badge/skills/claude-world/director-mode-lite/handoff-gemini/github.svg)](https://agentmods.dev/skills/claude-world/director-mode-lite/handoff-gemini)
Your own site
<a href="https://agentmods.dev/skills/claude-world/director-mode-lite/handoff-gemini"><img src="https://agentmods.dev/badge/skills/claude-world/director-mode-lite/handoff-gemini/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for handoff-gemini

Your own site · 80×15
<a href="https://agentmods.dev/skills/claude-world/director-mode-lite/handoff-gemini"><img src="https://agentmods.dev/badge/skills/claude-world/director-mode-lite/handoff-gemini.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 576 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00071 $0.00576
Opus 5.5 $0.00028 $0.00230
Sonnet 5.5 $0.00014 $0.00115
Haiku 4.5 $0.00007 $0.00058

Measured 1mo ago against content hash 4eda18555fa6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

handoff-gemini scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/handoff-gemini/SKILL.md · 92 lines

How it starts

The opening of the file, as written. The whole thing — 92 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Handoff to Gemini CLI

Delegate tasks to Google Gemini CLI to save Claude context.


When to Use Gemini

Use Gemini For Keep in Claude
Long document analysis Complex coding
Multimodal tasks Architecture decisions
Research and summarization Multi-step workflows
Large file comprehension Problem 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

Read the full file on GitHub · 92 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 92 lines · 71 tokens per session scan A 4eda18555fa6

Subscribe to this mod's changes

handoff-gemini is a skill published in the GitHub repository claude-world/director-mode-lite (80 stars, last pushed 8d ago), licensed MIT. It adds 71 tokens to every session and 576 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

concise

Concise communication mode. Cuts 60-70% of output tokens while keeping natural, readable English. Drops filler, hedging, and pleasantries but maintains grammar and sentence flow. Elaborate on request -- ask for detail and get it, then auto-return to concise. Use when user says "concise mode", "be concise", "less…

o4f6bgpac3/concise · 92 tokens

session-recap

Document Claude Code sessions by extracting knowledge into cross-referenced documentation. Triggers on "recap the session", "summarize the work", or after significant code changes.

sxhmilyoyo/sundayhao-plugins · 39 tokens

knowledge-bank-lookup

Delegates knowledge bank lookups to Explore subagents with reflections-first strategy that learns from past mistakes. Checks /reflections/ directory before documentation to extract documented failures to avoid and proven approaches to apply. Automatically triggers when user mentions services ([project-a], [project-b]…

sxhmilyoyo/sundayhao-plugins · 94 tokens

kb-ingest

Ingest external sources into the knowledge bank through interactive study or quick filing. Two modes — Quick (summarize → file) and Study (theme-by-theme deep dive with online research and personal notes → multi-layer KB output → optional blog/slack synthesis). Triggers on "ingest this", "study this article", "add to…

sxhmilyoyo/sundayhao-plugins · 152 tokens

kb-lint

Health-check the knowledge bank for orphan documents, stale content, broken WikiLinks, index drift, and missing frontmatter. Generates a severity-graded report. Use this skill whenever the user mentions lint, health check, KB maintenance, stale docs, broken links, orphan pages, missing references, knowledge bank…

sxhmilyoyo/sundayhao-plugins · 103 tokens

session-manager

Set the current session's name, project, tags, or summary on its session note. Use when the user names, tags, or summarizes this session, sets its project, or mentions in passing what this session has been about.

sxhmilyoyo/sundayhao-plugins · 49 tokens