About google-web-search
A web-search skill for retrieving Google Custom Search results, including optional images. It supports research with targeted queries and citation formatting.
Key features
- 01Google Custom Search queries
- 02Optional image results
- 03Citation formatting guidance
Use cases
- 01Finding web pages for research
- 02Searching for exact phrases
- 03Gathering image search results
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ aws-samples/ sample-strands-agent-with-agentcore --skill google-web-searchAfter installing, type/google-web-searchin Claude Code to confirm it loaded.
Details
From the project READMEGoogle Web Search
Available Tools
- google_web_search(query, include_images?): Search the web using Google Custom Search. Returns results with titles, snippets, links, and optional image results.
query(string, required): Search queryinclude_images(boolean, optional, default: true): Include image results alongside web results
Usage Guidelines
- Formulate clear, specific search queries for best results.
- Use quotes for exact phrase matching (e.g.,
"machine learning" best practices 2025). - For comprehensive research, perform multiple targeted searches rather than one broad query.
- Image results are included by default. Set
include_images=falsefor text-only searches.
Citation Format
When presenting information from search results, wrap every specific claim in <cite> tags:
<cite source="SOURCE_TITLE" url="URL">claim text</cite>
Rules:
- Cite factual claims, statistics, quotes, and specific information from search results.
- The
sourceattribute should contain the title or name of the source. - The
urlattribute should contain the source URL when available. - Do NOT cite your own reasoning or general knowledge.
- If search results don't contain relevant information, inform the user rather than guessing.
- Use the minimum number of citations necessary to support claims.
Comments
Markdown supported