What problem does it solve? Developing firmware for Espressif's ESP-Claw edge-agent framework requires deep knowledge of its capability system, Lua module registration order, event-router rules, NVS configuration precedence, and board adaptation workflow, and mistakes in any of these cause silent runtime failures that are hard to diagnose. ## Core Features & Use Cases - Scenario Recipes: Step-by-step guides for building and flashing edge_agent with ESP-IDF v5.5.4 and Board Manager, adapting new boards, implementing cap_* capabilities, writing Lua modules, authoring router_rules.json automation, scheduling tasks, and integrating IM platforms end to end. - Grounded API and Config Reference: Real C structs and function signatures for claw_cap, claw_core, claw_event_router, claw_memory, and cap_mcp_server, plus Kconfig symbols and NVS runtime fields, all sourced from the actual esp-claw repository. - Pitfall Prevention: 15 critical wrong-versus-correct patterns covering Lua registration locking, path layering with {CUR_SKILL_DIR}, asynchronous out_message routing, and NVS-over-menuconfig precedence. - Use Case: A developer wants Telegram messages to reach the on-device LLM agent and receive replies; the Skill walks them through credential setup, the seven real IM router rules, and the required out_message-to-send_message loop, then validates with console commands like auto last. ## Quick Start Ask the agent to help you build and flash the ESP-Claw edge_agent firmware for your ESP32-S3 board using idf.py bmgr, then configure the LLM credentials so the ask command responds.