ai-design-vault: Command for Claude Code

.claude/commands/data.md

data is a command for Claude Code from textura-agency/ai-design-vault. It costs 8 tokens per session (260 once invoked), scanned A, original, Unlicense.

A database task command adds or operates a project's database while checking whether a database is needed and how the application should connect to it.

In plain words
What is it for?
Use it to plan database use, configure runtime and migration connections, validate environment keys, protect user-data tables with row-level security, and handle schema changes.
Why use it?
It helps avoid unsafe production changes, unsuitable connection methods, exposed secrets, and access rules that leave user data unprotected.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

This is textura-agency/ai-design-vault's own configuration. It tells Claude Code how to work on ai-design-vault itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ai-design-vault configures →

Reuse

Borrowing it

Nothing to install: this file belongs to textura-agency/ai-design-vault. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/textura-agency/ai-design-vault/main/.claude/commands/data.md
Clone the repo
git clone --depth 1 https://github.com/textura-agency/ai-design-vault

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 data

README.md
[![agentmods](https://agentmods.dev/badge/commands/textura-agency/ai-design-vault/data/github.svg)](https://agentmods.dev/commands/textura-agency/ai-design-vault/data)
Your own site
<a href="https://agentmods.dev/commands/textura-agency/ai-design-vault/data"><img src="https://agentmods.dev/badge/commands/textura-agency/ai-design-vault/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 data

Your own site · 80×15
<a href="https://agentmods.dev/commands/textura-agency/ai-design-vault/data"><img src="https://agentmods.dev/badge/commands/textura-agency/ai-design-vault/data.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 8 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 260 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.00008 $0.00260
Opus 5.5 $0.00003 $0.00104
Sonnet 5.5 $0.00002 $0.00052
Haiku 4.5 $0.00001 $0.00026

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

Security

Grade A, and why

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 23d 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/commands/data.md · 26 lines

What it actually says

Database task: $ARGUMENTS

Use the database skill. First: does this project need a database at all? A marketing site usually does not — form submissions go to a CRM, content to a CMS.

The things that go wrong first:

  • Connection strings are not interchangeable. Pooled for app runtime, direct for migrations. Transaction-mode pooling has no prepared statements. Migrations through the pooler is the classic failure.
  • Pick for the runtime. Serverless needs a pooled or HTTP driver; a plain TCP pool exhausts connections. A static/SPA stack cannot talk to a database at all without a function layer.
  • Use current keys, stored server-only and validated in the env module. The secret key bypasses row-level security entirely.
  • RLS on every user-data table, with an index on any column a policy filters.
  • Never point local dev at production — a schema push will rewrite it.

If a CMS owns the schema, it owns migrations too; use the database CLI only for what sits outside its tables.

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. 23d ago First seen · 26 lines · 8 tokens per session scan A 3163b7c57123

Subscribe to this mod's changes

data is a command published in the GitHub repository textura-agency/ai-design-vault (25 stars, last pushed 2mo ago), licensed Unlicense. It adds 8 tokens to every session and 260 once invoked, about $0.0000 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-14.

Related

data compared with commands from other repositories

data next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
datatextura-agency/ai-design-vaultCommand252mo agoUnlicenseA8Claude Code
initfcakyon/claude-codex-settingsCommand1.2kyesterdayApache-2.0A0Claude Code
securityajitpratap0/GoSQLXCommand1242d agoApache-2.0A21Claude Code
database-setupimsaif/design-with-claudeCommand11yesterdayMITA36Claude Code
new-migrationRaNDoM6913/claude-code-superkitCommand3yesterdayMITA22Claude Code
json.batch_getstratalab/strata-coreCommand51mo agoApache-2.0A0Claude Code
json.index.dropstratalab/strata-coreCommand51mo agoApache-2.0A0Claude Code