Esp32 Firmware Engineer
alxv2016/folloup-sticky
ESP32 firmware engineering for ESP-IDF projects. An agent skill from alxv2016/folloup-sticky.
Repo rules for editing libnx and Nintendo Switch homebrew code in pipensx: read the real headers first and keep shared code building for both Switch and PC.
$ npx skills add i3sey/pipensx --skill libnx -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install i3sey/pipensx libnx --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/i3sey/pipensx.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/libnx .claude/skills/libnx && 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 "libnx" agent skill from https://github.com/i3sey/pipensx/tree/main/.agents/skills/libnx into .claude/skills/libnx/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "libnx", 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/i3sey/pipensx/tree/main/.agents/skills/libnxType 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 i3sey/pipensx --skill libnx -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install i3sey/pipensx libnx --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/i3sey/pipensx.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/libnx .agents/skills/libnx && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "libnx" agent skill from https://github.com/i3sey/pipensx/tree/main/.agents/skills/libnx into .agents/skills/libnx/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "libnx", 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 i3sey/pipensx --skill libnx -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install i3sey/pipensx libnx --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/i3sey/pipensx.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/libnx .cursor/skills/libnx && 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 "libnx" agent skill from https://github.com/i3sey/pipensx/tree/main/.agents/skills/libnx into .cursor/skills/libnx/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "libnx", 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/i3sey/pipensx.git --path .agents/skills/libnx--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 i3sey/pipensx --skill libnx -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install i3sey/pipensx libnx --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/i3sey/pipensx.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/libnx .gemini/skills/libnx && 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 "libnx" agent skill from https://github.com/i3sey/pipensx/tree/main/.agents/skills/libnx into .gemini/skills/libnx/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "libnx", 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 i3sey/pipensx libnxInstalls 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 i3sey/pipensx --skill libnx -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/i3sey/pipensx.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/libnx .github/skills/libnx && 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 "libnx" agent skill from https://github.com/i3sey/pipensx/tree/main/.agents/skills/libnx into .github/skills/libnx/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "libnx", 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 i3sey/pipensx --skill libnx -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install i3sey/pipensx libnx --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/i3sey/pipensx.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/libnx .opencode/skills/libnx && 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 "libnx" agent skill from https://github.com/i3sey/pipensx/tree/main/.agents/skills/libnx into .opencode/skills/libnx/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "libnx", 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.
libnxRepo rules for editing libnx and Nintendo Switch homebrew code in pipensx: read the real headers first and keep shared code building for both Switch and PC.
Two rules carry the skill. Before writing any libnx call, the agent reads the declaration in the installed devkitPro headers instead of recalling a signature, and it checks the vendored extensions under vendor/libnx-ext before adding anything new. For what a call means, such as firmware gates, service ownership and error semantics, or the NCA, CNMT and ticket formats behind the package stream, it points to the switchbrew wiki.
The second rule is that most sources compile twice: once into the Switch build with real libnx, and once into PC unit tests that use a stand-in header and a PC install backend. A libnx call in shared code must follow an existing pattern, such as an `#ifdef __SWITCH__` guard with a PC fallback or an unconditional include resolved by the PC stand-in, and the agent is told not to invent another. Applet-mode and sysmodule constraints and toolchain issues fall under the same rules.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 21cb83d. 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.
Shell commands in SKILL.md call:
makeFrom 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.
libnx Rules for Switch Homebrew loads about 1.3k tokens when it runs. Until then it costs about 129 tokens; SKILL.md has 532 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 i3sey/pipensx at commit 21cb83d, republished under its GPL-3.0 licence (© i3sey). 532 words, ~1,269 tokens.
.claude/skills/libnx/SKILL.md (or your agent's skills folder).Two rules carry almost all the weight: read the header instead of recalling the signature, and know which of the two builds will see your call.
libnx moves, and a plausible-looking fooInitialize() that does not exist
costs a full Switch build to discover. Before writing any libnx call, read the
declaration:
/opt/devkitpro/libnx/include/switch/services/*.h # 92 service headers
/opt/devkitpro/libnx/include/switch/kernel/svc.h # svc*, and kernel/ for threads/events
/opt/devkitpro/libnx/include/switch/{nacp,nro,result,types}.h
grep -rn "ncmContentStorageWritePlaceHolder" /opt/devkitpro/libnx/include/What stock libnx lacks is vendored, not reinvented — check there before adding
anything: vendor/libnx-ext/libnx-ipcext/ (es, ns-ext, account-ext) and
vendor/libnx-ext/libnx-ext/. Both are on the Switch target's include path
only.
For what a call means rather than what it takes, consult
switchbrew.org/wiki/: per-command firmware gates, service ownership, error
semantics, and the NCA/CNMT/ticket formats behind package_stream.cpp. The header will not tell you that
ncmContentStorageRevertToPlaceHolder needs 2.0.0+ — the wiki will.
CORE_SOURCES, APP_SERVICE_SOURCES and UI_SOURCES in CMakeLists.txt are
linked into Switch pipensx (aarch64, real libnx). Only
src/main_switch.cpp, src/install/install_backend_switch.cpp,
src/platform/switch_* and the vendored ipcext are Switch-only. PC unit tests
via Makefile.pc compile shared app/core code with install_backend_pc.cpp and
the PC shim under src/platform/pc/.
So a libnx call in shared code has to pick one of three existing patterns — do not invent a fourth:
a. #ifdef __SWITCH__ with a PC fallback. The default; 14 shared files
already do it (src/app/install_space.cpp, src/app/stream_ram_budget.cpp,
src/app/update_service.cpp, src/ui/settings/settings_view.hpp,
src/core/util.c, src/install/package_stream.cpp, …). __SWITCH__ is set
by target_compile_definitions(pipensx PRIVATE __SWITCH__) and is absent for
PC test builds.
b. Unconditional #include <switch.h>, resolved by the PC shim. Only
src/app/installed_title_service.cpp and src/ui/common/ui_helpers.hpp do
this. src/platform/pc/switch.h (a hand-written 182-line stand-in) is first on
the PC test include path and supplies stubs. Adding a libnx symbol to one of
these two files without adding a stub there leaves the Switch build green and
breaks make test. Stub behaviour is chosen for deterministic PC tests, not
realism — read the header comment before adding to it.
c. Behind src/install/install_backend.hpp. The heavy content-install
surface (ncm, es, fs placeholders, CNMT) lives here, with
install_backend_switch.cpp and install_backend_pc.cpp implementing both
sides. New install-path work goes through this seam; both implementations get
written, not just the console one.
Makefile.pc builds core/app C only and never sees the shim — it relies purely
on pattern (a).
Result rc = ...; if (R_FAILED(rc)) { ...close what you opened...; return; }
Every early return closes its own handles by hand — there is no RAII wrapper
in this codebase, and adding one is a separate decision, not a drive-by.0x%08x, never as a bare decimal:
diagnostic_error("installed", "list", "result=0x%08x", rc)
(src/core/util.h:41), or the user-facing
"Unable to query SD storage (0x%08x)." form.assert/abort on a bad Result. This is homebrew running on someone's
console — degrade and report. (Same reason pipensx_utp is built NDEBUG.)make switch # Switch: build-switch/pipensx.nro
make test # PC: compiles shared sources against the shim and install backendA missing shim stub only shows up in the second. Run both before calling a libnx change done.
Applet RAM budget, tile override, sysmodule tradeoffs — written up in
docs/plans/ESHOP_APPLET_PLAN.md, docs/plans/SYSMODULE_PLAN.md and
docs/plans/PERF_PLAN.md. Read them for the reasoning instead of re-deriving
it, but treat them as historical (see docs/plans/README.md): they may
describe code that has since changed. Confirm anything load-bearing against
the source before acting on it.
© i3sey, GPL-3.0. 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/libnx of i3sey/pipensx.
Open the folder on GitHubat commit 21cb83d
libnx Rules for Switch Homebrew 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 |
|---|---|---|---|---|---|---|
| libnx Rules for Switch Homebrew this skilli3sey/pipensx | 220 | — | ~1.3k | Automated safety check: Pass | GPL-3.0 | |
| Esp32 Firmware Engineeralxv2016/folloup-sticky | 116 | 1 repos | ~3.8k | Automated safety check: Pass | GPL-3.0 | |
| ExecuTorch Binary Size Reductionpytorch/executorch | 5.1k | — | ~793 | Automated safety check: Pass | Custom licence | |
| Auto EmbeddedDunCanYounG-1/MICU-auto-embedded | 253 | — | ~1.6k | Automated safety check: Pass | CC-BY-NC-4.0 | |
| Embedded Cpp14 MisraBlueAndi/Pixelix | 443 | — | ~2k | Automated safety check: Pass | MIT | |
| Embedded Cpp14 MisraBlueAndi/Pixelix | 443 | — | ~2.2k | Automated safety check: Pass | MIT |
alxv2016/folloup-sticky
ESP32 firmware engineering for ESP-IDF projects. An agent skill from alxv2016/folloup-sticky.
pytorch/executorch
Measures and shrinks the ExecuTorch runtime binary by building a size test, analyzing it with bloaty and landing each reduction as its own pull request.
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…
BlueAndi/Pixelix
Write, review and refactor embedded C/C++14 firmware code in this repository (src/, lib/, test/) with MISRA-oriented rules, defensive programming, Yoda conditions, single-exit/pathfinder control…
Serial-Studio/Serial-Studio
Modern C++20 authoring guidance for Serial Studio (Qt 6.11, C++20): concepts, ranges, move/RAII, std smart pointers, constexpr, lock-free SPSC atomics.
i3sey/pipensx
Decodes QR-code bug report photos and screenshots from the pipensx app into a log, then triages crashes and update, download or install failures.
i3sey/pipensx
Explains how debrid download providers are structured in the pipensx C++ app and what to touch when adding or changing one.
Works with
Categories
Repo rules for editing libnx and Nintendo Switch homebrew code in pipensx: read the real headers first and keep shared code building for both Switch and PC. Two rules carry the skill. Before writing any libnx call, the agent reads the declaration in the installed devkitPro headers instead of recalling a signature, and it checks the vendored extensions under vendor/libnx-ext before adding anything new.
libnx Rules for Switch Homebrew fits situations like: adding or changing a libnx service call such as fs, ns, ncm, es or nifm; fixing a PC unit-test build that breaks after shared code gains a libnx symbol; working on NRO, NSP, NCA, CNMT or ticket handling in the install backend; checking applet-mode or sysmodule limits before using a service.
Run `npx skills add i3sey/pipensx --skill libnx -a claude-code`. Or copy the skill folder (.agents/skills/libnx in i3sey/pipensx) into .claude/skills/libnx in your project. Claude Code loads it when a task matches its description.
Run `npx skills add i3sey/pipensx --skill libnx -a codex`. Or copy the skill folder (.agents/skills/libnx in i3sey/pipensx) into .agents/skills/libnx 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 i3sey/pipensx --skill libnx -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/libnx, .gemini/skills/libnx, .github/skills/libnx and .opencode/skills/libnx in your project.
Going by SKILL.md and its folder, libnx Rules for Switch Homebrew needs the command-line tools its instructions call (make). Our summary lists: devkitPro with devkitA64 and libnx installed; The pipensx repository layout and CMake build.
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.
libnx Rules for Switch Homebrew is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.3k tokens (SKILL.md is roughly 5.1k 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 libnx Rules for Switch Homebrew: Esp32 Firmware Engineer (alxv2016/folloup-sticky, 116 stars), ExecuTorch Binary Size Reduction (pytorch/executorch, 5.1k stars), Auto Embedded (DunCanYounG-1/MICU-auto-embedded, 253 stars) and Embedded Cpp14 Misra (BlueAndi/Pixelix, 443 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
i3sey (a GitHub user) maintains it in i3sey/pipensx, which has 220 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on October 2, 2026.
Source: i3sey/pipensx on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.