agentleFS
morixxfoxdatamorixxfoxdata/claude-code-template/.claude/skills/gemini-system/SKILL.md

gemini-system

Skill0 starsChanged 9 months agoMITView on GitHub

Gemini CLI leverages 1M context for three roles: codebase analysis, external research (Google Search grounding), and multimodal file reading. MUST use when PDF, video, audio, or image files need content extraction. Also use for large-scale codebase understanding and external research/survey. Auto-triggers: file extensions .pdf, .mp4, .mov, .mp3, .wav, .m4a. Planning/design → use Codex instead.

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use Gemini's 1M context to analyze the entire project (when Claude's 200K is insufficient).

    line 24
  2. Distinctive:

    Use Gemini's Google Search grounding to research the latest information.

    line 36
  3. Distinctive:

    When multimodal files appear in a task, automatically pass them to Gemini without waiting for user instructions.

    line 78
  4. Distinctive:

    Ask Gemini in English

    line 112

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Gemini System — Analysis, Research & Multimodal

Gemini CLI leverages 1M context for large-scale analysis, research, and multimodal file reading.

Detailed rules: .claude/rules/gemini-delegation.md

Three Roles of Gemini

1. Codebase and Repository Understanding

Use Gemini's 1M context to analyze the entire project (when Claude's 200K is insufficient).

# Analyze project structure
gemini -p "Analyze this codebase: directory structure, key modules, patterns, dependencies, and architecture" 2>/dev/null

# Detailed analysis of specific files
gemini -p "Analyze this code: purpose, patterns, dependencies" < /path/to/file 2>/dev/null

2. External Research and Surveys

Use Gemini's Google Search grounding to research the latest information.

# Library research
gemini -p "Research: {library}. Latest version, features, constraints, best practices, pitfalls" 2>/dev/null

# Best practices research
gemini -p "Research best practices for {topic}. Latest recommendations, patterns, anti-patterns" 2>/dev/null

# Technology comparison
gemini -p "Compare {A} vs {B} for {use case}. Pros, cons, performance, community" 2>/dev/null

3. Multimodal File Reading

Extract content from PDF, video, audio, and image files.

# PDF
gemini -p "Extract: {what to extract}" < /path/to/file.pdf 2>/dev/null

# Video
gemini -p "Summarize: key concepts, timestamps" < /path/to/video.mp4 2>/dev/null

# Audio
gemini -p "Transcribe and summarize: decisions, action items" < /path/to/audio.mp3 2>/dev/null

# Image (diagrams, charts)
gemini -p "Analyze: components, relationships, data flow" < /path/to/diagram.png 2>/dev/null
TargetExtensions
PDF.pdf
Video.mp4, .mov, .avi, .mkv, .webm
Audio.mp3, .wav, .m4a, .flac, .ogg
Images (advanced analysis).png, .jpg, .jpeg, .gif, .webp, .svg

Simple screenshot inspection can be done directly with Claude's Read tool.

Auto-Trigger

When multimodal files appear in a task, automatically pass them to Gemini without waiting for user instructions.

When NOT to Use Gemini

TaskCorrect Owner
Design and planningCodex
DebuggingCodex
Code implementationClaude / Subagents

How to Use

Subagent Pattern (for large outputs)

Task tool parameters:
- subagent_type: "gemini-explore"
- prompt: |
    {task description}

    gemini -p "{prompt}" 2>/dev/null

    Save results to .claude/docs/research/{topic}.md
    Return CONCISE summary (5-7 bullet points).

Direct Call (for short extractions)

gemini -p "{what to extract/research}" 2>/dev/null

Language Protocol

  1. Ask Gemini in English
  2. Receive response in English
  3. Report to user in the user's language

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.