database

database is a skill for Claude Code, Codex from AsiaOstrich/universal-dev-standards. It costs 111 tokens per session (1,035 once invoked), scanned A, original, no licence file.

A guide to database structure, data migrations, queries, and indexes. A database stores application data; a migration changes its structure, and an index helps it find data faster.

In plain words
What is it for?
Use it for schema design, migration planning, SQL query optimisation, and index strategy.
Why use it?
It helps plan safe structure changes, choose indexes, and improve slow database queries.

Skill for Claude CodeCodex

Part of the universal-dev-standards plugin — 52 skills, 5 agents, 1 hook shipped together

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/asiaostrich/universal-dev-standards/database-assistant
Any agent
npx skills add AsiaOstrich/universal-dev-standards --skill database-assistant
Clone the repo
git clone --depth 1 https://github.com/AsiaOstrich/universal-dev-standards

Made for: Claude Code, Codex.

Or install universal-dev-standards, the plugin that ships this one along with the rest of its 52 skills, 5 agents, 1 hook.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/asiaostrich/universal-dev-standards/database-assistant.svg)](https://agentmods.dev/skills/asiaostrich/universal-dev-standards/database-assistant)
Your own site
<a href="https://agentmods.dev/skills/asiaostrich/universal-dev-standards/database-assistant"><img src="https://agentmods.dev/badge/skills/asiaostrich/universal-dev-standards/database-assistant.svg" alt="Measured on agentmods" height="20"></a>
Per session 111 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,035 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.00111 $0.01035
Opus 5 $0.00056 $0.00517
Sonnet 5 $0.00022 $0.00207
Haiku 4.5 $0.00011 $0.00103

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

Security

Grade A, and why

database 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 4d 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/skills/database-assistant/SKILL.md · 103 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

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. 4d ago First seen · 103 lines · 111 tokens per session scan A 1e94407e2ef3

Subscribe to this mod's changes

database is a skill published in the GitHub repository AsiaOstrich/universal-dev-standards (72 stars, last pushed 3d ago), with no licence file. It adds 111 tokens to every session and 1,035 once invoked, about $0.0006 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 skills, from other repositories

system-design-building-blocks

Select infrastructure components by the constraint each removes: load balancers, caches and invalidation, queues and pub/sub, CDN, API gateway, rate limiting, consistent hashing. Use when choosing cache, queue, replica, or edge layers; defer engine tuning to the database category.

HoangNguyen0403/agent-skills-standard · 61 tokens

system-design-data-architecture

Choose and scale the data layer: SQL versus NoSQL per access pattern, single data ownership, replication and read scaling, partition key choice, hot partition and celebrity key mitigation. Use when selecting a store, planning sharding, or fixing a data-tier bottleneck.

HoangNguyen0403/agent-skills-standard · 59 tokens

android-testing

Write Android unit, Compose UI, and Hilt-integrated tests. Use when designing test behavior with MockK or coroutine test utilities; defer database/WorkManager-specific recipes to the owning feature skill.

HoangNguyen0403/agent-skills-standard · 43 tokens

database-hana

Apply SAP HANA database standards for SQL parameterization, in-memory engine optimization, dynamic IN query chunking, column aliasing on joins, and datatype casting. Use when writing SQL for SAP HANA, optimizing HANA queries, or diagnosing HANA driver errors.

HoangNguyen0403/agent-skills-standard · 57 tokens

database-migrations

Plan additive, zero-downtime schema migrations with rollout, backfill, and rollback awareness. Use when renaming columns, backfilling data, or shipping risky database changes.

HoangNguyen0403/agent-skills-standard · 40 tokens

database-mongodb

Apply MongoDB data-modeling, indexing, and query rules from access patterns. Use when designing schemas, choosing embed vs reference, or tuning MongoDB query behavior.

HoangNguyen0403/agent-skills-standard · 37 tokens