web-search

web-search is a skill for Claude Code, Codex from JansenAnalytics/claudex. It costs 27 tokens per session (345 once invoked), scanned C, original, MIT.

A tool for searching the web and fetching the contents of web pages. It is intended for finding information, checking facts, reading research, and looking up URLs.

In plain words
What is it for?
Use it to search for sources, retrieve page text, investigate a topic, and fact-check claims.
Why use it?
It saves time when answers depend on current or external information that is not in your project.

Skill for Claude CodeCodex

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

Good fit Use it to search for sources, retrieve page text, investigate a topic, and fact-check claims.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jansenanalytics/claudex/web-search
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 JansenAnalytics/claudex --skill web-search
Clone the repo
git clone --depth 1 https://github.com/JansenAnalytics/claudex

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/jansenanalytics/claudex/web-search/github.svg)](https://agentmods.dev/skills/jansenanalytics/claudex/web-search)
Your own site
<a href="https://agentmods.dev/skills/jansenanalytics/claudex/web-search"><img src="https://agentmods.dev/badge/skills/jansenanalytics/claudex/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/jansenanalytics/claudex/web-search"><img src="https://agentmods.dev/badge/skills/jansenanalytics/claudex/web-search.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 345 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00027 $0.00345
Opus 5 $0.00014 $0.00172
Sonnet 5 $0.00005 $0.00069
Haiku 4.5 $0.00003 $0.00034

Measured 5d ago against content hash 616740b36220, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade C, and why

web-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 5d 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 -s URL | python3 -c "

Makes network callslowCapability

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

curl -s "https://html.duckduckgo.com/html/?q=QUERY" | grep -oP '(?<=<a rel="nofollow" class="result__a" href=").*?(?=")'
skills/web-search/SKILL.md · 46 lines

What it actually says

Web Search & Fetch

Search via DuckDuckGo (no API key needed)

# HTML lite search
curl -s "https://html.duckduckgo.com/html/?q=QUERY" | grep -oP '(?<=<a rel="nofollow" class="result__a" href=").*?(?=")'

Fetch URL content

# Readable text extraction
curl -s URL | python3 -c "
import sys, html
from html.parser import HTMLParser
class T(HTMLParser):
    def __init__(self):
        super().__init__()
        self.text = []
        self.skip = False
    def handle_starttag(self, tag, attrs):
        if tag in ('script','style','nav','header','footer'): self.skip = True
    def handle_endtag(self, tag):
        if tag in ('script','style','nav','header','footer'): self.skip = False
    def handle_data(self, data):
        if not self.skip: self.text.append(data.strip())
t = T()
t.feed(sys.stdin.read())
print('\n'.join(filter(None, t.text))[:5000])
"

Alternative: lynx (if installed)

lynx -dump -nolist URL | head -200

Always summarize findings rather than dumping raw output.

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. 5d ago First seen · 46 lines · 27 tokens per session scan C 616740b36220

Subscribe to this mod's changes

web-search is a skill published in the GitHub repository JansenAnalytics/claudex (5 stars, last pushed 2mo ago), licensed MIT. It adds 27 tokens to every session and 345 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-09-03.