database-testing

database-testing is a skill for Claude Code, Codex from almasumdev/awesome-mobile-testing-agent-skills. It costs 51 tokens per session (1,402 once invoked), scanned A, original, no licence file.

Guidance for testing database persistence layers, the code that saves and retrieves app data, using temporary in-memory databases and migration tests. A migration test checks that a database schema can safely change between versions.

In plain words
What is it for?
Use it to test DAOs, database queries, and schema migrations in Room, SQLite, SQLDelight, Core Data, Drift, or WatermelonDB.
Why use it?
It helps catch broken queries, data-access code, and schema upgrades without relying only on a production database.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/almasumdev/awesome-mobile-testing-agent-skills/database-testing
Any agent
npx skills add almasumdev/awesome-mobile-testing-agent-skills --skill database-testing
Clone the repo
git clone --depth 1 https://github.com/almasumdev/awesome-mobile-testing-agent-skills

Made for: Claude Code, Codex.

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 database-testing

README.md
[![agentmods](https://agentmods.dev/badge/skills/almasumdev/awesome-mobile-testing-agent-skills/database-testing.svg)](https://agentmods.dev/skills/almasumdev/awesome-mobile-testing-agent-skills/database-testing)
Your own site
<a href="https://agentmods.dev/skills/almasumdev/awesome-mobile-testing-agent-skills/database-testing"><img src="https://agentmods.dev/badge/skills/almasumdev/awesome-mobile-testing-agent-skills/database-testing.svg" alt="Measured on agentmods" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,402 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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 $0.00051 $0.01402
Opus 5 $0.00026 $0.00701
Sonnet 5 $0.00010 $0.00280
Haiku 4.5 $0.00005 $0.00140

Measured 3d ago against content hash 6e6ca241baa3, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

database-testing 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 3d 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.

.github/skills/integration/database-testing/SKILL.md · 136 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

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. 3d ago First seen · 136 lines · 51 tokens per session scan A 6e6ca241baa3

Subscribe to this mod's changes

database-testing is a skill published in the GitHub repository almasumdev/awesome-mobile-testing-agent-skills (1 stars, last pushed 4mo ago), with no licence file. It adds 51 tokens to every session and 1,402 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-09-01.

Related

Other skills, from other repositories

encrypted-databases

Encrypting local databases on mobile with SQLCipher, Room + EncryptedFile, or Realm encryption. Use when persisting structured sensitive data on device.

almasumdev/awesome-mobile-security-agent-skills · 35 tokens

caching-strategies

Apply read-through, write-through, TTL, LRU, and encrypted caches correctly across memory, disk, and secure storage on mobile.

almasumdev/awesome-mobile-performance-agent-skills · 33 tokens

ios-data-layer

Expert guidance on designing an iOS data layer using the repository pattern, SwiftData or Core Data for persistence, URLSession async for networking, and offline-first strategies. Use when designing persistence, caching, or sync.

almasumdev/awesome-ios-agent-skills · 47 tokens

kotlin-data-layer

Expert guidance on building a Kotlin offline-first data layer with Room, Retrofit, Flow-based observables, and the repository pattern. Use this for repositories, caching, and synchronization.

almasumdev/awesome-kotlin-android-agent-skills · 40 tokens

java-data-layer

Expert guidance on building an offline-first data layer in Java using Room, Retrofit, and the Repository pattern. Use this when designing repositories, DAOs, DTO-to-entity mapping, or cache strategies.

almasumdev/awesome-java-android-agent-skills · 44 tokens

kmp-offline-sync

Building an offline-first repository in KMP with Ktor + SQLDelight, including conflict resolution, background sync, and NetworkBoundResource-style flow. Use when designing features that must work without a connection.

almasumdev/awesome-kotlin-multiplatform-agent-skills · 47 tokens