Agent skill · AI & Agents

google-gemini-file-search

Google Gemini File Search for managed RAG with 100+ file formats. Use for document Q&A, knowledge bases, or encountering immutability errors, quota issues, polling failures. Supports Gemini 3 Pro/Flash (Gemini 2.5 legacy).

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill google-gemini-file-search-secondsky-claude-skills --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 10 KB
Bundled scripts: none
Version: 2.0.0
Path: skills/ai-llm/google-gemini-file-search-secondsky-claude-skills/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Google Gemini File Search **Status**: Production Ready | **Last Verified**: 2025-11-18 --- ## What Is File Search? Google Gemini File Search is **fully managed RAG** (Retrieval-Augmented Generation): - Upload documents → Automatic chunking + embeddings + vector search + citations - **No vector database setup** required - **100+ file formats** supported (PDF, Word, Excel, code, Markdown, JSON, etc.) - **Built-in grounding** with citation metadata - **Cost-effective**: $0.15/1M tokens (one-time indexing), free storage + queries **Key difference from other RAG:** - Cloudflare Vectorize: You manage chunking/embeddings - OpenAI Files API: Tied to Assistants API threads - File Search: Fully managed, standalone RAG --- ## Quick Start (5 Minutes) ### 1. Get API Key & Install Get API key: https://aistudio.google.com/apikey (Free tier: 1 GB storage, 1,500 requests/day) ```bash bun add @google/genai ``` **Version:** 0.21.0+ | **Node.js:** 18+ ### 2. Basic Example ```typescript import { GoogleGenerativeAI } from '@google/genai'; import fs from 'fs'; const ai = new GoogleGenerativeAI(process.env.GOOGLE_AI_API_KEY); // Create store const fileStore = await ai.fileSearchStores.create({ config: {

What's inside
Steps it walks through
  1. What Is File Search?
  2. Quick Start (5 Minutes)
  3. 1. Get API Key & Install
  4. 2. Basic Example
  5. Critical Rules
  6. Always Do
  7. Never Do
  8. Top 3 Errors Prevented
  9. Error 1: Document Immutability
  10. Error 2: Storage Quota Exceeded
  11. Error 3: Model Compatibility
  12. When to Use File Search
  13. Use File Search When:
  14. Use Alternatives When:
Ships with 1 file
  • metadata.json
Commands it runs
bun add @google/genai
More from claude-skill-registry
All skills →
About this skill
What does the google-gemini-file-search skill do?

Google Gemini File Search for managed RAG with 100+ file formats. Use for document Q&A, knowledge bases, or encountering immutability errors, quota issues, polling failures. Supports Gemini 3 Pro/Flash (Gemini 2.5 legacy).

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill google-gemini-file-search-secondsky-claude-skills --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going