schema

schema is a skill for Claude Code, Codex from simota/agent-skills. It costs 37 tokens per session (4,797 once invoked), scanned A, original, MIT.

A database-design aid for modelling data, planning migrations, and drawing entity-relationship diagrams. It also covers multi-tenant systems, where one application serves multiple organisations with separated data and limits.

In plain words
What is it for?
Use it to design schemas, plan migrations, define row-level security, route tenants, provision them, and set quotas and isolation rules.
Why use it?
It helps teams make database structure and tenant isolation decisions before implementation creates costly migration or security problems.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to design schemas, plan migrations, define row-level security, route tenants, provision them, and set quotas and isolation rules.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/simota/agent-skills/schema
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 simota/agent-skills --skill schema
Clone the repo
git clone --depth 1 https://github.com/simota/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 schema

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/simota/agent-skills/schema"><img src="https://agentmods.dev/badge/skills/simota/agent-skills/schema.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,797 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Prompt Injection · line 6
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
  • medium Excessive Agency · line 105
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
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.00037 $0.04797
Opus 5.5 $0.00015 $0.01919
Sonnet 5.5 $0.00007 $0.00959
Haiku 4.5 $0.00004 $0.00480

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

Security

Grade A, and why

schema 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.

schema/SKILL.md · 299 lines

How it starts

The opening of the file, as written. The whole thing — 299 lines — stays where its author put it; the contents beside it link to each section 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 Changed · +1 lines 5b66e88f1504
  2. 8d ago Changed 785dfdab2d46
  3. 1mo ago Changed · -1 lines 33e0343289ba
  4. 1mo ago Changed · +37 tokens per session 09dac0172c31
  5. 1mo ago First seen · 299 lines · 0 tokens per session scan A 6cdbd539fa24

Subscribe to this mod's changes

schema is a skill published in the GitHub repository simota/agent-skills (95 stars, last pushed today), licensed MIT. It adds 37 tokens to every session and 4,797 once invoked, about $0.0001 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-09-03.

Related

Other skills, from other repositories

system-and-data-design

Decide whether the system will hold, and where the data lives: requirements and load first, then back-of-the-envelope numbers, building blocks (cache, queue, load balancer, CDN), and the data layer in depth — storage engines, indexes, replication, partitioning, transactions and consistency, batch vs stream. Use when…

AnastasiyaW/codex-claude-code-config · 217 tokens

sider

Category: Drug-centric | Type: DB | Subcategory: Adverse Drug Reaction (ADR) Link: http://sideeffects.embl.de/ | Paper: https://doi.org/10.1093/nar/gkv1075.

QSong-github/DrugClaw · 0 tokens

repodb-query

Query the RepoDB drug repurposing database. Use whenever the user asks about drug-disease associations, drug repurposing candidates, or wants to look up any entity (drug name, indication, DrugBank ID, UMLS CUI, NCT ID) in RepoDB.

QSong-github/DrugClaw · 61 tokens

backend-patterns

Backend architecture patterns, API design, database optimization, and server-side best practices for Node.js, Express, and Next.js API routes.

deepelementlab/clawcode · 31 tokens

clickhouse-io

ClickHouse database patterns, query optimization, analytics, and data engineering best practices for high-performance analytical workloads.

deepelementlab/clawcode · 26 tokens

database-migrations

Database migration best practices for schema changes, data migrations, rollbacks, and zero-downtime deployments across PostgreSQL, MySQL, and common ORMs (Prisma, Drizzle, Django, TypeORM, golang-migrate).

deepelementlab/clawcode · 52 tokens