plugins/google-ecosystem/skills/docs-ops/SKILL.md
Manage Gemini CLI documentation lifecycle. Actions: scrape, validate, refresh, rebuild-index, clear-cache.
npx skillsauth add melodic-software/claude-code-plugins docs-opsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Manage the Gemini CLI documentation lifecycle through a single consolidated skill.
| Action | Description |
|--------|-------------|
| scrape | Scrape documentation from geminicli.com llms.txt, then refresh and validate |
| validate | Validate index integrity and detect drift (read-only) |
| refresh | Refresh index from filesystem without scraping |
| rebuild-index | Clear and immediately rebuild the search index |
| clear-cache | Clear the search cache (lazy rebuild on next search) |
Parse $ARGUMENTS to determine the action. The first token is the action keyword. Remaining tokens are passed as options to the action handler.
Scrape all documentation from the configured sources (geminicli.com llms.txt).
python "${CLAUDE_PLUGIN_ROOT}/skills/gemini-cli-docs/scripts/core/scrape_all_sources.py" --parallel --skip-existing
python "${CLAUDE_PLUGIN_ROOT}/skills/gemini-cli-docs/scripts/management/rebuild_index.py"
python "${CLAUDE_PLUGIN_ROOT}/skills/gemini-cli-docs/scripts/management/manage_index.py" verify
Report the results of each step.
Run validation checks on the documentation index without making any modifications.
python "${CLAUDE_PLUGIN_ROOT}/skills/gemini-cli-docs/scripts/management/manage_index.py" verify
python "${CLAUDE_PLUGIN_ROOT}/skills/gemini-cli-docs/scripts/validation/validate_index_vs_docs.py" --summary-only
python "${CLAUDE_PLUGIN_ROOT}/skills/gemini-cli-docs/scripts/management/manage_index.py" count
Report the results of each validation step, highlighting any issues found.
Refresh the local index without re-scraping from the web. Use this when you've manually modified documentation files or need to rebuild the index.
python "${CLAUDE_PLUGIN_ROOT}/skills/gemini-cli-docs/scripts/management/rebuild_index.py"
python "${CLAUDE_PLUGIN_ROOT}/skills/gemini-cli-docs/scripts/management/manage_index.py" verify
python "${CLAUDE_PLUGIN_ROOT}/skills/gemini-cli-docs/scripts/management/manage_index.py" count
Report the results of each step.
Clear and immediately rebuild the gemini-cli-docs search index. This is faster than clear-cache + waiting for next search because it triggers the rebuild immediately.
index.yaml or documentation filesgit pull with documentation changes| Action | Behavior | Search Availability |
|--------|----------|---------------------|
| clear-cache | Clears cache only | Rebuild on next search (lazy) |
| rebuild-index | Clears + rebuilds | Immediate (eager) |
This action clears the Gemini CLI documentation search cache and immediately rebuilds the index.
First, check the current cache state. Report whether the cache exists, is valid, and when it was last built.
Unless the user passed --force, show a rebuild plan with the current cache state and ask for confirmation before proceeding. Explain that rebuilding takes a few seconds and search will be unavailable during the rebuild.
Once confirmed (or if --force was passed):
Report the new index statistics including document count and build time. Confirm that search is now available.
## Index Rebuilt
Successfully rebuilt Gemini CLI documentation search index.
**New index stats:**
- Documents: X
- Build time: Xms
**Search is now available.**
Clear the gemini-cli-docs search cache (inverted index). This forces the index to rebuild on the next documentation search.
index.yaml or documentation filesgit pull with documentation changesCheck if --force flag is present.
force_mode = "--force" in arguments (case-insensitive)
The gemini-cli-docs cache is located at:
${CLAUDE_PLUGIN_ROOT}/skills/gemini-cli-docs/.cache/
Or via installed path:
~/.claude/plugins/cache/<marketplace>/google-ecosystem/<version>/skills/gemini-cli-docs/.cache/
List the cache files:
| File | Purpose |
|------|---------|
| inverted_index.json | Search index |
| cache_version.json | Hash-based validity tracking |
If cache directory doesn't exist or is empty, report: "Cache already clear. Nothing to do."
If NOT force_mode, present the cache clear plan:
## Cache Clear Plan
**Target:** Gemini CLI documentation search index
| File | Size |
|------|------|
| inverted_index.json | X.X MB |
| cache_version.json | 512 bytes |
**Total:** X.X MB
> **Note:** The search index will rebuild automatically on the next documentation search.
> For immediate rebuild, use the `rebuild-index` action after clearing.
**Proceed?** Reply "yes" to continue, or use `--force` to skip this confirmation.
Use the cache_manager.py script to clear:
python "${CLAUDE_PLUGIN_ROOT}/skills/gemini-cli-docs/scripts/utils/cache_manager.py" --clear
Or manually delete the cache files:
rm -f "${CLAUDE_PLUGIN_ROOT}/skills/gemini-cli-docs/.cache/inverted_index.json"
rm -f "${CLAUDE_PLUGIN_ROOT}/skills/gemini-cli-docs/.cache/cache_version.json"
## Cache Cleared
Successfully cleared Gemini CLI documentation search cache.
**Cleared:**
- inverted_index.json
- cache_version.json
**Next steps:**
- Search index will rebuild automatically on next search
- Or use `rebuild-index` action to rebuild immediately
development
Search Milan Jovanovic's .NET blog for Clean Architecture, DDD, CQRS, EF Core, and ASP.NET Core patterns. Use for finding applicable patterns, code examples, and architecture guidance. Invoke when working with .NET projects that could benefit from proven architectural patterns.
tools
Install and configure Data API Builder (DAB) for production SQL Server MCP access with RBAC
tools
Manage MssqlMcp servers - status, rebuild, and upstream updates
tools
Developer environment setup guides for Windows, macOS, Linux, and WSL. Use when setting up development machines, installing tools, configuring environments, or following platform-specific setup guides. Covers package management, shell/terminal, code editors, AI tooling, containerization, databases, and more.