Borrowing it
Nothing to install: this file belongs to wedsamuel1230/electronic-mcp-server. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/wedsamuel1230/electronic-mcp-server/main/.github/skills/freertos-patterns/SKILL.mdgit clone --depth 1 https://github.com/wedsamuel1230/electronic-mcp-serverWrote 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.
[](https://agentmods.dev/skills/wedsamuel1230/electronic-mcp-server/freertos-patterns)<a href="https://agentmods.dev/skills/wedsamuel1230/electronic-mcp-server/freertos-patterns"><img src="https://agentmods.dev/badge/skills/wedsamuel1230/electronic-mcp-server/freertos-patterns/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.
<a href="https://agentmods.dev/skills/wedsamuel1230/electronic-mcp-server/freertos-patterns"><img src="https://agentmods.dev/badge/skills/wedsamuel1230/electronic-mcp-server/freertos-patterns.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.09040 |
| Opus 5 | $0.00000 | $0.04520 |
| Sonnet 5 | $0.00000 | $0.01808 |
| Haiku 4.5 | $0.00000 | $0.00904 |
Grade A, and why
freertos-patterns 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 9d 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.
How it starts
The opening of the file, as written. The whole thing — 1,212 lines — stays where its author put it; the contents beside it link to each section on GitHub.
FreeRTOS Patterns for ESP32 & RP2040 Multicore
Comprehensive patterns for multitasking on ESP32 (FreeRTOS) and RP2040 (dual-core with mutex synchronization).
Resources
- references/patterns-task-creation.md - Task lifecycle, priorities, stack sizing
- references/patterns-queues.md - Inter-task communication via queues
- references/patterns-synchronization.md - Semaphores, mutexes, critical sections
- references/patterns-memory.md - Heap management, stack monitoring
- references/patterns-advanced.md - Watchdogs, notifications, event groups
- assets/workflow.mmd - FreeRTOS architecture diagram
Quick Start
#include <Arduino.h>
// Task function prototype
void taskBlink(void* parameter);
void setup() {
Serial.begin(115200);
pinMode(LED_BUILTIN, OUTPUT);
// Create task with priority 1, 2KB stack
xTaskCreate(
taskBlink, // Task function
"Blink", // Task name
2048, // Stack size (bytes)
NULL, // Parameters
1, // Priority (0 = lowest)
NULL // Task handle
);
}
void taskBlink(void* parameter) {
while(true) {
digitalWrite(LED_BUILTIN, HIGH);
vTaskDelay(pdMS_TO_TICKS(500));
digitalWrite(LED_BUILTIN, LOW);
vTaskDelay(pdMS_TO_TICKS(500));
}
}
void loop() {
// Empty - FreeRTOS scheduler manages tasks
}
When to Use
ESP32 FreeRTOS
Use FreeRTOS patterns when:
- Multiple concurrent operations - WiFi + sensor reading + display updates
- Priority-based scheduling - Critical tasks (safety) must preempt low-priority tasks
- Real-time constraints - Guaranteed response time needed
- Complex synchronization - Shared resources between tasks (UART, SPI, I2C)
- Event-driven architecture - Tasks wake on events (button press, network packet)
RP2040 Dual-Core
Use RP2040 multicore patterns when:
- Parallel execution - WiFi/Bluetooth on Core1, sensors on Core0
- Dedicated cores - Audio processing on Core1, UI on Core0
- Simple threading - Only 2 tasks needed (setup1/loop1 simpler than FreeRTOS)
- Mutex protection - Shared data between cores (similar to FreeRTOS mutex)
What ships with it
7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 9d ago First seen · 1,212 lines · 0 tokens per session scan A a9a9d3d648d3
freertos-patterns is a skill published in the GitHub repository wedsamuel1230/electronic-mcp-server (1 stars, last pushed 8mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 9,040 tokens. 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-31.
Other skills, from other repositories
library-migration-guide
Complete guide for converting Arduino/ESP32 hardware libraries into Aily Blockly compatible format. Covers the full workflow: source analysis, block.json design, generator.js implementation, toolbox.json configuration, bus initialization (Serial/I2C/SPI), board adaptation, and packaging.
blockly-best-practices
Aily Blockly implementation workflow for scoped library evidence, ABS editing, workspace synchronization, and focused validation. Use for creating or modifying Blockly/ABS programs.
blockly-project-planning
Blockly project planning and creation workflow for no-project hardware requests. Trigger words: create project, new Blockly project, board selection, library selection, hardware plan, LED blink, sensor, actuator.
beu1000-evuba
A hardware-specific guide for writing firmware for the BE-U1000, a RISC-V microcontroller, on Baikal Electronics EVU-BA development boards. It documents the chip, board wiring, SDK, build setup, and built-in peripherals.
atmega32u4-beetle
Firmware development for the Beetle — the CJMCU / DFRobot "Mini Arduino Leonardo" USB board (ATmega32U4 @ 16 MHz, 5 V, 21×28 mm, castellated pads) — its native USB (CDC serial + HID keyboard/mouse/joystick), Caterina bootloader and 1200 bps touch upload, ten exposed I/O pads, four PWM pins across Timer0/Timer1, five…
esp32-wroom-36pin
Firmware development for the 36-pin ESP32-WROOM-32 development board — the original DOIT ESP32 DevKit V1 with 18 pins per side, i.e. the 30-pin layout plus the six in-package flash pins (SD0 SD1 SD2 SD3 CMD CLK = GPIO6-11) broken out at the USB end, CH340G or CP2102 bridge, AMS1117 LDO, user LED on GPIO2, GPIO0 not on…