Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add hamzabellouch/agent-skills --skill raspberry-pi-rust-embeddedgit clone --depth 1 https://github.com/hamzabellouch/agent-skillsWrote 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/hamzabellouch/agent-skills/raspberry-pi-rust-embedded)<a href="https://agentmods.dev/skills/hamzabellouch/agent-skills/raspberry-pi-rust-embedded"><img src="https://agentmods.dev/badge/skills/hamzabellouch/agent-skills/raspberry-pi-rust-embedded/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/hamzabellouch/agent-skills/raspberry-pi-rust-embedded"><img src="https://agentmods.dev/badge/skills/hamzabellouch/agent-skills/raspberry-pi-rust-embedded.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.00072 | $0.02180 |
| Opus 5 | $0.00036 | $0.01090 |
| Sonnet 5 | $0.00014 | $0.00436 |
| Haiku 4.5 | $0.00007 | $0.00218 |
Grade A, and why
raspberry-pi-rust-embedded 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 5d 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 — 239 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Raspberry Pi Embedded Rust Production Guidelines
This skill provides software engineering standards, memory management rules, hardware interrupt safety guidelines, and production code architectures for Raspberry Pi embedded applications using Rust (both Embedded Linux std with rppal/embedded-hal and bare-metal no_std).
1. Architecture & Driver Abstraction
1.1 Execution Environments: Embedded Linux vs. Bare-Metal
| Aspect | Embedded Linux (std) |
Bare-Metal (no_std) |
|---|---|---|
| OS / Kernel | Linux (Raspberry Pi OS / Yocto / Buildroot) | Direct hardware execution (no OS) |
| Hardware Access | /dev/gpiomem, /dev/spidev, /dev/i2c-*, sysfs |
Memory-Mapped I/O (MMIO) Registers |
| Real-Time Determinism | Soft Real-Time (PREEMPT_RT kernel optional) | Hard Real-Time |
| Ecosystem Libraries | rppal, tokio, embedded-hal, nix |
cortex-a, bare-metal, heapless |
1.2 The embedded-hal Paradigm
Always write reusable hardware drivers against the generic embedded-hal traits rather than hardcoding platform-specific APIs:
+-------------------------------------------------------------+
| Generic Hardware Driver |
| (e.g., BME280 Sensor Driver using embedded_hal::i2c::I2c) |
+-------------------------------------------------------------+
|
v
+-------------------------------------------------------------+
| Platform HAL Abstraction Layer |
| Linux: rppal::i2c::I2c | Microcontroller: esp32c3_hal |
+-------------------------------------------------------------+
2. Real-Time Memory Management & Safety
2.1 Memory Guarantees in no_std & Embedded Rust
- No Implicit Allocation: In
no_stdenvironments, heap allocations (alloc::vec::Vec,alloc::string::String) are disabled by default. - Static Lock-Free Queues: Use
heapless::spsc::Queuefor deterministic Single-Producer Single-Consumer communication between hardware interrupt handlers and processing loops. - Stack Budget Guardrails: Large arrays must not be created on the stack inside recursive functions or deep call chains to prevent kernel stack overflow. Use static buffers wrapped in
static_cell::StaticCellorOption<T>statics.
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.
- 5d ago First seen · 239 lines · 72 tokens per session scan A 476059d48187
raspberry-pi-rust-embedded is a skill published in the GitHub repository hamzabellouch/agent-skills (4 stars, last pushed 1mo ago), licensed MIT. It adds 72 tokens to every session and 2,180 once invoked, about $0.0004 per session on Opus 5. 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-09-03.
Other skills, from other repositories
assembly
Assembly language for low-level system and embedded programming. Use for .asm files.
cargo
Cargo Rust package manager and build system. Use for Rust crates.
c
C programming with memory management, pointers, structs, and system-level development. Use for .c files.
actix
Actix Rust web framework with actors and high performance. Use for Rust APIs.
axum
Axum ergonomic Rust web framework with tower. Use for Rust APIs.
bevy-ecs
Structure a Bevy app around its Entity Component System: build the App with plugins, define Component/Resource types, write systems with Query/Res/Commands, filter and order systems, and use the Time resource for frame-rate-independent motion. Use when building or debugging a Bevy game in Rust — when the user mentions…