data-dictionary

data-dictionary is a skill for Claude Code from andregusman-raiz/a-gusman-claude. It costs 54 tokens per session (1,823 once invoked), scanned A, original, MIT.

A tool that turns Drizzle, Prisma, SQL, or TypeScript database schemas into a Markdown data dictionary. It documents tables, columns, data types, relationships, constraints, indexes, and row-level security rules.

In plain words
What is it for?
Use it to create readable documentation for an existing database schema, including column details, foreign-key relationships, indexes, and access rules.
Why use it?
It removes the need to write database documentation by hand and helps keep schema references consistent with the code.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: model in frontmatter.

Good fit Use it to create readable documentation for an existing database schema, including column details, foreign-key relationships, indexes, and access rules.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/andregusman-raiz/a-gusman-claude/data-dictionary
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 andregusman-raiz/a-gusman-claude --skill data-dictionary
Clone the repo
git clone --depth 1 https://github.com/andregusman-raiz/a-gusman-claude

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-dictionary

README.md
[![agentmods](https://agentmods.dev/badge/skills/andregusman-raiz/a-gusman-claude/data-dictionary/github.svg)](https://agentmods.dev/skills/andregusman-raiz/a-gusman-claude/data-dictionary)
Your own site
<a href="https://agentmods.dev/skills/andregusman-raiz/a-gusman-claude/data-dictionary"><img src="https://agentmods.dev/badge/skills/andregusman-raiz/a-gusman-claude/data-dictionary/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-dictionary

Your own site · 80×15
<a href="https://agentmods.dev/skills/andregusman-raiz/a-gusman-claude/data-dictionary"><img src="https://agentmods.dev/badge/skills/andregusman-raiz/a-gusman-claude/data-dictionary.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,823 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: 1 finding, up to medium

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 →

  • medium Excessive Agency · line 4
    Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.
    Fix: Remove the model/provider override or disclose it prominently and require explicit operator approval before invoking an external coding CLI or billed model.
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.00054 $0.01823
Opus 5 $0.00027 $0.00911
Sonnet 5 $0.00011 $0.00365
Haiku 4.5 $0.00005 $0.00182

Measured 7d ago against content hash 8565271ad8f5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

data-dictionary 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 7d 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.

skills/data-dictionary/SKILL.md · 273 lines

How it starts

The opening of the file, as written. The whole thing — 273 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Data Dictionary Skill

Gerar dicionarios de dados completos a partir de schemas existentes.

Output Format

Cada tabela/entidade gera uma secao markdown:

### users

Usuarios do sistema.

| Column | Type | Nullable | Default | Description | FK |
|--------|------|----------|---------|-------------|----|
| id | uuid | No | gen_random_uuid() | Primary key | - |
| name | varchar(100) | No | - | Nome completo | - |
| email | varchar(255) | No | - | Email unico | - |
| role_id | uuid | Yes | null | Perfil do usuario | roles.id |
| created_at | timestamptz | No | now() | Data de criacao | - |
| updated_at | timestamptz | No | now() | Data de atualizacao | - |

**Indexes**: `users_email_key` (UNIQUE on email), `users_role_id_idx` (on role_id)
**RLS**: Enabled — users can only read their own row

From Drizzle Schema

// Parse pgTable definitions
import { pgTable, uuid, varchar, timestamp, boolean } from 'drizzle-orm/pg-core';

export const users = pgTable('users', {
  id: uuid('id').defaultRandom().primaryKey(),
  name: varchar('name', { length: 100 }).notNull(),
  email: varchar('email', { length: 255 }).notNull().unique(),
  roleId: uuid('role_id').references(() => roles.id),
  active: boolean('active').default(true).notNull(),
  createdAt: timestamp('created_at', { withTimezone: true }).defaultNow().notNull(),
});

Extrair:

  1. Nome da tabela: primeiro arg de pgTable()
  2. Colunas: cada propriedade do objeto
  3. Tipo: uuid(), varchar(), timestamp(), etc.
  4. Nullable: presenca de .notNull() (default e nullable)
  5. Default: .default(), .defaultRandom(), .defaultNow()
  6. FK: .references(() => table.column)
  7. Constraints: .unique(), .primaryKey()

From Prisma Schema

model User {
  id        String   @id @default(uuid())
  name      String
  email     String   @unique
  role      Role?    @relation(fields: [roleId], references: [id])
  roleId    String?
  posts     Post[]
  active    Boolean  @default(true)
  createdAt DateTime @default(now())
  updatedAt DateTime @updatedAt

  @@index([roleId])
  @@map("users")
}

Read the full file on GitHub · 273 lines

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. 7d ago First seen · 273 lines · 54 tokens per session scan A 8565271ad8f5

Subscribe to this mod's changes

data-dictionary is a skill published in the GitHub repository andregusman-raiz/a-gusman-claude (19 stars, last pushed 2d ago), licensed MIT. It adds 54 tokens to every session and 1,823 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-03.

Related

Other skills, from other repositories

lark-base

A guide for managing Lark Base, Feishu's spreadsheet-like database and workspace tool. It covers tables, fields, records, views, formulas, forms, dashboards, applications, workflows, and permissions.

Pinvou/pinvou-agent · 166 tokens

docs-sync-internal

Use when code changes on the current branch need matching internal or developer documentation — "update our internal docs", "the architecture docs are stale after this change", "document what I just changed", "do the dev docs still match the code?" — or as a pre-push check that developer docs track the code. Narrower…

The01Geek/prflow · 105 tokens

lab-report-writer

A writing workflow for producing structured, journal-style laboratory, research, engineering, or competition reports from experiment details and results.

endearqb/endearqb-skills · 256 tokens

community-profiler

A skill for analyzing technical community chat records from text, screenshots, JSON, or CSV. It creates member profiles, activity assessments, influence rankings, and community-health findings.

endearqb/endearqb-skills · 226 tokens

svg-flowchart

A tool for turning written steps into a consistent SVG flowchart. SVG is a scalable image format that can be embedded in web pages and documents.

endearqb/endearqb-skills · 256 tokens

frontend-dataviz

A skill for choosing and creating clear charts from user-provided data, following the Storytelling with Data approach. It matches chart types to tasks such as comparing categories, showing trends, or displaying distributions.

endearqb/endearqb-skills · 124 tokens