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 skills add espressif/esp-claw --skill cap_router_mgrgit 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_router_mgr)<a href="https://agentmods.dev/skills/espressif/esp-claw/cap_router_mgr"><img src="https://agentmods.dev/badge/skills/espressif/esp-claw/cap_router_mgr.svg" alt="Measured on agentmods" height="20"></a>- NVIDIA SkillSpector pass
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.00022 | $0.02016 |
| Opus 5 | $0.00011 | $0.01008 |
| Sonnet 5 | $0.00004 | $0.00403 |
| Haiku 4.5 | $0.00002 | $0.00202 |
Grade A, and why
cap_router_mgr 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 8d 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 — 176 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Router Rule Management
Use this skill to inspect and modify event router rules through the direct callable capabilities in cap_router_mgr.
When to use
- The task is to list, inspect, add, update, delete, or reload router rules.
- The task is to change router behavior by capability calls, not by editing rule files directly.
- The task requires deciding between
add_router_ruleandupdate_router_rulefor one rule id.
Operating rules
- Use direct router manager capabilities, not console wrappers.
- Prefer changing exactly one rule per turn.
- Treat
rule_jsonas a JSON string, not an embedded object. - After
add_router_ruleorupdate_router_rule, always callget_router_rule. - Use
reload_router_rulesonly when the task explicitly requires disk reload semantics.
Capability contract
list_router_rulesInput:{}Output: JSON array of rule objects.get_router_ruleInput:{"id":"rule_id"}Output: one rule object, or standard error JSON withok=false.add_router_ruleInput:{"rule_json":"{\"id\":\"rule_id\",\"match\":{\"event_type\":\"message\"},\"actions\":[{\"type\":\"drop\"}]}"}. Output:{"action":"add_router_rule","ok":true,"id":"rule_id"}. If the error saysrule id already exists; use update_router_rule, switch toupdate_router_rule.update_router_ruleInput: same shape asadd_router_rule. Output:{"action":"update_router_rule","ok":true,"id":"rule_id"}. If the error saysrule id not found; use add_router_rule, switch toadd_router_rule.delete_router_ruleInput:{"id":"rule_id"}Output:{"action":"delete_router_rule","ok":true,"id":"rule_id"}reload_router_rulesInput:{}Output:{"action":"reload_router_rules","ok":true}
Standard workflow
- Call
list_router_rules. - Check whether the target
idalready exists. - Build one complete replacement rule object.
- Call
add_router_rulefor a new id orupdate_router_rulefor an existing id. - Call
get_router_ruleand verify the stored shape.
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.
- 8d ago First seen · 176 lines · 22 tokens per session scan A 691c31b0048f
cap_router_mgr is a skill published in the GitHub repository espressif/esp-claw (2,095 stars, last pushed 5d ago), licensed Apache-2.0. It adds 22 tokens to every session and 2,016 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…
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…
next-partial-prefetching-adoption
Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…
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…
babysit-pr
Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep…