RuView Hardware Setup
ruvnet/RuView
Brings a RuView CSI sensing node online by building ESP32-S3 or ESP32-C6 firmware, flashing the board, provisioning WiFi and checking the serial output.
Memory-allocation discipline for AgentDeck ESP32 firmware (esp32/).
$ npx skills add puritysb/AgentDeck --skill esp32-heap-discipline -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install puritysb/AgentDeck esp32-heap-discipline --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/puritysb/AgentDeck.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/esp32-heap-discipline .claude/skills/esp32-heap-discipline && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "esp32-heap-discipline" agent skill from https://github.com/puritysb/AgentDeck/tree/master/.agents/skills/esp32-heap-discipline into .claude/skills/esp32-heap-discipline/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "esp32-heap-discipline", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/puritysb/AgentDeck/tree/master/.agents/skills/esp32-heap-disciplineType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add puritysb/AgentDeck --skill esp32-heap-discipline -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install puritysb/AgentDeck esp32-heap-discipline --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/puritysb/AgentDeck.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/esp32-heap-discipline .agents/skills/esp32-heap-discipline && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "esp32-heap-discipline" agent skill from https://github.com/puritysb/AgentDeck/tree/master/.agents/skills/esp32-heap-discipline into .agents/skills/esp32-heap-discipline/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "esp32-heap-discipline", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add puritysb/AgentDeck --skill esp32-heap-discipline -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install puritysb/AgentDeck esp32-heap-discipline --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/puritysb/AgentDeck.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/esp32-heap-discipline .cursor/skills/esp32-heap-discipline && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "esp32-heap-discipline" agent skill from https://github.com/puritysb/AgentDeck/tree/master/.agents/skills/esp32-heap-discipline into .cursor/skills/esp32-heap-discipline/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "esp32-heap-discipline", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/puritysb/AgentDeck.git --path .agents/skills/esp32-heap-discipline--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add puritysb/AgentDeck --skill esp32-heap-discipline -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install puritysb/AgentDeck esp32-heap-discipline --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/puritysb/AgentDeck.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/esp32-heap-discipline .gemini/skills/esp32-heap-discipline && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "esp32-heap-discipline" agent skill from https://github.com/puritysb/AgentDeck/tree/master/.agents/skills/esp32-heap-discipline into .gemini/skills/esp32-heap-discipline/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "esp32-heap-discipline", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install puritysb/AgentDeck esp32-heap-disciplineInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add puritysb/AgentDeck --skill esp32-heap-discipline -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/puritysb/AgentDeck.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/esp32-heap-discipline .github/skills/esp32-heap-discipline && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "esp32-heap-discipline" agent skill from https://github.com/puritysb/AgentDeck/tree/master/.agents/skills/esp32-heap-discipline into .github/skills/esp32-heap-discipline/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "esp32-heap-discipline", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add puritysb/AgentDeck --skill esp32-heap-discipline -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install puritysb/AgentDeck esp32-heap-discipline --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/puritysb/AgentDeck.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/esp32-heap-discipline .opencode/skills/esp32-heap-discipline && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "esp32-heap-discipline" agent skill from https://github.com/puritysb/AgentDeck/tree/master/.agents/skills/esp32-heap-discipline into .opencode/skills/esp32-heap-discipline/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "esp32-heap-discipline", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
esp32-heap-disciplineMemory-allocation discipline for AgentDeck ESP32 firmware (esp32/).
Esp32 Heap Discipline is an agent skill from puritysb/AgentDeck. Memory-allocation discipline for AgentDeck ESP32 firmware (esp32/). Use whenever writing or reviewing firmware code that allocates — new / malloc / psmalloc / heapcapsalloc / std::vector / std::string / String / a buffer / a cache / anything held across a render loop. Covers the PSRAM-vs-no-PSRAM board split, the allocation decision order, fragmentation avoidance, the makeUniqueNoThrow / ScopedCleanup helpers, the PROTOCOLMAXMSGBYTES JSON guard, and the heap diagnostics (logHeap / [PERF] freeblk).
Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development, covering Embedded systems. It works with ESP32. The repository describes itself as: Local dashboards and physical controls for AI coding agents — native 3D aquariums, Stream Deck, Apple/Android apps, e-ink, ESP32 and LED displays. The licence is MIT.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 0b812da. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Esp32 Heap Discipline loads about 1.5k tokens when it runs. Until then it costs about 133 tokens; SKILL.md has 724 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from puritysb/AgentDeck at commit 0b812da, republished under its MIT licence (© puritysb). 724 words, ~1,496 tokens.
.claude/skills/esp32-heap-discipline/SKILL.md (or your agent's skills folder).Memory rules for esp32/ firmware. Adapted from crosspoint-reader's
heap-discipline skill to AgentDeck's multi-board reality. This is the
procedure you run while writing firmware and the gate before handing it back.
AgentDeck firmware targets two memory regimes. Check the board macros first.
BOARD_BOX_86, BOARD_IPS35, BOARD_AMOLED, BOARD_IPS10
(ESP32-S3 / -P4, 8–32MB PSRAM). Large canvases/caches go in PSRAM
(ps_malloc / MALLOC_CAP_SPIRAM). But per-pixel / LVGL draw buffers and
PPA rotation buffers must stay in internal SRAM (MALLOC_CAP_INTERNAL):
PSRAM writes are ~30× slower, so a PSRAM draw buffer makes every widget render
crawl (see the IPS10 rationale in esp32/src/ui/display.cpp). Plenty of total
RAM here; the constraint is write latency and internal-SRAM headroom, not
bytes.BOARD_TTGO (classic ESP32, ~160KB heap),
BOARD_ESP32_C6_147 (single-core RISC-V), BOARD_LED8X32 (TC001). This is
crosspoint's world: every allocation matters and fragmentation, not total
usage, is what kills the device. Free heap can read fine while the largest
free block is too small for the next alloc. Optimize for not leaving holes.The canvas/buffer code already encodes this split (renderer.cpp::init uses
static pre-allocated buffers on TTGO/C6 and ps_malloc+SRAM fallback
elsewhere). Match the existing pattern; don't invent a third path.
Ask in order; stop at the first yes.
config.h (STACK_UI) — keep frames lean.static constexpr lives in flash, costs zero
DRAM. Lookup tables and string literals belong here.makeUniqueNoThrow<T>(...) /
makeUniqueNoThrow<T[]>(n) from esp32/src/util/memory.h. Null-check, log,
return. It frees on every exit path. Use makeScopedCleanup([&]{ … }) for
non-owning teardown (the header is kept C++11-safe — led8x32 builds at
gnu++11 — so construct the guard via the factory, not C++17 CTAD).new / heap_caps_alloc / ps_malloc, with a null-check +
Serial.printf error and a comment naming who owns it. The display driver
objects in display.cpp are this case (one-time, device-lifetime).Bare new/new[] whose result you don't null-check is never acceptable: with
exceptions disabled it abort()s on OOM; even with them on, an unchecked deref
crashes. (We had a one-time new (uint8_t[]){…} leak in jd9365_lcd.cpp —
fixed to a stack local.)
std::vector: reserve(n) before any push_back loop. Each growth is
alloc-copy-free — three heap ops that leave a hole. Unknown n: estimate high.new/delete or growing containers inside a loop or the render
path. Hoist the allocation out.std::string / Arduino String: acceptable on cold paths (setup, file I/O).
Banned on the render path. Build text with a stack char[] + snprintf; the
state struct (agent_state.h) already uses fixed char[] fields — match it.PROTOCOL_MAX_MSG_BYTES (config.h) and dropped in Protocol::parseMessage
before they reach the elastic ArduinoJson JsonDocument. Keep that guard; if
you add a new growable parse path, bound it the same way.logHeap(const char* tag) (esp32/src/util/memory.h) prints free heap and
largest free block (plus PSRAM totals on PSRAM boards). The gap between the two
is the fragmentation signal. It's already called at boot, post-terrarium,
and on a 30s tick on no-PSRAM boards. Add a call after any new large
allocation rather than guessing.[PERF] profiler line (main.cpp, IPS10_PERF_PROFILE) now carries
a freeblk field — a shrinking freeblk while fps holds steady is the
fragmentation tell.When you add a heap allocation, state in one line why stack/static/reuse was rejected and the worst-case size. If you can't name the size, you can't budget it, and shouldn't allocate it. Cite the board regime you're allocating for.
new/new[] without a null-check + log; fallible allocs use
makeUniqueNoThrow, raw allocs carry an owner comment.push_back loop has a preceding reserve.MALLOC_CAP_INTERNAL on PSRAM boards.PROTOCOL_MAX_MSG_BYTES).logHeap call near any new large allocation; checked freeblk, not
just free heap.© puritysb, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .agents/skills/esp32-heap-discipline of puritysb/AgentDeck.
Open the folder on GitHubat commit 0b812da
Esp32 Heap Discipline next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Esp32 Heap Discipline this skillpuritysb/AgentDeck | 260 | — | ~1.5k | Automated safety check: Pass | MIT | |
| RuView Hardware Setupruvnet/RuView | 97k | — | ~1.8k | Automated safety check: Notes | MIT | |
| Esp32 Firmware Engineeralxv2016/folloup-sticky | 117 | 1 repos | ~3.8k | Automated safety check: Pass | GPL-3.0 | |
| RuView mmWave Radar Setupruvnet/RuView | 97k | — | ~907 | Automated safety check: Notes | MIT | |
| Embedded DebugFastLED/FastLED | 7.5k | — | ~1.4k | Automated safety check: Pass | MIT | |
| Auto EmbeddedDunCanYounG-1/MICU-auto-embedded | 253 | — | ~1.6k | Automated safety check: Pass | CC-BY-NC-4.0 |
ruvnet/RuView
Brings a RuView CSI sensing node online by building ESP32-S3 or ESP32-C6 firmware, flashing the board, provisioning WiFi and checking the serial output.
alxv2016/folloup-sticky
ESP32 firmware engineering for ESP-IDF projects. An agent skill from alxv2016/folloup-sticky.
ruvnet/RuView
Sets up and runs 60 GHz and 24 GHz mmWave radar sensing on ESP32 boards in RuView, alone or fused with WiFi CSI.
FastLED/FastLED
Firmware crash analysis, stack trace decoder, and register dump interpreter for ESP32/ARM/AVR platforms.
DunCanYounG-1/MICU-auto-embedded
全平台嵌入式 AI 开发框架(对标 Trellis):把 RIPER-5 五阶段协议 + 四文件记忆 + 分层架构门禁 + Scout/Builder/Verifier 多 Agent + 24 个工具调用技能(build/flash/debug/serial/can/modbus/visa/static/memory/rtos/scons),做成『装进工程、项目级 hook…
BlueAndi/Pixelix
A skill your agent uses when writing, reviewing, or refactoring C/C++ firmware code in this repository (src/, lib/, test/) — creating or editing .h/.hpp/.cpp files, applying MISRA-oriented and…
puritysb/AgentDeck
A skill your agent uses when the user asks to end, wrap up, clear, hand off, or prepare continuity for a Codex/AgentDeck session.
puritysb/AgentDeck
Build, install, launch, and configure AgentDeck on connected Android, Apple, ESP32, Stream Deck, Ulanzi Studio, or daemon targets.
puritysb/AgentDeck
Diagnose AgentDeck Stream Deck/PTY option synchronization, cursor state, hook ingestion, and bridge state-machine issues.
puritysb/AgentDeck
A skill your agent uses for AgentDeck build, dev-server, Stream Deck plugin, Android release, or Apple/Xcode diagnostic workflows.
puritysb/AgentDeck
Read, claim and report an explicitly shared AgentDeck request using its request ID through an already approved local MCP connection.
Works with
Categories
Memory-allocation discipline for AgentDeck ESP32 firmware (esp32/). Esp32 Heap Discipline is an agent skill from puritysb/AgentDeck. Memory-allocation discipline for AgentDeck ESP32 firmware (esp32/).
Esp32 Heap Discipline fits situations like: tasks that involve Embedded systems.
Run `npx skills add puritysb/AgentDeck --skill esp32-heap-discipline -a claude-code`. Or copy the skill folder (.agents/skills/esp32-heap-discipline in puritysb/AgentDeck) into .claude/skills/esp32-heap-discipline in your project. Claude Code loads it when a task matches its description.
Run `npx skills add puritysb/AgentDeck --skill esp32-heap-discipline -a codex`. Or copy the skill folder (.agents/skills/esp32-heap-discipline in puritysb/AgentDeck) into .agents/skills/esp32-heap-discipline in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add puritysb/AgentDeck --skill esp32-heap-discipline -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/esp32-heap-discipline, .gemini/skills/esp32-heap-discipline, .github/skills/esp32-heap-discipline and .opencode/skills/esp32-heap-discipline in your project.
SKILL.md names no scripts, command-line tools or credentials: Esp32 Heap Discipline is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Esp32 Heap Discipline is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.5k tokens (SKILL.md is roughly 6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Esp32 Heap Discipline: RuView Hardware Setup (ruvnet/RuView, 97k stars), Esp32 Firmware Engineer (alxv2016/folloup-sticky, 117 stars), RuView mmWave Radar Setup (ruvnet/RuView, 97k stars) and Embedded Debug (FastLED/FastLED, 7.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
puritysb (a GitHub user) maintains it in puritysb/AgentDeck, which has 260 GitHub stars. The repository holds 6 skills in this directory. The repository was last updated on October 9, 2026.
Source: puritysb/AgentDeck on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.