Borrowing it
Nothing to install: this file belongs to themoment-team/datagsm-server. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/themoment-team/datagsm-server/master/.agents/skills/database-schema/SKILL.mdgit clone --depth 1 https://github.com/themoment-team/datagsm-serverWrote 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.
[](https://agentmods.dev/skills/themoment-team/datagsm-server/database-schema)<a href="https://agentmods.dev/skills/themoment-team/datagsm-server/database-schema"><img src="https://agentmods.dev/badge/skills/themoment-team/datagsm-server/database-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.
<a href="https://agentmods.dev/skills/themoment-team/datagsm-server/database-schema"><img src="https://agentmods.dev/badge/skills/themoment-team/datagsm-server/database-schema.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00024 | $0.00803 |
| Opus 5.5 | $0.00010 | $0.00321 |
| Sonnet 5.5 | $0.00005 | $0.00161 |
| Haiku 4.5 | $0.00002 | $0.00080 |
Grade A, and why
database-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 29d 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.
How it starts
The opening of the file, as written. The whole thing — 127 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Database Schema Design Guide
Before providing schema guidance, ask the user about their migration tooling:
AskUserQuestion: "DB 마이그레이션 도구로 무엇을 사용하고 있나요?"
options:
- Flyway
- Liquibase
- 사용하지 않음 (JPA DDL auto)
Then provide the relevant migration section below along with the core conventions.
Naming Conventions
- Tables:
snake_case, plural (users,api_keys) - Columns:
snake_case(created_at,is_active) - FK columns:
{referenced_table_singular}_id(user_id,club_id) - Index names:
idx_{table}_{columns}(idx_users_email) - UK names:
uq_{table}_{columns}(uq_users_email)
Standard Columns
Include in every entity table:
id BIGINT NOT NULL AUTO_INCREMENT PRIMARY KEY,
created_at DATETIME(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
updated_at DATETIME(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) ON UPDATE CURRENT_TIMESTAMP(6)
Index Strategy
- Single column used frequently in WHERE: simple index
- WHERE + ORDER BY combination: composite index (WHERE column first)
- Low-cardinality columns (
is_active,statusenum): indexing rarely helps
-- Composite index example
CREATE INDEX idx_posts_user_created ON posts (user_id, created_at DESC);
Migration — Flyway
(Include this section if the user selected Flyway)
File naming: V{version}__{description}.sql
db/migration/
V1__create_users.sql
V2__add_api_keys.sql
V3__add_index_users_email.sql
-- V2__add_api_keys.sql
CREATE TABLE api_keys (
id BIGINT NOT NULL AUTO_INCREMENT PRIMARY KEY,
user_id BIGINT NOT NULL,
key_value VARCHAR(64) NOT NULL,
created_at DATETIME(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),
updated_at DATETIME(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) ON UPDATE CURRENT_TIMESTAMP(6),
CONSTRAINT fk_api_keys_user FOREIGN KEY (user_id) REFERENCES users (id),
CONSTRAINT uq_api_keys_value UNIQUE (key_value)
);
Migration — Liquibase
(Include this section if the user selected Liquibase)
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.
- 29d ago First seen · 127 lines · 24 tokens per session scan A cda4caf072fe
database-schema is a skill published in the GitHub repository themoment-team/datagsm-server (29 stars, last pushed yesterday), licensed MIT. It adds 24 tokens to every session and 803 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-10-08.
database-schema compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| database-schemathemoment-team/datagsm-server | Skill | 29 | yesterday | MIT | A | 24 | Claude Code |
| spring-ecosystem-docspledgeandgrow/pledge-skills | Skill | 10 | 3mo ago | MIT | A | 43 | Claude Code, Codex |
| woocommerce-performancefinsilabs/awesome-ecommerce-skills | Skill | 63 | 14d ago | MIT | B | 26 | Claude Code, Codex |
| database-enumerationblacklanternsecurity/red-run | Skill | 302 | 14d ago | AGPL-3.0 | A | 56 | Claude Code, Codex |
| tucache-cachingtri5m/tutu-cache | Skill | 48 | 4mo ago | MIT | A | 43 | Claude Code, Codex |
| database-engineerbuiphucminhtam/forgewright | Skill | 49 | 5d ago | none | A | 45 | Claude Code |
| databasemiles990/claude-software-skills | Skill | 26 | 9mo ago | MIT | A | 14 | Claude Code, Codex |