web-search

web-search is a skill for Claude Code, Codex from aws-samples/sample-strands-agent-with-agentcore. It costs 21 tokens per session (620 once invoked), scanned A, original, MIT.

A web search and page-reading service for finding current information, news, and research. It can search DuckDuckGo and extract readable text from web pages.

In plain words
What is it for?
Use it to search for specific topics, retrieve a small set of relevant links, and fetch the text of a chosen web page.
Why use it?
It saves time by finding targeted results and removing navigation and other page clutter when reading a source.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one.

Good fit Use it to search for specific topics, retrieve a small set of relevant links, and fetch the text of a chosen web page.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aws-samples/sample-strands-agent-with-agentcore/web-search
About the project

Sample Strands Agent with Amazon Bedrock AgentCore is an end-to-end reference architecture for building multi-agent chatbots on AWS. Teams use it to explore agent orchestration, tool execution, memory, browser automation, and agent-to-agent collaboration with Strands Agents and Bedrock AgentCore.

aws-samples/sample-strands-agent-with-agentcore · 197 stars · on GitHub

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.

Any agent
npx skills add aws-samples/sample-strands-agent-with-agentcore --skill web-search
Clone the repo
git clone --depth 1 https://github.com/aws-samples/sample-strands-agent-with-agentcore

Made for: Claude Code, Codex.

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 web-search

README.md
[![agentmods](https://agentmods.dev/badge/skills/aws-samples/sample-strands-agent-with-agentcore/web-search/github.svg)](https://agentmods.dev/skills/aws-samples/sample-strands-agent-with-agentcore/web-search)
Your own site
<a href="https://agentmods.dev/skills/aws-samples/sample-strands-agent-with-agentcore/web-search"><img src="https://agentmods.dev/badge/skills/aws-samples/sample-strands-agent-with-agentcore/web-search/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for web-search

Your own site · 80×15
<a href="https://agentmods.dev/skills/aws-samples/sample-strands-agent-with-agentcore/web-search"><img src="https://agentmods.dev/badge/skills/aws-samples/sample-strands-agent-with-agentcore/web-search.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 620 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.1 $0.00021 $0.00620
Opus 5.5 $0.00008 $0.00248
Sonnet 5.5 $0.00004 $0.00124
Haiku 4.5 $0.00002 $0.00062

Measured 1mo ago against content hash 2a33e5bdad97, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

web-search scanned grade A with 0 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 1mo 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

chatbot-app/agentcore/skills/web-search/SKILL.md · 54 lines

How it starts

The opening of the file, as written. The whole thing — 54 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

Parameter Type Default Description
query str (required) Search query string
max_results int 5 Number of results (max 10)

fetch_url_content

Parameter Type Default Description
url str (required) URL to fetch (must start with http:// or https://)
include_html bool False Include raw HTML in response
max_length int 50000 Maximum 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 the relevant sentence or phrase itself 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. The text inside <cite> is displayed as normal prose. Do not write a claim and then repeat it inside a citation. A short answer should remain short after citations are rendered.

Read the full file on GitHub · 54 lines

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. 1mo ago Changed · +4 lines 2a33e5bdad97
  2. 2mo ago First seen · 50 lines · 21 tokens per session scan A 49f6da8a3d2a

Subscribe to this mod's changes

web-search is a skill published in the GitHub repository aws-samples/sample-strands-agent-with-agentcore (197 stars, last pushed 5d ago), licensed MIT. It adds 21 tokens to every session and 620 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

web-search compared with skills from other repositories

web-search next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
web-searchaws-samples/sample-strands-agent-with-agentcoreSkill1975d agoMITA21Claude Code, Codex
mk:agent-browserngocsangyem/MeowKitSkill155d agoMITA114Claude Code
draw-imageai-sns/ai-snsSkill3233mo agoMITA67Claude Code, Codex
governed-postgres-agentaws-samples/sample-pellier-agentic-search-apgSkill12yesterdayMITA54Claude Code, Codex
care-and-returnsaws-samples/sample-pellier-agentic-search-apgSkill12yesterdayMITA29Claude Code, Codex
evidenceaws-samples/sample-pellier-agentic-search-apgSkill12yesterdayMITA38Claude Code, Codex
giftsaws-samples/sample-pellier-agentic-search-apgSkill12yesterdayMITA0Claude Code, Codex