plan_mode

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

A planning mode for requests that cannot be completed with the available tools, skills, or system setup. It returns a practical plan instead of carrying out the unavailable work.

In plain words
What is it for?
Use it to plan work that needs a new tool, skill, file, hardware detail, network permission, schedule, or other unavailable resource.
Why use it?
It clarifies what is missing and prevents unsupported claims that a file, device, network action, or configuration change was completed.

Skill for Claude CodeCodex

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

Good fit Use it to plan work that needs a new tool, skill, file, hardware detail, network permission, schedule, or other unavailable resource.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/espressif/esp-claw/plan_mode
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,441 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.

Any agent
npx skills add espressif/esp-claw --skill plan_mode
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 plan_mode

README.md
[![agentmods](https://agentmods.dev/badge/skills/espressif/esp-claw/plan_mode/github.svg)](https://agentmods.dev/skills/espressif/esp-claw/plan_mode)
Your own site
<a href="https://agentmods.dev/skills/espressif/esp-claw/plan_mode"><img src="https://agentmods.dev/badge/skills/espressif/esp-claw/plan_mode/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 plan_mode

Your own site · 80×15
<a href="https://agentmods.dev/skills/espressif/esp-claw/plan_mode"><img src="https://agentmods.dev/badge/skills/espressif/esp-claw/plan_mode.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,175 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.00039 $0.01175
Opus 5.5 $0.00016 $0.00470
Sonnet 5.5 $0.00008 $0.00235
Haiku 4.5 $0.00004 $0.00118

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

Security

Grade A, and why

plan_mode 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.

application/edge_agent/fatfs_image/storage/skills/plan_mode/SKILL.md · 106 lines

How it starts

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

Plan Mode

Use this skill when the user gives a request that cannot be directly completed with the currently available Skills, Tools, hardware capabilities, firmware configuration, network state, storage state, or known parameters.

The purpose of Plan Mode is to return an executable plan. Do not fail without explanation, and do not claim that a physical action, network action, file write, configuration change, scheduled task, or hardware control has happened unless a tool actually performed it successfully.

Trigger Conditions

Use Plan Mode in these cases:

  • The current Skills or Tools are not enough to complete the user's goal directly.
  • The request requires a new Skill, Tool, Lua script, router rule, scheduler rule, file, or firmware configuration.
  • The user must provide key parameters such as GPIO, target address, trigger condition, save path, execution frequency, retry policy, or network permission.
  • The request involves hardware, peripherals, network, files, screen, sensors, actuators, power control, door locks, motors, relays, or similar resources, but current capabilities or hardware information are insufficient.
  • The current firmware configuration, RAM, Flash, PSRAM, filesystem, Wi-Fi, BLE, camera, display, audio, GPIO, ADC, PWM, time sync, network, or available storage may be insufficient.

Required Capability Assessment

Before writing the Plan Mode response, call assess_agent_capabilities.

If the request involves concrete onboard hardware, external hardware, occupied GPIOs, sensors, actuators, display, audio, camera, or power control, also activate and read board_hardware_info when it is present in the Skills List. If that skill is not present, explicitly state that the board hardware inventory is unknown.

If the request depends on live network state, Wi-Fi state, system state, time sync, or storage state, call get_system_info or get_wifi_info as needed.

Plan Mode Response Structure

Reply with the following structure. Keep it concise and executable.

Read the full file on GitHub · 106 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 · -1 lines 6c6c90abfb63
  2. 3mo ago First seen · 107 lines · 39 tokens per session scan A d27cee5a65ff

Subscribe to this mod's changes

plan_mode is a skill published in the GitHub repository espressif/esp-claw (2,441 stars, last pushed 22d ago), licensed Apache-2.0. It adds 39 tokens to every session and 1,175 once invoked, about $0.0002 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

plan_mode compared with skills from other repositories

plan_mode next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
plan_modeespressif/esp-clawSkill2.4k22d agoApache-2.0A39Claude Code, Codex
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82ktodayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15ktodayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill333k6d agoMITA21Claude Code