nylo-storage

nylo-storage is a skill for Claude Code from nylo-core/claude-code. It costs 53 tokens per session (3,093 once invoked), scanned A, original, MIT.

A storage guide for Nylo v7, a Flutter framework for building mobile apps. It covers secure data saved across app restarts, temporary in-memory data, expiring caches, collections, and sessions.

In plain words
What is it for?
Use it when saving, reading, or deleting app data; caching values with an expiration time; managing lists or sessions; or keeping persistent and in-memory copies together.
Why use it?
It explains which storage method to use for data that must persist, data that needs fast runtime access, or data that should expire.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the nylo-claude-code plugin — 21 skills, 3 agents shipped together

Good fit Use it when saving, reading, or deleting app data; caching values with an expiration time; managing lists or sessions; or keeping persistent and in-memory copies together.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/nylo-core/claude-code/nylo-storage
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 nylo-core/claude-code --skill nylo-storage
Clone the repo
git clone --depth 1 https://github.com/nylo-core/claude-code

Made for: Claude Code.

Or install nylo-claude-code, the plugin that ships this one along with the rest of its 21 skills, 3 agents.

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 nylo-storage

README.md
[![agentmods](https://agentmods.dev/badge/skills/nylo-core/claude-code/nylo-storage/github.svg)](https://agentmods.dev/skills/nylo-core/claude-code/nylo-storage)
Your own site
<a href="https://agentmods.dev/skills/nylo-core/claude-code/nylo-storage"><img src="https://agentmods.dev/badge/skills/nylo-core/claude-code/nylo-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.

agentmods 80×15 button for nylo-storage

Your own site · 80×15
<a href="https://agentmods.dev/skills/nylo-core/claude-code/nylo-storage"><img src="https://agentmods.dev/badge/skills/nylo-core/claude-code/nylo-storage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,093 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.00053 $0.03093
Opus 5.5 $0.00021 $0.01237
Sonnet 5.5 $0.00011 $0.00619
Haiku 4.5 $0.00005 $0.00309

Measured 3mo ago against content hash 34fe025f0e6d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

nylo-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 3mo 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/nylo-storage/SKILL.md · 449 lines

How it starts

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

Nylo Storage

Overview

Nylo v7 provides three storage mechanisms: NyStorage for secure persistent storage (backed by flutter_secure_storage), Backpack for fast in-memory synchronous access, and cache() for time-based caching. They can be combined for hybrid patterns where data is persisted and also available synchronously.

When to Use

  • Persisting data across app restarts (NyStorage)
  • Fast synchronous reads during runtime (Backpack)
  • Caching API responses or computed data with expiration (cache)
  • Storing collections/lists of items
  • Managing temporary session data (sessions)
  • Dual storage: persistent + in-memory access
  • When NOT to use: For authentication data specifically, use nylo-auth; for API response caching, see nylo-networking

Quick Reference

Action Code
Save to storage await NyStorage.save("key", value)
Read from storage await NyStorage.read<String>("key")
Delete from storage await NyStorage.delete("key")
Save JSON await NyStorage.saveJson("key", map)
Read JSON await NyStorage.readJson("key")
Save with TTL await NyStorage.saveWithExpiry("key", val, ttl: Duration(hours: 1))
Save to Backpack backpackSave("key", value)
Read from Backpack backpackRead<String>("key")
Save to both await NyStorage.save("key", value, inBackpack: true)
Cache with expiry await cache().saveRemember("key", 300, () async => data)
Cache forever await cache().saveForever("key", () async => data)
Read cache await cache().get<String>("key")
Clear cache await cache().clear("key")
Add to collection await NyStorage.addToCollection("key", item: value)
Read collection await NyStorage.readCollection<String>("key")

NyStorage (Persistent Storage)

Stores data securely on device using flutter_secure_storage under the hood.

Basic Operations

// Save
await NyStorage.save("coins", 100);
await NyStorage.save("username", "Anthony");

// Read with type
int? coins = await NyStorage.read<int>("coins");
String? username = await NyStorage.read<String>("username");

// Read with default value
String name = await NyStorage.read("name", defaultValue: "Guest") ?? "Guest";

// Delete
await NyStorage.delete("username");
await NyStorage.deleteMultiple(["key1", "key2", "key3"]);
await NyStorage.deleteAll();
await NyStorage.deleteAll(excludeKeys: ["auth_token"]);

Read the full file on GitHub · 449 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. 3mo ago First seen · 449 lines · 53 tokens per session scan A 34fe025f0e6d

Subscribe to this mod's changes

nylo-storage is a skill published in the GitHub repository nylo-core/claude-code (4 stars, last pushed 7mo ago), licensed MIT. It adds 53 tokens to every session and 3,093 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-31.

Related

nylo-storage compared with skills from other repositories

nylo-storage next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
nylo-storagenylo-core/claude-codeSkill47mo agoMITA53Claude Code
at_client_skills-sdkatsign-foundation/at_client_sdkSkill1.4ktodayBSD-3-ClauseA220Claude Code
at-telemetry-app-eventsatsign-foundation/at_client_sdkSkill1.4ktodayBSD-3-ClauseA121Claude Code, Codex
flutterericrisco/rsc-harnessSkill6916d agoMITA91Claude Code, Codex
flutter-mcp-toolkit-controlArenukvern/mcp_flutterSkill4014d agoMITA38Claude Code
flutter-mcp-toolkit-debugArenukvern/mcp_flutterSkill4014d agoMITA32Claude Code
flutter-mcp-e2e-harnessArenukvern/mcp_flutterSkill4014d agoMITA117Claude Code, Codex