design-custom-metadata

design-custom-metadata is a command for Claude Code from BanibrataChatterjee/AwesomeSalesforceSkills. It costs 0 tokens per session (496 once invoked), scanned A, original, Apache-2.0.

A command that designs or audits Salesforce configuration storage, including Custom Metadata Types and Custom Settings. These are Salesforce records used to store configuration that code, flows, or formulas can read.

In plain words
What is it for?
Use it to design or review configuration for feature flags, environment values, rule tables, API registries, tax rates, text, and similar data.
Why use it?
It helps choose the appropriate Salesforce configuration mechanism and defines its fields, usage, and deployment or loading boundaries.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

Good fit Use it to design or review configuration for feature flags, environment values, rule tables, API registries, tax rates, text, and similar data.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/banibratachatterjee/awesomesalesforceskills/design-custom-metadata
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.

Clone the repo
git clone --depth 1 https://github.com/BanibrataChatterjee/AwesomeSalesforceSkills

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 design-custom-metadata

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/banibratachatterjee/awesomesalesforceskills/design-custom-metadata"><img src="https://agentmods.dev/badge/commands/banibratachatterjee/awesomesalesforceskills/design-custom-metadata.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 496 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.00000 $0.00496
Opus 5 $0.00000 $0.00248
Sonnet 5 $0.00000 $0.00099
Haiku 4.5 $0.00000 $0.00050

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

Security

Grade A, and why

design-custom-metadata 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 11d 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.

commands/design-custom-metadata.md · 70 lines

How it starts

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

/design-custom-metadata — Design or audit Custom Metadata Types + Custom Settings

Wraps agents/custom-metadata-and-settings-designer/AGENT.md. Picks the right artifact (CMT vs List Custom Setting vs Hierarchy Custom Setting) and emits field design + usage guidance + deploy/load boundary.


Step 1 — Collect inputs

Ask the user:

1. Mode? design | audit

2. Target org alias (required for audit; optional for design)?

3. Scenario (for design)?
   Options: feature-flag | env-config | rule-table | api-registry | tax-or-rate-table |
            rounding-rules | text-catalog | other (describe)

4. Consumers? (apex | flow | formula | validation-rule | lwc)

5. Protection needs? (protected-from-subscribers | org-internal | public)

6. Expected record count? (< 50 | 50-500 | 500+)

Step 2 — Load the agent

Read agents/custom-metadata-and-settings-designer/AGENT.md + mandatory reads (admin/custom-metadata-types, admin/custom-settings, standards/decision-trees/configuration-storage-selection.md).


Step 3 — Execute the plan

  • Classify scenario against decision tree.
  • Pick CMT vs List vs Hierarchy Custom Setting (cite the branch).
  • Design fields + labels + API names per templates/admin/naming-conventions.md.
  • Produce usage snippets for each consumer (Apex CMT query, Flow Get Records, formula references).
  • Emit deploy-vs-data-load boundary (CMT = metadata, Custom Setting = data).

Step 4 — Deliver the output

  • Summary + confidence
  • Decision (with decision-tree branch cited)
  • Field design
  • Usage snippets per consumer
  • Deploy/load boundary
  • Audit findings (audit mode)
  • Process Observations
  • Citations

Step 5 — Recommend follow-ups

  • /architect-perms for CMT Record Manager permissions
  • /design-object if the use case is actually a business entity, not configuration
  • /refactor-apex if existing hardcoded rules should move to CMT

What this command does NOT do

Read the full file on GitHub · 70 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. 11d ago First seen · 70 lines · 0 tokens per session scan A e5ac5a11bb09

Subscribe to this mod's changes

design-custom-metadata is a command published in the GitHub repository BanibrataChatterjee/AwesomeSalesforceSkills (3 stars, last pushed 4mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 496 tokens. 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-08-31.