{
  "schemaVersion": "1.0",
  "item": {
    "slug": "esp32",
    "name": "ESP32",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/ivangdavila/esp32",
    "canonicalUrl": "https://clawhub.ai/ivangdavila/esp32",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/esp32",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=esp32",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/esp32"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/esp32",
    "agentPageUrl": "https://openagent3.xyz/skills/esp32/agent",
    "manifestUrl": "https://openagent3.xyz/skills/esp32/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/esp32/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "GPIO Restrictions",
        "body": "Strapping pins boot behavior — GPIO0, GPIO2, GPIO12, GPIO15 affect boot mode\nGPIO6-11 connected to flash — don't use, crashes immediately\nGPIO34-39 input only — no output, no pullup/pulldown\nADC2 unusable with WiFi active — use ADC1 (GPIOs 32-39) when WiFi enabled"
      },
      {
        "title": "Deep Sleep",
        "body": "Only RTC GPIOs for wakeup — GPIO0, 2, 4, 12-15, 25-27, 32-39\nRTC_DATA_ATTR for persistent variables — regular RAM lost in deep sleep\nesp_sleep_enable_ext0_wakeup() for single pin — ext1 for multiple pins\nWiFi reconnect takes 1-3 seconds after wake — plan for this delay"
      },
      {
        "title": "WiFi Gotchas",
        "body": "Call WiFi.mode() before WiFi.begin() — mode affects behavior\nWiFi.setAutoReconnect(true) doesn't always work — implement reconnect in loop\nEvent-driven with WiFi.onEvent() more reliable — don't poll WiFi.status()\nStatic IP faster than DHCP — saves 2-5 seconds on connect"
      },
      {
        "title": "FreeRTOS",
        "body": "Default stack too small for printf/WiFi — use 4096+ for complex tasks\nTask watchdog triggers at 5s default — call vTaskDelay() or feed watchdog\nxTaskCreatePinnedToCore() for core affinity — WiFi on core 0, your code on core 1\ndelay() yields to scheduler — vTaskDelay(pdMS_TO_TICKS(ms)) in tasks"
      },
      {
        "title": "Memory",
        "body": "Heap fragments over time — preallocate buffers, avoid repeated malloc/free\nESP.getFreeHeap() for monitoring — log periodically in long-running apps\nPSRAM available on some boards — heap_caps_malloc(size, MALLOC_CAP_SPIRAM)\nString concatenation fragments heap — use reserve() or char arrays"
      },
      {
        "title": "Peripherals",
        "body": "No native analogWrite() — use LEDC: ledcSetup(), ledcAttachPin(), ledcWrite()\nI2C needs external pullups usually — internal pullups too weak for fast speeds\nSPI CS pin must be managed — SPI.begin() doesn't auto-configure\nUART0 is Serial/USB — use UART1/2 for external devices"
      },
      {
        "title": "OTA Updates",
        "body": "Needs two OTA partitions — default partition scheme may have only one\nCheck ESP.getFreeSketchSpace() — OTA fails silently if not enough space\nArduinoOTA blocks during update — handle in loop, not in time-critical code"
      },
      {
        "title": "Power",
        "body": "Brown-out detector resets at ~2.4V — esp_brownout_disable() if using battery\nWiFi TX uses 300mA peaks — power supply must handle spikes\nDeep sleep ~10µA — but RTC peripherals add more if enabled"
      }
    ],
    "body": "GPIO Restrictions\nStrapping pins boot behavior — GPIO0, GPIO2, GPIO12, GPIO15 affect boot mode\nGPIO6-11 connected to flash — don't use, crashes immediately\nGPIO34-39 input only — no output, no pullup/pulldown\nADC2 unusable with WiFi active — use ADC1 (GPIOs 32-39) when WiFi enabled\nDeep Sleep\nOnly RTC GPIOs for wakeup — GPIO0, 2, 4, 12-15, 25-27, 32-39\nRTC_DATA_ATTR for persistent variables — regular RAM lost in deep sleep\nesp_sleep_enable_ext0_wakeup() for single pin — ext1 for multiple pins\nWiFi reconnect takes 1-3 seconds after wake — plan for this delay\nWiFi Gotchas\nCall WiFi.mode() before WiFi.begin() — mode affects behavior\nWiFi.setAutoReconnect(true) doesn't always work — implement reconnect in loop\nEvent-driven with WiFi.onEvent() more reliable — don't poll WiFi.status()\nStatic IP faster than DHCP — saves 2-5 seconds on connect\nFreeRTOS\nDefault stack too small for printf/WiFi — use 4096+ for complex tasks\nTask watchdog triggers at 5s default — call vTaskDelay() or feed watchdog\nxTaskCreatePinnedToCore() for core affinity — WiFi on core 0, your code on core 1\ndelay() yields to scheduler — vTaskDelay(pdMS_TO_TICKS(ms)) in tasks\nMemory\nHeap fragments over time — preallocate buffers, avoid repeated malloc/free\nESP.getFreeHeap() for monitoring — log periodically in long-running apps\nPSRAM available on some boards — heap_caps_malloc(size, MALLOC_CAP_SPIRAM)\nString concatenation fragments heap — use reserve() or char arrays\nPeripherals\nNo native analogWrite() — use LEDC: ledcSetup(), ledcAttachPin(), ledcWrite()\nI2C needs external pullups usually — internal pullups too weak for fast speeds\nSPI CS pin must be managed — SPI.begin() doesn't auto-configure\nUART0 is Serial/USB — use UART1/2 for external devices\nOTA Updates\nNeeds two OTA partitions — default partition scheme may have only one\nCheck ESP.getFreeSketchSpace() — OTA fails silently if not enough space\nArduinoOTA blocks during update — handle in loop, not in time-critical code\nPower\nBrown-out detector resets at ~2.4V — esp_brownout_disable() if using battery\nWiFi TX uses 300mA peaks — power supply must handle spikes\nDeep sleep ~10µA — but RTC peripherals add more if enabled"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/ivangdavila/esp32",
    "publisherUrl": "https://clawhub.ai/ivangdavila/esp32",
    "owner": "ivangdavila",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/esp32",
    "downloadUrl": "https://openagent3.xyz/downloads/esp32",
    "agentUrl": "https://openagent3.xyz/skills/esp32/agent",
    "manifestUrl": "https://openagent3.xyz/skills/esp32/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/esp32/agent.md"
  }
}