compose-data

compose-data is a skill for Claude Code from Meet-Miyani/compose-skill. It costs 151 tokens per session (3,235 once invoked), scanned A, original, MIT.

A set of instructions for building the data layer of Jetpack Compose and Compose Multiplatform apps. It covers turning server data into app data, network clients, authentication, local storage, live connections, paging, offline use and data-layer tests.

In plain words
What is it for?
Use it when creating or reviewing repositories, network data sources, data-transfer objects, mappers, Ktor clients, Room databases, DataStore storage, WebSocket or server-sent event connections, Paging 3, offline-first flows and related tests.
Why use it?
It helps keep server-specific details out of the rest of the app and gives the coding agent rules for handling unreliable networks, stored data and data conversion consistently.

Skill for Claude Code

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

Part of the compose-kit plugin — 7 skills shipped together

Good fit Use it when creating or reviewing repositories, network data sources, data-transfer objects, mappers, Ktor clients, Room databases, DataStore storage, WebSocket or server-sent event connections, Paging 3, offline-first flows and related tests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/meet-miyani/compose-skill/compose-data
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 Meet-Miyani/compose-skill --skill compose-data
Clone the repo
git clone --depth 1 https://github.com/Meet-Miyani/compose-skill

Made for: Claude Code.

Or install compose-kit, the plugin that ships this one along with the rest of its 7 skills.

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 compose-data

README.md
[![agentmods](https://agentmods.dev/badge/skills/meet-miyani/compose-skill/compose-data/github.svg)](https://agentmods.dev/skills/meet-miyani/compose-skill/compose-data)
Your own site
<a href="https://agentmods.dev/skills/meet-miyani/compose-skill/compose-data"><img src="https://agentmods.dev/badge/skills/meet-miyani/compose-skill/compose-data/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 compose-data

Your own site · 80×15
<a href="https://agentmods.dev/skills/meet-miyani/compose-skill/compose-data"><img src="https://agentmods.dev/badge/skills/meet-miyani/compose-skill/compose-data.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 151 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,235 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.00151 $0.03235
Opus 5.5 $0.00060 $0.01294
Sonnet 5.5 $0.00030 $0.00647
Haiku 4.5 $0.00015 $0.00324

Measured 11d ago against content hash 25b45805bf43, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

compose-data 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 11d 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/compose-data/SKILL.md · 126 lines

How it starts

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

Compose Data

Operating stance

You are acting as a senior staff mobile engineer who owns this codebase's architecture. You are accountable for how it looks in two years, not for pleasing the requester today.

The data layer is a boundary guard, not a pass-through. Every wire type stops here; only domain types leave. Satisfying the wording of a rule while defeating its purpose is a violation.

Validate-before-you-answer contract

  1. Verify, do not recall. Every API, helper and file you reference has been seen in this project during this task, or in current official docs. A plausible name is not a verified one. The kit's own contract is known: the templates/core shapes (BaseViewModel, launchGuarded, AppError, NetworkException) and every type or file the task context names count as seen. Never call an invented third-party method.
  2. Check the question before answering it. Read the code, check the non-negotiables below, answer yes or no first with evidence (file path or doc URL).
  3. Say no when the answer is no. State the correct approach and, when the task asks for an implementation, deliver the correct implementation in the same answer. A refusal without it is incomplete. Keep pushback short, plain-spoken and proportional (see the compose-architecture skill, Operating stance items 7–11). Routing, case classification and verification gates stay silent there.
  4. Unverifiable means say so. Say what you would need to check. Never present a guess as a fact.
  5. Fresh docs before new library code. Before setting up or writing code against Ktor, Room, DataStore, Paging, kotlinx.serialization or any new SDK: read the version in gradle/libs.versions.toml, read the current official docs for that version, then write. Unreachable docs means marking the code unverified. The full contract lives in the compose-architecture skill.

When NOT to use

Task Use instead
Route first: decide the task path and files to read the compose skill, before anything below
ViewModel, Contract, Route, error tier choice, launchGuarded wiring the compose-architecture skill (tiers) and the compose-feature skill (workflow)
Composables, lists, stability, resources the compose-ui skill
commonMain vs platform splits, expect/actual, iOS/Swift export the compose-platform skill
Modules, convention plugins, version catalog, CI the compose-project skill

Read the full file on GitHub · 126 lines

Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 11d ago Changed 25b45805bf43
  2. 15d ago First seen · 126 lines · 151 tokens per session scan A 884a81f36914

Subscribe to this mod's changes

compose-data is a skill published in the GitHub repository Meet-Miyani/compose-skill (304 stars, last pushed yesterday), licensed MIT. It adds 151 tokens to every session and 3,235 once invoked, about $0.0006 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-10-02.

Related

Other skills, from other repositories

offline-first

Offline-first architecture patterns - NetworkBoundResource, sync strategies, conflict resolution, cache invalidation, and connectivity monitoring.

TalissonVitorino/kmp-ios-skills · 26 tokens

cloudkit

Implement, review, or debug iCloud sync in iOS/macOS apps with CloudKit. Covers CKContainer + private/public/shared CKDatabase, CKRecord / CKRecord.Reference / CKAsset, CKQuery + CKQueryOperation, CKSubscription (query/database/recordZone) with silent push, CKSyncEngine (iOS 17+: state serialization…

TalissonVitorino/kmp-ios-skills · 209 tokens

cmp-firebase-connect

Add Firebase to a create-cmp app and wire it to its OWN real Firebase project. Use this when the user wants Firebase in their app, or asks "add firebase", "connect my app to firebase", "set up google-services.json", "wire firebase", "create a firebase project for this app", "replace the mock firebase config", "get a…

kvdm-co-pilot/create-cmp · 195 tokens

compose-animations

Use when writing or reviewing Jetpack Compose motion: visibility enter/exit, animating one property toward a target, color or size transitions, multiple properties from one state, switching composable content, or choosing between AnimatedVisibility, animateAsState, rememberTransition, AnimatedContent, and Crossfade.

chrisbanes/skills · 64 tokens

compose-focus-navigation

Use when writing or reviewing Jetpack Compose UI for TV, keyboard, desktop, accessibility focus, D-pad navigation, FocusRequester, focusProperties, key events, or initial focus behavior.

chrisbanes/skills · 41 tokens

roborazzi

Use when working with Roborazzi screenshot tests on Android/JVM — setting up the Roborazzi Gradle plugin, running record/compare/verify tasks, writing tests with captureRoboImage or RoborazziRule, Compose Preview screenshot testing (ComposablePreviewScanner), Compose Multiplatform (iOS/desktop) screenshots, AI-powered…

takahirom/roborazzi · 95 tokens