Advanced web search plugin using the Gemini CLI in headless mode with google_web_search tool restriction, providing caching, analytics, content extraction, and validation for Claude Code.
FAQ
gemini-search is a Claude Code plugin with 5 hand-picked skills for development work, indexed on Flowy. Install it with the command on its page. It includes github-repo-management, plugin-creator, shell-script-quality. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.
> /plugin marketplace add d-oit/gemini-search-plugin> /plugin install gemini-search@gemini-search-dev
Repo: d-oit/gemini-search-plugin
Advanced web search plugin using the Gemini CLI in headless mode with google_web_search tool restriction, providing caching, analytics, content extraction, and validation for Claude Code.
Important: This plugin uses the Gemini CLI with the google_web_search tool exclusively via headless mode (gemini -p with --yolo flag). It does NOT:
The plugin restricts the Gemini CLI to only use the google_web_search tool through the .gemini/settings.json configuration.
gemini -p with --yolo flag for automated web search.gemini/settings.json limits Gemini to only google_web_search tool/search, /search-stats, /clear-cache/search [query]Perform a web search using multiple search engines with smart caching and result validation.
/search-statsView usage statistics including cache hit rate, top queries, and token savings.
/clear-cacheClear the search result cache and reset analytics data.
~/claude-plugins/gemini-search/
โโโ .claude-plugin/
โ โโโ plugin.json # Plugin metadata
โโโ agents/
โ โโโ gemini-search.md # Subagent (isolated context)
โโโ skills/
โ โโโ web-search-patterns/
โ โโโ SKILL.md # Search best practices
โโโ commands/
โ โโโ search.md # /search command
โ โโโ search-stats.md # /search-stats analytics
โ โโโ clear-cache.md # /clear-cache
โโโ scripts/
โ โโโ search-wrapper.sh # Production wrapper with error handling
โ โโโ analytics.sh # Usage tracking and statistics
โ โโโ extract-content.sh # Dynamic content extraction from websites
โโโ hooks/
โ โโโ hooks.json # Hook config
โ โโโ pre-edit-search.sh # Pre-edit suggestions with validation
โ โโโ error-search.sh # Auto error detection and handling
โโโ README.md # Full documentation
Install Gemini CLI:
npm install -g @google/gemini-cli
Verify Installation:
gemini --version
Configure API Key (optional):
gemini config set apiKey YOUR_GOOGLE_AI_API_KEY
.gemini/settings.json file is automatically used to restrict tools/search [your query] to perform web searches via Gemini/search-stats to monitor usage and cache effectiveness/clear-cache if you need to reset cached resultsThe plugin can be configured through environment variables:
CACHE_TTL: Cache time-to-live in seconds (default: 3600)MAX_RETRIES: Number of retry attempts on failure (default: 3)RETRY_DELAY: Initial delay between retries in seconds (default: 1)BACKOFF_BASE: Exponential backoff base (default: 2)LOG_FILE: Path to main log file (default: /tmp/gemini-search.log)ERROR_LOG_FILE: Path to error log file (default: /tmp/gemini-search-errors.log)SUGGESTIONS_LIMIT: Number of suggestions to generate (default: 5)CONTEXT_WINDOW: Number of previous messages to consider (default: 10)TIMEOUT_SECONDS: Content extraction timeout (default: 15)MAX_CONTENT_SIZE: Maximum content size to process (default: 100000)Performance Metrics:
For detailed benchmarks and optimization strategies, see docs/PERFORMANCE.md
Examples:
/search-stats to see if cache hit rate is improving performance/clear-cache if cached results seem outdatedMIT License - see LICENSE file for details.
.claude/
.claude-plugin/
marketplace.json
plugin.json
settings.local.json
skills/
github-repo-management/
README.md
SKILL.md
plugin-creator/
README.md
resources/
template-agent.md
template-command.md
template-hooks.json
template-marketplace.json
template-plugin.json
template-README.md
template-script.sh
SKILL.md
README.md
shell-script-quality/
BATS.md
CI-CD.md
CONFIG.md
PATTERNS.md
README.md
SHELLCHECK.md
SKILL.md
TROUBLESHOOTING.md
web-research/
README.md
SKILL.md
.gemini/
settings.json
.github/
ISSUE_TEMPLATE/
bug_report.md
feature_request.md
PULL_REQUEST_TEMPLATE.md
workflows/
ci.yml
package.yml
pr-checks.yml
release.yml
.gitignore
.rgignore
agents/
gemini-search.md
CHANGELOG.md
commands/
clear-cache.md
search-stats.md
search.md
CONTRIBUTING.md
docs/
PERFORMANCE.md
VALIDATION.md
examples/
01-basic-searches.md
02-technical-queries.md
03-validation-examples.md
04-advanced-usage.md
README.md
GEMINI.md
hooks/
error-search.sh
hooks.json
pre-edit-search.sh
LICENSE
README.md
scripts/
analytics.sh
common-logging.sh
extract-content.sh
prepare-release.sh
search-wrapper.sh
validate-links.sh
skills/
web-search-patterns/
SKILL.md
tests/
integration_tests.md
run-integration-tests.sh
test-link-validation.shยฉ 2026 Flowy ยท Free and open source
Built for Claude Code ยท Not affiliated with Anthropic