search

search is a command for coding agents from signalcompose/claude-tools. It costs 10 tokens per session (408 once invoked), scanned C, original, MIT.

A command that searches the web through Google's Antigravity command-line tool, formerly called Gemini CLI. It returns search results for a query.

In plain words
What is it for?
Use it to find documentation, investigate technical questions, and gather current sources or URLs.
Why use it?
It lets you look up current information from the command line instead of switching to a browser. The results still need to be checked and summarized.

Command

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the ask-gemini plugin — 1 skill, 1 command shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/signalcompose/claude-tools/search
Clone the repo
git clone --depth 1 https://github.com/signalcompose/claude-tools

Or install ask-gemini, the plugin that ships this one along with the rest of its 1 skill, 1 command.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for search

README.md
[![agentmods](https://agentmods.dev/badge/commands/signalcompose/claude-tools/search.svg)](https://agentmods.dev/commands/signalcompose/claude-tools/search)
Your own site
<a href="https://agentmods.dev/commands/signalcompose/claude-tools/search"><img src="https://agentmods.dev/badge/commands/signalcompose/claude-tools/search.svg" alt="Measured on agentmods" height="20"></a>
Per session 10 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 408 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00010 $0.00408
Opus 5 $0.00005 $0.00204
Sonnet 5 $0.00002 $0.00082
Haiku 4.5 $0.00001 $0.00041

Measured 3d ago against content hash 013ec0e99c1e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

search scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -fsSL https://antigravity.google/cli/install.sh | bash

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -fsSL https://antigravity.google/cli/install.sh | bash
plugins/ask-gemini/commands/search.md · 52 lines

What it actually says

Web Search via Antigravity CLI (agy)

Execute a web search using Google Antigravity CLI (agy), the successor to the Gemini CLI.

Step 1: Check Prerequisites

First, verify Antigravity CLI (agy) is installed and signed in:

${CLAUDE_PLUGIN_ROOT}/scripts/check-gemini.sh

If the check fails, guide the user through installation:

curl -fsSL https://antigravity.google/cli/install.sh | bash
agy   # one-time browser sign-in

IMPORTANT: Antigravity CLI requires write access to configuration and cache directories (under ~/.gemini/antigravity-cli/) that are blocked by Claude Code's sandbox. You MUST use dangerouslyDisableSandbox: true when executing this script. Without this, agy will fail with shell command errors.

Run the search with the provided query:

${CLAUDE_PLUGIN_ROOT}/scripts/gemini-search.sh "$ARGUMENTS"

When calling the Bash tool, set dangerouslyDisableSandbox: true to allow configuration file operations.

Step 3: Summarize Results

After receiving search results:

  1. Extract key findings relevant to the query
  2. Note any important sources or URLs
  3. Highlight the most current/relevant information
  4. Present a clear summary to the user

Error Handling

  • agy not installed: Provide installation instructions (curl -fsSL https://antigravity.google/cli/install.sh | bash)
  • Not signed in: Guide user to run agy once for browser sign-in
  • Legacy Gemini CLI only: Migrate to agy; optionally agy plugin import gemini
  • Timeout: Suggest retrying with a more specific query
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 52 lines · 10 tokens per session scan C 013ec0e99c1e

Subscribe to this mod's changes

search is a command published in the GitHub repository signalcompose/claude-tools (4 stars, last pushed 7d ago), licensed MIT. It adds 10 tokens to every session and 408 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.