littlefs-integration

littlefs-integration is a skill for Claude Code, Codex from easyzoom/aix-skills. It costs 39 tokens per session (927 once invoked), scanned A, original, MIT.

Embedded storage guidance for using littlefs, a file system designed for unreliable flash memory in microcontrollers and other devices.

In plain words
What is it for?
Use it to integrate or debug littlefs on internal or external flash, NAND-like storage, SD-backed devices, or simulated storage.
Why use it?
It helps match the file system to the storage hardware and check that data survives writing, rebooting, and power loss.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to integrate or debug littlefs on internal or external flash, NAND-like storage, SD-backed devices, or simulated storage.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/easyzoom/aix-skills/littlefs-integration
Install

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.

Any agent
npx skills add easyzoom/aix-skills --skill littlefs-integration
Clone the repo
git clone --depth 1 https://github.com/easyzoom/aix-skills

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for littlefs-integration

README.md
[![agentmods](https://agentmods.dev/badge/skills/easyzoom/aix-skills/littlefs-integration/github.svg)](https://agentmods.dev/skills/easyzoom/aix-skills/littlefs-integration)
Your own site
<a href="https://agentmods.dev/skills/easyzoom/aix-skills/littlefs-integration"><img src="https://agentmods.dev/badge/skills/easyzoom/aix-skills/littlefs-integration/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.

agentmods 80×15 button for littlefs-integration

Your own site · 80×15
<a href="https://agentmods.dev/skills/easyzoom/aix-skills/littlefs-integration"><img src="https://agentmods.dev/badge/skills/easyzoom/aix-skills/littlefs-integration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 927 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00039 $0.00927
Opus 5 $0.00019 $0.00464
Sonnet 5 $0.00008 $0.00185
Haiku 4.5 $0.00004 $0.00093

Measured 12d ago against content hash 3d776d2854ff, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

littlefs-integration 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 12d 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.

skills/littlefs-integration/SKILL.md · 97 lines

How it starts

The opening of the file, as written. The whole thing — 97 lines — stays where its author put it; the contents beside it link to each section on GitHub.

littlefs Integration

Overview

Use this skill to integrate littlefs safely on embedded block devices. The core task is to make the lfs_config match the real storage geometry and prove mount, format, write, sync, power-loss, and remount behavior.

When To Use

Use this skill when:

  • The user wants to add or debug littlefs on MCU internal flash, external SPI/QSPI NOR, NAND-like storage, EEPROM emulation, SD-backed block devices, or RTOS storage.
  • The issue involves mount failures, LFS_ERR_CORRUPT, read/write errors, wear leveling, block geometry, formatting, or data loss after reboot.
  • The project uses lfs.h, lfs_file_*, lfs_dir_*, or struct lfs_config.

Do not use this skill for generic flash programming failures before the block device driver works. Use mcu-flashing-debug first.

First Questions

Ask for:

  • Storage type, size, erase block size, program size, read size, and erase value.
  • Whether storage is internal flash, external NOR/NAND, SD card, RAM disk, or simulator.
  • Existing lfs_config, block device read/prog/erase/sync functions, and error codes.
  • RTOS or bare-metal environment, locking needs, and whether dynamic allocation is allowed.
  • Whether formatting is allowed. Formatting can destroy existing data.
  • Current symptom and exact littlefs error code.

Integration Checklist

  1. Confirm block geometry. Set read_size, prog_size, block_size, block_count, cache_size, lookahead_size, and block_cycles from the real storage device, not guesses.

  2. Validate block operations. read, prog, erase, and sync must use block-relative offsets correctly and return negative error codes on failure.

  3. Respect flash rules. Programming can only change erased bits in the supported direction, writes must be aligned, and erase must cover whole erase blocks.

  4. Decide mount policy. Try lfs_mount first. Only call lfs_format after explicit user approval or when the product policy allows first-boot formatting.

Read the full file on GitHub · 97 lines

Changes

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.

  1. 12d ago First seen · 97 lines · 39 tokens per session scan A 3d776d2854ff

Subscribe to this mod's changes

littlefs-integration is a skill published in the GitHub repository easyzoom/aix-skills (31 stars, last pushed 1mo ago), licensed MIT. It adds 39 tokens to every session and 927 once invoked, about $0.0002 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-08-30.

Related

Other skills, from other repositories

container-home

Answer questions, assist with planning, and help with design decisions for Mick's off-grid shipping container lake home project. Trigger when the user mentions the container home, lake home, Stewart County, LBL, the expansion, solar system, septic permitting, or retirement property.

mickpletcher/AI-Skills · 57 tokens

digital-twin-sync

Synchronize construction digital twins with real-time data. Connect BIM models with IoT sensors, progress updates, and field data for live project visualization and monitoring.

datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction · 36 tokens

drone-site-survey

Process drone survey data for construction sites. Generate orthomosaics, DEMs, point clouds, calculate volumes, track progress, and integrate with BIM models for comparison.

datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction · 40 tokens

json-parser

Parse and validate JSON data from construction APIs, IoT sensors, and BIM exports. Transform nested JSON to flat DataFrames.

datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction · 28 tokens

equipment-fleet-manager

Manage construction equipment fleet. Track utilization, maintenance, and assignments.

datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction · 18 tokens

energy-efficiency

Audit a manufacturing energy management system for monitoring quality, cost optimization, and compliance. Triggers: building or reviewing industrial energy platforms, building management systems, or sustainability reporting tools.

tinh2/skills-hub-registry · 39 tokens