AgentSkillsCN

using-gemini

当需要分析图像(截图、示意图、照片)、解析视频(屏幕录制、录像)、总结 YouTube 视频、抓取并分析网页内容,或借助 Google 进行网络搜索时使用。Gemini CLI 具备多模态处理与网页访问能力,而 Claude 本身并不原生支持这些功能。请勿将此技能用于 Claude 可直接处理的任务(如文本分析、代码审查、读取文本文件)。

SKILL.md
--- frontmatter
name: using-gemini
description: Use when needing to analyze images (screenshots, diagrams, photos), analyze videos (screencasts, recordings), summarize YouTube videos, fetch and analyze web content, or perform web searches with Google. Gemini CLI provides multimodal and web access capabilities Claude lacks natively. Do NOT use for tasks Claude can handle directly (text analysis, code review, file reading of text files).

Using Gemini CLI

Gemini CLI extends Claude's capabilities with multimodal and web access features. Use it for tasks Claude cannot do natively: analyzing images, analyzing videos, accessing YouTube content, fetching web pages, and searching the web with Google.

Base Command Syntax

bash
gemini --allowed-mcp-server-names "" [other-flags] "Your prompt here"

Always use --allowed-mcp-server-names "" to disable MCP servers for faster startup.

Controlling Detail Level

Control the detail level of Gemini's responses through your prompt wording:

  • For comprehensive analysis: Add "in detail" to your prompt
  • For quick summaries: Use "briefly" in your prompt

Note: Each use case may have specific wording requirements. Check the reference file for use-case-specific guidance on prompt wording.

Use Cases

Read the specific reference file for the action you need to perform. Each reference contains the exact command patterns, flags, and examples for that use case.

Image Analysis

When: Analyze screenshots, diagrams, photos, or extract text from images Read: references/image-analysis.md

Video Analysis

When: Analyze local video files (screencasts, recordings, demos) Read: references/video-analysis.md

YouTube Videos

When: Summarize YouTube videos, extract information, or get key points Read: references/youtube.md

Web Fetch

When: Fetch and analyze content from any URL (articles, documentation, pages) Read: references/web-fetch.md

Web Search

When: Search Google for current information or documentation Read: references/web-search.md