Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

config-nvs

Skill by smart-swimmingpool

Documents how the pool-controller firmware stores configuration in ESP32 NVS through the ConfigManager API. Covers key naming, OTA-safe persistence, factory reset and adding new config fields. Written for developers of this firmware.

  • Score 49
  • 27 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install config-nvs

Built from the published package, never by AI.

git clone --depth 1 https://github.com/smart-swimmingpool/pool-controller /tmp/pool-controller && mkdir -p ~/.claude/skills && cp -r /tmp/pool-controller/.opencode/skills/config-nvs ~/.claude/skills/config-nvs

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install config-nvs in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill documents how the pool-controller firmware stores its configuration on an ESP32. It uses the Arduino Preferences library to write settings to NVS, replacing an older LittleFS JSON file. A static ConfigManager class provides begin, load, save and reset calls, plus getters for WiFi, MQTT, NTP and controller settings.

The skill also covers the NVS key map, OTA-safe persistence, boot version tracking and factory reset. It includes steps for adding a new config field, with a worked example. It is aimed at developers working on this pool-controller firmware.

Written from the project's SKILL.md and checked against it.

What it can do

  • ConfigManager APIDescribes begin, load, save and reset calls and the getters for each config struct.
  • NVS key mapLists every NVS key, its type, the struct field it maps to and its default value.
  • NVS vs LittleFS comparisonCompares NVS and LittleFS/JSON storage on OTA survival, wear leveling, power-fail safety and boot speed.
  • OTA-safe persistenceExplains which firmware update methods leave NVS data intact.
  • Boot version trackingDescribes logOtaTransition() and how it detects first boot, OTA updates and normal boots.
  • Factory resetExplains how ConfigManager::reset() clears the config namespace and restores defaults.
  • Adding a config fieldGives five steps and an example for adding a new setting to the configuration.

What you need

  • ESP32 hardware
  • Arduino Preferences library
  • PlatformIO

Try asking

  • Add a new heaterTimeout setting to the pool-controller config
  • Explain how ConfigManager::save() persists settings to NVS
  • Write a factory reset flow for the pool-controller web portal

Good to know

  • Running pio run --target erase wipes NVS data
  • Changes to config fields must be saved explicitly with ConfigManager::save()
  • The old OTA backup and restore logic has been removed

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .opencode/skills/config-nvs/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to config-nvs

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

config-nvs: common questions

Does NVS config survive an OTA update?

The source says NVS data survives OTA updates because the NVS partition is never touched by OTA. It also survives USB flashing when Erase All Flash Before Sketch Upload is disabled.

Why use NVS instead of LittleFS for config?

The source lists NVS advantages: built-in wear leveling, power-fail safe atomic writes, instant boot without mounting a filesystem, and no extra partition.

Where are the NVS key names defined?

The source says the exact key names are defined as constexpr values at the top of src/ConfigManager.cpp.

How do I install config-nvs?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is config-nvs free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is config-nvs safe to use?

It scores 49 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to config-nvs?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

config-nvs Install

Add to stack

Loading.