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 agentmods add skills/nylo-core/claude-code/nylo-storagenpx skills add nylo-core/claude-code --skill nylo-storagegit clone --depth 1 https://github.com/nylo-core/claude-codeWhat 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 | $0.00053 | $0.03093 |
| Opus 5 | $0.00026 | $0.01546 |
| Sonnet 5 | $0.00011 | $0.00619 |
| Haiku 4.5 | $0.00005 | $0.00309 |
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 2d 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 — 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"]);
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.
- 2d ago First seen · 449 lines · 53 tokens per session scan A 34fe025f0e6d
nylo-storage is a skill published in the GitHub repository nylo-core/claude-code (4 stars, last pushed 4mo ago), licensed MIT. It adds 53 tokens to every session and 3,093 once invoked, about $0.0003 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-31.
Other skills, from other repositories
at_client_skills-sdk
Use this skill when a developer is building a Dart or Flutter app that depends on atclient or atclientflutter from pub.dev, stores or shares data via the Atsign Protocol, needs onboarding (CRAM new-atsign, atKeys file, keychain, APKAM) or APKAM enrollment, or asks about AtCollection , CItem , Query , sub-collections…
firebase-messaging
Use when setting up Firebase Cloud Messaging, managing permissions and tokens, handling background/foreground notification taps, or dispatching messages server-side (HTTP v1).
dart-3-updates
Use when writing switch statements, refactoring if-else chains, creating data classes, choosing records vs classes, destructuring values, or modernizing pre-Dart-3 code.
effective-dart
Use when writing Dart code, reviewing for style, refactoring naming, adding doc comments, structuring imports, or enforcing type annotations.
riverpod
Use when setting up providers, combining requests, managing state disposal, passing arguments, performing side effects, or testing providers (Riverpod).
firebase-analytics
Use when logging analytics events, setting user properties, configuring default event parameters, building funnels, or adding screen-view tracking.