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.
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.
npx agentmods add skills/espressif/esp-claw/cap_web_searchnpx skills add espressif/esp-claw --skill cap_web_searchgit clone --depth 1 https://github.com/espressif/esp-clawWrote 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.
[](https://agentmods.dev/skills/espressif/esp-claw/cap_web_search)<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>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.
| Model | Per session | Once 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 |
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.
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.
Web Search
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
Tavilywhen 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_searchdirectly. 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 configuredError: invalid input JSONError: missing queryError: search request failed (...)Error: failed to parse search results
Recommended workflow
- Decide whether the user needs fresh web information or a normal answer.
- Write one focused query.
- Call
web_search. - Read the returned snippets and URLs.
- Summarize the findings for the user and mention uncertainty when the results are weak or mixed.
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.
- 6d ago First seen · 99 lines · 20 tokens per session scan A b4eb74c93940
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.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
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…
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…
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.
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…
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…