cap_web_search

cap_web_search is a skill for Claude Code, Codex from espressif/esp-claw. It costs 20 tokens per session (691 once invoked), scanned A, original, Apache-2.0.

A tool for searching the public web for current information, using a configured search provider.

In plain words
What is it for?
It helps find news, documentation, companies, products, articles, and other web sources through a short search query.
Why use it?
It reduces the risk of relying on outdated memory when a task needs recent facts, sources, or links.

Skill for Claude CodeCodex

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

About the project

ESP-Claw is an AI agent framework that runs on Espressif IoT chips and lets people define device behavior through conversation. It handles local sensing, decision-making, and execution for connected devices, with support for event-driven actions, structured memory, and MCP communication.

espressif/esp-claw · 2,091 stars · on GitHub · esp-claw.com

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 skills/espressif/esp-claw/cap_web_search
Any agent
npx skills add espressif/esp-claw --skill cap_web_search
Clone the repo
git clone --depth 1 https://github.com/espressif/esp-claw

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 cap_web_search

README.md
[![agentmods](https://agentmods.dev/badge/skills/espressif/esp-claw/cap_web_search.svg)](https://agentmods.dev/skills/espressif/esp-claw/cap_web_search)
Your own site
<a href="https://agentmods.dev/skills/espressif/esp-claw/cap_web_search"><img src="https://agentmods.dev/badge/skills/espressif/esp-claw/cap_web_search.svg" alt="Measured on agentmods" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 691 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.1 $0.00020 $0.00691
Opus 5 $0.00010 $0.00345
Sonnet 5 $0.00004 $0.00138
Haiku 4.5 $0.00002 $0.00069

Measured 6d ago against content hash b4eb74c93940, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

cap_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 6d 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.

components/claw_capabilities/cap_web_search/skills/cap_web_search/SKILL.md · 99 lines

How it starts

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

Use this skill when the user needs current public web information that should be fetched through the built-in search capability instead of answered from memory.

When to use

  • The user asks for current news, recent developments, live information, or up-to-date facts.
  • The user asks to search the web for a topic, company, product, documentation page, or article.
  • The task needs a few likely sources or result links before summarizing.
  • The answer would be risky if guessed from stale model knowledge.

Available capability

  • web_search: search the web with the configured provider and return concise formatted results.

Provider behavior

  • The runtime prefers Tavily when a Tavily API key is configured.
  • If Tavily is not configured but Brave Search is configured, it falls back to Brave.
  • If neither provider key is configured, the capability returns an error instead of search results.

Calling rules

  • Call web_search directly. Do not route web search through CLI wrappers unless the user explicitly asks for console commands.
  • Input must be a JSON object with one required field:
{
  "query": "your search query"
}
  • Keep queries short and concrete. Prefer one clear search intent per call.
  • If the user asks a compound question, split it into separate searches when needed instead of cramming everything into one long query.
  • Use search when freshness matters. Do not use it for stable facts that can be answered locally.

Output shape

  • The capability returns plain text, not structured JSON.
  • Results are formatted as a short numbered list.
  • Each item typically contains:
    • title
    • URL
    • short snippet/content
  • If no result is found, the output is No web results found.
  • Common error strings include:
    • Error: no search provider credentials configured
    • Error: invalid input JSON
    • Error: missing query
    • Error: search request failed (...)
    • Error: failed to parse search results
  1. Decide whether the user needs fresh web information or a normal answer.
  2. Write one focused query.
  3. Call web_search.
  4. Read the returned snippets and URLs.
  5. Summarize the findings for the user and mention uncertainty when the results are weak or mixed.

Read the full file on GitHub · 99 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. 6d ago First seen · 99 lines · 20 tokens per session scan A b4eb74c93940

Subscribe to this mod's changes

cap_web_search is a skill published in the GitHub repository espressif/esp-claw (2,091 stars, last pushed 3d ago), licensed Apache-2.0. It adds 20 tokens to every session and 691 once invoked, about $0.0001 per session on Opus 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

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens