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.5 | $0.00029 | $0.00872 |
| Sonnet 5.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 1mo 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.
- 1mo 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 (8 stars, last pushed 7d ago), licensed MIT. It adds 72 tokens to every session and 2,180 once invoked, about $0.0003 per session on Opus 5.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
actix
Expert Actix Web assistance covering async actors, routing, extractors, middleware, and high-performance Rust web services. Use when building blazing fast REST APIs or microservices in Rust.
axum
Expert Axum web framework assistance covering routing, extractors, tower middleware, and hyper-powered Rust async microservices. Use when building idiomatic, type-safe, ergonomic REST APIs in Rust.
assembly
Expert x86-64 and ARM64 assembly assistance covering registers, calling conventions, stack frames, and inline asm. Use when writing low-level code, optimizing hot loops, or reverse engineering binaries.
c
Expert C programming assistance covering pointers, manual memory management, struct layout, and POSIX APIs. Use when developing systems software, embedded firmware, high-performance libraries, or OS kernels.
cargo
Expert Cargo Rust package manager assistance covering workspaces, dependencies, feature flags, cross-compilation, and release profiles. Use when building, testing, and packaging Rust projects.
rust-async-patterns
Master Rust async programming with Tokio, async traits, error handling, and concurrent patterns. Use when building async Rust applications, implementing concurrent systems, or debugging async code.