Single source of truth and librarian for ALL Gemini CLI documentation. Manages local documentation storage, scraping, discovery, and resolution. Use when finding, locating, searching, or resolving Gemini CLI documentation; discovering docs by keywords, category, tags, or natural language queries; scraping from llms.txt; managing index metadata (keywords, tags, aliases); or rebuilding index from filesystem. Run scripts to scrape, find, and resolve documentation. Handles doc_id resolution, keyword search, natural language queries, category/tag filtering, alias resolution, llms.txt parsing, markdown subsection extraction for internal use, hash-based drift detection, and comprehensive index maintenance.
View on GitHubmelodic-software/claude-code-plugins
google-ecosystem
January 21, 2026
Select agents to install to:
npx add-skill https://github.com/melodic-software/claude-code-plugins/blob/main/plugins/google-ecosystem/skills/gemini-cli-docs/SKILL.md -a claude-code --skill gemini-cli-docsInstallation paths:
.claude/skills/gemini-cli-docs/# Gemini CLI Documentation Skill ## CRITICAL: Path Doubling Prevention - MANDATORY **ABSOLUTE PROHIBITION: NEVER use `cd` with `&&` in PowerShell when running scripts from this skill.** **The Problem:** If your current working directory is already inside the skill directory, using relative paths causes PowerShell to resolve paths relative to the current directory instead of the repository root, resulting in path doubling. **REQUIRED Solutions (choose one):** 1. **ALWAYS use absolute paths** (recommended) 2. **Use separate commands** (never `cd` with `&&`) 3. **Run from repository root** with relative paths **NEVER DO THIS:** - Chain `cd` with `&&`: `cd <relative-path> && python <script>` causes path doubling - Assume current directory - Use relative paths when current dir is inside skill directory ## CRITICAL: Large File Handling - MANDATORY SCRIPT USAGE ### ABSOLUTE PROHIBITION: NEVER use read_file tool on the index.yaml file The file exceeds context limits and will cause issues. You MUST use scripts. **REQUIRED: ALWAYS use manage_index.py scripts for ANY index.yaml access:** ```bash python scripts/management/manage_index.py count python scripts/management/manage_index.py list python scripts/management/manage_index.py get <doc_id> python scripts/management/manage_index.py verify ``` All scripts automatically handle large files via `index_manager.py`. ## Available Slash Commands This skill provides three slash commands for common workflows: - **`/google-ecosystem:scrape-docs`** - Scrape Gemini CLI documentation from geminicli.com, then refresh index and validate - **`/google-ecosystem:refresh-docs`** - Refresh the local index and metadata without scraping from remote sources - **`/google-ecosystem:validate-docs`** - Validate the index and references for consistency and drift without scraping ## Overview This skill provides automation tooling for Gemini CLI documentation management. It manages: - **Canonical storage** (encapsulated in skill) - Sing