data-model-documentation

data-model-documentation is a skill for Claude Code, Codex from BanibrataChatterjee/AwesomeSalesforceSkills. It costs 97 tokens per session (2,539 once invoked), scanned A, original, Apache-2.0.

A guide to documenting the structure of Salesforce data, including objects, fields, and relationships.

In plain words
What is it for?
Use it to create field inventories, data dictionaries, relationship maps, and entity-relationship diagrams without changing the data model.
Why use it?
It gives developers and administrators a shared reference for understanding what data exists and how records connect.

Skill for Claude CodeCodex

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

Good fit Use it to create field inventories, data dictionaries, relationship maps, and entity-relationship diagrams without changing the data model.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/banibratachatterjee/awesomesalesforceskills/data-model-documentation
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 BanibrataChatterjee/AwesomeSalesforceSkills --skill data-model-documentation
Clone the repo
git clone --depth 1 https://github.com/BanibrataChatterjee/AwesomeSalesforceSkills

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 data-model-documentation

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/banibratachatterjee/awesomesalesforceskills/data-model-documentation"><img src="https://agentmods.dev/badge/skills/banibratachatterjee/awesomesalesforceskills/data-model-documentation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,539 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.00097 $0.02539
Opus 5 $0.00048 $0.01269
Sonnet 5 $0.00019 $0.00508
Haiku 4.5 $0.00010 $0.00254

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

Security

Grade A, and why

data-model-documentation 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 6d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/check_data_model_documentation.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/admin/data-model-documentation/SKILL.md · 197 lines

How it starts

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

Data Model Documentation

Use this skill when you need to produce documentation artifacts describing an existing or new Salesforce data model: field inventories, ER diagrams, object relationship maps, or a data dictionary. This skill produces the documentation — it does not design or change the model.


Before Starting

Gather this context before working:

  • Which objects are in scope? Confirm whether the request covers standard objects, all custom objects, a specific functional area (e.g., Service objects, Sales objects), or the full org.
  • Is access to the Salesforce org available (Setup → Object Manager, Schema Builder), or is this a metadata-only analysis (retrieved via Metadata API or SFDX)?
  • What is the target audience and format? A developer data dictionary (API names, types, FLS) differs from a business ER diagram (labels, relationships, business descriptions).
  • Are there objects with more than 800 fields? Each standard or custom object supports up to 800 custom fields total (limits vary by object type per the Object Reference). Document-only orgs that hit field limits often have undocumented or duplicated fields.

Core Concepts

Objects and Fields in Salesforce

Every record in Salesforce is an instance of an sObject. Standard objects (Account, Contact, Opportunity, Case) are provided by Salesforce. Custom objects have API names ending in __c. Fields on objects have an API name, a field type (Text, Number, Date, Lookup, etc.), a label visible to users, and metadata properties including Required, Unique, External ID, and Field-Level Security (FLS).

The Object Reference defines the field types, cardinality rules, and behavior of each relationship field type. Lookup fields create a loosely coupled many-to-one relationship; deleting the parent leaves the child intact (blank lookup). Master-Detail fields create a tightly coupled relationship; deleting the master deletes the child (cascade delete). Each object can have up to two Master-Detail relationships.

Read the full file on GitHub · 197 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 6d ago First seen · 197 lines · 97 tokens per session scan A f598747366a3

Subscribe to this mod's changes

data-model-documentation is a skill published in the GitHub repository BanibrataChatterjee/AwesomeSalesforceSkills (3 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 97 tokens to every session and 2,539 once invoked, about $0.0005 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

truss-schema

Ground a database schema change in this application's real structure using Laravel Truss. Use when adding or altering tables, columns, indexes, or foreign keys, when a migration needs to match what is already there, or when you need to know what a migration actually changed. Structure only, never data.

albertoarena/laravel-truss · 63 tokens

kg-modality-consensus

Operate the engine's distributed substrate — openraft consensus with automatic failover, multi-Raft groups, online resharding (ownership move / hibernate / rehydrate), cross-shard 2PC, and the per-tenant catalog — plus the scope-gated ADMIN tier: RBAC policy administration and ops backup/restore. Use when scaling the…

Knuckles-Team/epistemic-graph · 133 tokens

sql2er

Use when the user wants a Chen-model ER diagram from SQL CREATE TABLE statements or DBML, wants to rearrange or clean up an existing sql2er state, wants a skeleton-only overview with attributes hidden at generate time, or needs drawio/svg/png/json/html exports with final visual review.

ystemsrx/sql_to_ER · 63 tokens

documentdb-collection-admin

Database, collection, and user administration on a DocumentDB (MongoDB-compatible, PostgreSQL-backed) server via the documentdb-mcp MCP server — list/create/drop/rename databases and collections, and manage database users and their roles. Use when the agent must provision or tear down namespaces, enumerate the…

Knuckles-Team/documentdb-mcp · 106 tokens

django

Operational skill for Django: models, ORM query hygiene, migrations, views/URLs, settings security, and admin customization.

alivirgo/Major-AI-Skills · 26 tokens

mk:database

Design and safely evolve data models, database schemas, migrations, queries, indexes, and ORM data-access boundaries. Use for data-model, migration, query, index, ORM schema, or datastore-selection tasks. Discover the existing engine and migration source before proposing syntax.

ngocsangyem/MeowKit · 56 tokens