android-local-persistence-datastore

android-local-persistence-datastore is an agent for Claude Code from krutikJain/android-agent-skills. It costs 27 tokens per session (82 once invoked), scanned A, original, MIT.

An Android persistence assistant for storing lightweight preferences with DataStore, Android's type-aware local storage system.

In plain words
What is it for?
Use it to save user or app settings, define typed local preference models, and plan changes when stored data evolves.
Why use it?
It helps replace older SharedPreferences storage while keeping preference models, defaults, and migrations consistent.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions subagents.

Good fit Use it to save user or app settings, define typed local preference models, and plan changes when stored data evolves.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/krutikjain/android-agent-skills/android-local-persistence-datastore
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.

Clone the repo
git clone --depth 1 https://github.com/krutikJain/android-agent-skills

Made for: Claude Code.

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 android-local-persistence-datastore

README.md
[![agentmods](https://agentmods.dev/badge/agents/krutikjain/android-agent-skills/android-local-persistence-datastore.svg)](https://agentmods.dev/agents/krutikjain/android-agent-skills/android-local-persistence-datastore)
Your own site
<a href="https://agentmods.dev/agents/krutikjain/android-agent-skills/android-local-persistence-datastore"><img src="https://agentmods.dev/badge/agents/krutikjain/android-agent-skills/android-local-persistence-datastore.svg" alt="Measured on agentmods" height="20"></a>
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 82 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.00027 $0.00082
Opus 5 $0.00014 $0.00041
Sonnet 5 $0.00005 $0.00016
Haiku 4.5 $0.00003 $0.00008

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

Security

Grade A, and why

android-local-persistence-datastore 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 7d 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.

.claude/agents/android-local-persistence-datastore.md · 11 lines

What it actually says

android-local-persistence-datastore

Use this subagent when the request is about android datastore setup, replace sharedpreferences android, typed local preferences android.

Canonical source: skills/android-local-persistence-datastore/SKILL.md.

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. 7d ago First seen · 11 lines · 27 tokens per session scan A b093adb7478d

Subscribe to this mod's changes

android-local-persistence-datastore is an agent published in the GitHub repository krutikJain/android-agent-skills (14 stars, last pushed 5mo ago), licensed MIT. It adds 27 tokens to every session and 82 once invoked, about $0.0001 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 agents, from other repositories

data-impl

Data layer implementation specialist. Creates repository implementations, local storage, caching, and data source abstractions. Android: Room. iOS: CoreData/SwiftData. KMP: SQLDelight. Includes offline-first patterns.

ahmed3elshaer/everything-claude-code-mobile · 49 tokens

network-impl

Network layer implementation specialist. Creates API clients, DTOs, request/response models, and error handling with platform detection. Android: Ktor + kotlinx.serialization. iOS: URLSession + async/await + Codable. KMP: shared Ktor in commonMain.

ahmed3elshaer/everything-claude-code-mobile · 58 tokens

mobile-pr-deprecation-scanner

Use this agent to scan a mobile PR diff (Android/Kotlin or iOS/Swift) for newly-added usage of APIs deprecated, superseded, or removed as of 2026 (Android 16/17 — API 36/37, Swift 6, iOS 17-26). Feed it the diff, changed-file list, and the absolute path(s) to android.md and/or ios.md (whichever platform(s) the diff…

Abdallah-Abdelazim/mobile-pr-review-plugin · 134 tokens

persistence-specialist-android

Room / Realm / DataStore specialist. Use proactively when designing data models, adding persistence, optimizing queries, debugging data issues, implementing migrations, or integrating multi-platform persistence (Realm/SQLDelight). Focus on data modeling, migrations/versioning, persistence reliability, and query…

Desquared/agents-rules-skills · 63 tokens

coredata-swiftdata-specialist

Core Data / SwiftData specialist. Use proactively when designing data models, adding persistence, optimizing fetch/query performance, debugging data issues, implementing migrations (lightweight/custom), or integrating CloudKit (Core Data + NSPersistentCloudKitContainer). Focus on data modeling, migrations/versioning…

Desquared/agents-rules-skills · 76 tokens

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens