flashdb-integration

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

A guide for using FlashDB, an embedded database that stores key-value settings or time-series records in flash memory. It explains how storage backends, flash sectors, erasing, locking, and data retention affect the database.

In plain words
What is it for?
Use it for device configuration, parameters, logs, events, and time-stamped records stored in raw flash, a filesystem, or another embedded storage layer.
Why use it?
Initialization errors, lost data, full storage, and flash wear often come from incorrect sector geometry or erase behavior. The guide helps check those details before formatting or deleting stored data.

Skill for Claude CodeCodex

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

Good fit Use it for device configuration, parameters, logs, events, and time-stamped records stored in raw flash, a filesystem, or another embedded storage layer.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/easyzoom/aix-skills/flashdb-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 flashdb-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 flashdb-integration

README.md
[![agentmods](https://agentmods.dev/badge/skills/easyzoom/aix-skills/flashdb-integration.svg)](https://agentmods.dev/skills/easyzoom/aix-skills/flashdb-integration)
Your own site
<a href="https://agentmods.dev/skills/easyzoom/aix-skills/flashdb-integration"><img src="https://agentmods.dev/badge/skills/easyzoom/aix-skills/flashdb-integration.svg" alt="Measured on agentmods" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 817 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.00037 $0.00817
Opus 5 $0.00018 $0.00409
Sonnet 5 $0.00007 $0.00163
Haiku 4.5 $0.00004 $0.00082

Measured 8d ago against content hash 706eb93d8657, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

flashdb-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 8d 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/flashdb-integration/SKILL.md · 95 lines

How it starts

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

FlashDB Integration

Overview

Use this skill to integrate FlashDB as an embedded key-value or time-series database. The agent should confirm storage mode, flash/file backend, sector geometry, erase policy, and data-retention requirements before formatting or deleting database sectors.

When To Use

Use this skill when:

  • The user wants to add FlashDB KVDB or TSDB for parameters, configuration, logs, events, or time-series records.
  • The issue involves init failure, sector size, erase errors, lost keys, database full, migration, blob values, timestamps, or flash wear.
  • The project mentions FlashDB, fdb_kvdb, fdb_tsdb, KVDB, TSDB, fdb_cfg, or fdb_port.

Do not use this skill for raw filesystem work without FlashDB. Use littlefs-integration or storage-specific skills instead.

First Questions

Ask for:

  • Database type: KVDB, TSDB, or both.
  • Backend: raw flash, FAL partition, filesystem, or vendor storage layer.
  • Sector size, partition size, erase value, write alignment, and flash driver status.
  • RTOS or bare-metal environment and locking requirements.
  • Whether existing database data must be preserved.
  • Current error log, assert, return code, or database output.

Integration Checklist

  1. Confirm database purpose. Use KVDB for named settings and TSDB for append-style time records. Do not force both if one is enough.

  2. Confirm storage backend. Identify whether FlashDB talks to raw flash, FAL, filesystem, or a custom port.

  3. Match sector geometry. Sector size and partition boundaries must match the real erase granularity and FlashDB configuration.

  4. Preserve data by default. Do not format, clean, or recreate the database unless the user approves data loss or confirms it is a first-boot path.

  5. Add locking when shared. Protect database operations if multiple tasks, shell commands, logging callbacks, or ISRs can access it.

  6. Verify both metadata and values. Read back keys or TSDB records after reboot, not only immediately after write.

Read the full file on GitHub · 95 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. 8d ago First seen · 95 lines · 37 tokens per session scan A 706eb93d8657

Subscribe to this mod's changes

flashdb-integration is a skill published in the GitHub repository easyzoom/aix-skills (31 stars, last pushed 1mo ago), licensed MIT. It adds 37 tokens to every session and 817 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

ecto-patterns

Ecto patterns — schemas, changesets, queries, migrations, Multi, associations, preloads, upserts. Use when editing Repo calls, Ecto.Query, or schema fields. Skip for Ash.

oliver-kriska/claude-elixir-phoenix · 45 tokens

phoenix-contexts

Phoenix context design — creating/splitting contexts, Scope (1.8+), Ecto.Multi, PubSub, routers, plugs, controllers. Use when editing contexts, routers, or designing boundaries.

oliver-kriska/claude-elixir-phoenix · 46 tokens

ecto-n1-check

Detect N+1 query anti-patterns specifically — Repo calls inside Enum/for loops, missing preloads on associations. Use when N+1 is explicitly suspected, NOT for unrelated Ecto questions or wider database performance.

oliver-kriska/claude-elixir-phoenix · 49 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

sql-query-builder

Build SQL queries for construction databases. Generate optimized SQL queries for construction data retrieval.

datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction · 19 tokens