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 beriberikix/zephyr-agent-skills --skill storagegit clone --depth 1 https://github.com/beriberikix/zephyr-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/beriberikix/zephyr-agent-skills/storage)<a href="https://agentmods.dev/skills/beriberikix/zephyr-agent-skills/storage"><img src="https://agentmods.dev/badge/skills/beriberikix/zephyr-agent-skills/storage/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/beriberikix/zephyr-agent-skills/storage"><img src="https://agentmods.dev/badge/skills/beriberikix/zephyr-agent-skills/storage.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.00056 | $0.00595 |
| Opus 5.5 | $0.00022 | $0.00238 |
| Sonnet 5.5 | $0.00011 | $0.00119 |
| Haiku 4.5 | $0.00006 | $0.00060 |
Grade A, and why
storage 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 — 57 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Zephyr Storage
Implement reliable persistent data handling using Zephyr's storage subsystem and flash management utilities.
Core Workflows
1. NVS Storage
Utilize Non-Volatile Storage (NVS) for efficient, wear-leveled data persistence.
- Reference: nvs_storage.md
- Key Tools:
nvs_mount(),nvs_read(),nvs_write().
2. Flash Management
Configure and manage flash partitions and hardware page layouts.
- Reference: flash_management.md
- Key Tools:
fixed-partitions,FLASH_MAP,flash_get_page_info_by_offs().
Quick Start (NVS Write)
#include <zephyr/storage/nvs/nvs.h>
void save_data(struct nvs_fs *fs, uint16_t id, void *data, size_t len) {
nvs_write(fs, id, data, len);
}
Professional Patterns (Reliability)
- Settings Integration: Use NVS as the backend for the
settingssubsystem for a standard key-value configuration experience. - Collision Prevention: Define NVS Entry IDs in a centralized header file to prevent accidental overwrites across modules.
- Runtime Layout Checks: Always query the flash controller for page sizes (
flash_get_page_layout) rather than assuming hardcoded sector sizes.
Automation Tools
- nvs_id_lint.py: Detect duplicate
NVS_ID_*macro values across source/header files.
Examples & Templates
- partition_overlay_template.overlay: Starter fixed-partitions overlay for app + storage.
Validation Checklist
-
nvs_mount()succeeds on boot for the configured storage partition. - Written values survive reset and read back with matching length and content.
- Partition layout in DTS matches runtime flash-map queries.
- Repeated write cycles do not produce mount/read corruption errors.
Resources
- References:
nvs_storage.md: Using NVS for data blobs and integers.flash_management.md: Devicetree partitions and page information.
- Scripts:
nvs_id_lint.py: Duplicate ID detector for NVS namespaces.
- Assets:
partition_overlay_template.overlay: Flash partitioning template.
What ships with it
5 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.
- 1mo ago First seen · 57 lines · 56 tokens per session scan A 41ead8a14559
storage is a skill published in the GitHub repository beriberikix/zephyr-agent-skills (72 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 56 tokens to every session and 595 once invoked, about $0.0002 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-08-30.
Other skills, from other repositories
mactop
Retrieve real-time hardware metrics from Apple Silicon Macs using mactop. Provides CPU, RAM, GPU, power, thermal, network, disk I/O, and Thunderbolt bus information. Use when the user wants system stats, hardware monitoring, or performance metrics on Apple Silicon Macs.
mobile-hardware-ble-nfc
BLE scanning/connecting/GATT operations with react-native-ble-plx, NFC tag reading/writing with react-native-nfc-manager, permissions, background mode, battery-efficient patterns.
zephyr-i2c
Comprehensive Zephyr I2C subsystem expertise for Inter-Integrated Circuit bus communication. Use when: (1) Configuring I2C controllers or devices via devicetree or Kconfig, (2) Implementing synchronous I2C transfers with i2ctransfer/i2cread/i2cwrite, (3) Using register access helpers like…
zephyr-power-management
Expert guidance on Zephyr RTOS power management. Use when working with system sleep states, runtime device power management, wake sources, PM policy constraints, low-power design, wake-latency tradeoffs, or measuring and debugging current draw in Zephyr applications and drivers.
zephyr-device-drivers
Comprehensive Zephyr device driver expertise covering driver model, device instances, initialization levels, power management, and bus-specific patterns (I2C, SPI, UART, GPIO). Use this skill when you need to: (1) Create custom device drivers from scratch, (2) Use existing driver APIs (GPIO, I2C, SPI, UART, ADC, PWM…
zephyr-gpio
GPIO driver implementation guidance for Zephyr RTOS. Use when working with digital I/O pins, LEDs, buttons, or any GPIO-controlled peripherals. Covers pin configuration, reading/writing, interrupts, and devicetree bindings.