Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
aws-samples avatar

Web Search

  • 62 installs
  • 186 repo stars
  • Updated August 4, 2026
  • aws-samples/sample-strands-agent-with-agentcore

Web Search is a Claude Code skill that gives an AI agent ddg_web_search and fetch_url_content tools to search the web and read page content for research.

About

This skill gives an AI agent two tools: a DuckDuckGo web search and a URL content fetcher that strips HTML boilerplate. A developer adds it to a Strands agent so the model can pull current information, news, and research from the web. It also defines a cite-tag format so the agent attributes factual claims to their sources.

  • Adds ddg_web_search and fetch_url_content tools to an agent
  • Searches DuckDuckGo and extracts clean text from any URL
  • Includes a cite-tag citation format for factual claims

Web Search by the numbers

  • 62 all-time installs (skills.sh)
  • Ranked #6,256 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
At a glance

web-search capabilities & compatibility

Capabilities
web search · web scraping
Use cases
web search · web scraping · research
From the docs

What web-search says it does

Search the web and fetch content from URLs for current information, news, and research topics.
SKILL.md
fetch_url_content automatically strips navigation, scripts, and boilerplate HTML
SKILL.md
npx skills add https://github.com/aws-samples/sample-strands-agent-with-agentcore --skill web-search

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs62
repo stars186
Last updatedAugust 4, 2026
Repositoryaws-samples/sample-strands-agent-with-agentcore

What it does

Let an agent search DuckDuckGo and fetch clean page text for current information and research.

Who is it for?

Agents that need current information, news, or research pulled from live web pages with source citations.

When should I use this skill?

The user needs current information, news, or research that requires searching the web or reading a URL.

By the numbers

  • 2 tools (ddg_web_search, fetch_url_content)
  • up to 10 results per search
  • default 50000-character fetch length

Files

SKILL.mdMarkdownGitHub ↗

Web Search

Available Tools

  • ddg_web_search(query, max_results=5): Search DuckDuckGo and return results with title, snippet, and link.
  • fetch_url_content(url, include_html=False, max_length=50000): Fetch a URL and extract clean text content.

Parameters

ddg_web_search

ParameterTypeDefaultDescription
querystr(required)Search query string
max_resultsint5Number of results (max 10)

fetch_url_content

ParameterTypeDefaultDescription
urlstr(required)URL to fetch (must start with http:// or https://)
include_htmlboolFalseInclude raw HTML in response
max_lengthint50000Maximum character length of extracted text

Usage Guidelines

  • Use specific, targeted search queries for best results
  • Set max_results to 3-5 for focused searches, up to 10 for broad research
  • Use fetch_url_content to read full page content from search result links
  • Break complex research into multiple targeted queries rather than one broad query
  • fetch_url_content automatically strips navigation, scripts, and boilerplate HTML
  • Reduce max_length for quick summaries or when you only need the beginning of a page

Citation Format

When presenting information from search results or fetched pages, 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 source attribute should contain the title or name of the source.
  • The url attribute 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.

Related skills

FAQ

What search engine does this skill use?

It searches DuckDuckGo via ddg_web_search and returns title, snippet, and link for each result.

How does it read a full page?

fetch_url_content fetches a URL and extracts clean text, automatically stripping navigation, scripts, and boilerplate HTML.

AI & Agent Buildingagentsresearch

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.