Authoritative field/schema reference for 2161 standard Salesforce objects including Tooling API records. Use to verify exact field names, types, relationships, and query limitations before writing SOQL/SOSL or DML. Covers Account, Contact, Opportunity, TraceFlag/DebugLevel, and MetadataComponentDependency.
Ships in sf-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
This skill provides field-level reference for 2161 standard Salesforce objects across two runtime API surfaces: the Enterprise/Data API (standard sObjects you query with SOQL and modify with DML) and the Tooling API (developer/metadata-adjacent records like ApexClass, ApexCodeCoverage, TraceFlag, and EntityDefinition).
Use it to look up authoritative field names, types, and properties before writing SOQL/SOSL, building DML, or reading records at runtime — so queries and writes don't fail with INVALID_FIELD / "No such column" errors.
Standard objects only. These assets cover standard sObjects and Tooling records. Custom
__cobjects, and custom__cfields on standard objects, are not in this corpus — they don't exist as static docs pages. For those, describe the live org instead (sf sobject describe --sobject <Name>).
Each object is documented as a JSON file with:
This skill is for runtime data, not deployment. For authoring
*-meta.xmlsource files (CustomObject, Flow, Profile, ...) use the Metadata API skill (platform-metadata-api-context-get). The two are companions, not substitutes.
Before authoring SOQL/SOSL, also invoke platform-soql-query; query syntax and object facts need both skills. For Tooling tasks, activate this reference and read supported calls/limitations, not the retired MCP or web docs. Object limitations override field flags. Offline templates need both skills too; never execute placeholder Ids.
NEVER answer a field question — "does field X exist?", "is X filterable/sortable/groupable?", "what's X's API name/type?" — from memory or training data. This includes obvious system fields like Id, Name, CreatedDate, LastModifiedDate, OwnerId, IsDeleted. ALWAYS run the lookup first. You know these fields from training, but this skill exists precisely because your recollection of their properties (Filter/Sort/Group) and of which catalog documents them is unreliable. Confidence is not verification.
Run ONE atomic command that checks BOTH catalogs at once (a field can live in fields, in field_reference, or neither — see the dual-catalog note below):
jq '{fields: .fields["<FieldName>"], field_reference: .field_reference["<FieldName>"]}' assets/enterprise_api/<Object>.json
# e.g. checking CreatedDate on Account:
jq '{fields: .fields["CreatedDate"], field_reference: .field_reference["CreatedDate"]}' assets/enterprise_api/Account.json
Interpret the result: found in fields → use its properties for capability answers. Found only in field_reference → it exists, but Filter/Sort/Group cannot be determined from this skill (that catalog carries no property flags). null in both → not in this corpus (may still be a real live-org/custom field — describe the org).
MANDATORY VERIFICATION GATE. Before you state any field fact, you MUST first print this line verbatim in your reply to the user (like the metadata skill's status line):
field_lookup: object=<Object> field=<FieldName> checked_fields=<yes|no> checked_field_reference=<yes|no> result=<in_fields|in_field_reference|not_found>
If you cannot print this line truthfully with both checks = yes, you have not done the lookup — stop and run the jq command. Do not fabricate a citation like "based on the skill's data" without having run it.
This gate line is a self-verification marker for your conversational response only — do NOT write it into files you generate for the user (.soql, .md, .json, query comment headers, etc.). Deliverables should contain just the answer/query the user asked for; keep the field_lookup: line out of them.
ALWAYS consume only the specific sections you need from JSON files, NOT entire files.
For assets/enterprise_api/*.json and assets/tooling_api/*.json files, always use jq or programmatic JSON parsing to extract only the sections you need. Do not load these files whole via Read, cat, or read_file — they contain verbose wsdl_segment and field_reference sections that waste 60-80% of tokens on large sObjects like Account.
Each JSON file contains multiple sections. Most use cases only need 1-2:
fields sectionfields (the relationship_name / refers_to columns are inline)supported_soap_calls / supported_rest_api_http_methodsspecial_access_rules (present on both surfaces when the object documents access gates)ORDER BY/queryMore()/OFFSET): load limitations — present only on objects that impose themwsdl_segment, ispersonaccount_fieldsDual-catalog rule (imperative — this is the one people get wrong):
fields, in field_reference, in both, or in neither. These are two DIFFERENT catalogs, not a superset relationship.fields is NOT a "field doesn't exist" answer. Check field_reference too before concluding anything — the atomic jq command above does both in one shot.fields. A field found only in field_reference has NO retrievable capability flags here — say so; don't guess.fields comes from the SOAP Fields table and carries capability properties.
field_reference comes from a separate UI-facing Field List with label/type/size
information, not capability flags. Either catalog can contain fields absent from
the other; check both for existence, but use only fields for capabilities.
assets/enterprise_api/assets/tooling_api/__c objects and custom __c fields → NOT in these assets. Describe the live org: sf sobject describe --sobject <Name> --target-org <alias>. (A custom field like Region__c on standard Account won't be in assets/enterprise_api/Account.json either.)Do:
fields — check field_reference before saying it doesn't exist"Don't:
wsdl_segment; load fields and field_reference separately instead of the whole file)Enterprise (data) sObjects live in assets/enterprise_api/; Tooling records live in assets/tooling_api/. Both share a common core, with a few surface-specific sections.
{
"sections": ["title", "description", "fields", "wsdl_segment", ...],
"title": "Account | Enterprise API",
"description": "Plain-text description of the object.",
"fields_columns": ["type", "properties", "description", "relationship_name", "refers_to", "relationship_type"],
"fields": {
"fieldName": {
"type": "string | reference | picklist | ...",
"properties": "Create, Filter, Group, Nillable, Sort, Update",
"description": "Field description",
"relationship_name": "(reference fields only)",
"refers_to": "(reference fields only) e.g. Account"
}
},
"wsdl_segment": "<xsd:complexType>...</xsd:complexType>"
}
fields is a dict keyed by field API name (e.g. fields["AnnualRevenue"]), not a list — iterate with .items()/.keys(), don't index it positionally.
Each JSON file is generated from whatever ## Heading sections actually appear on
that object's Salesforce docs page — the JSON schema is not a fixed, uniform
template applied identically to every object. Two consequences follow directly from
that:
fields included. A section
exists in a file only if the source docs page had a matching heading. Some Tooling
docs pages have no fields table at all (thin/beta pages), so fields can be
missing; a small number of SOAP-header-style pages label their field table
singular (field) instead of plural. Always check the file's own sections
array (or "fields" in sections) before assuming a section exists — don't hard
code an expectation from having looked at one or two example objects.## heading Salesforce's docs used on that specific page (e.g. a nested complex
type referenced by a field, like a picklist's value-metadata description, or a
record-type-info block). These are normalized into snake_case keys and stored
either as their own top-level section, or — when the converter recognizes the
heading as a distinct sub-type rather than a plain content section — nested
under a sub_types dict keyed by the sub-type's name. Treat the "Available
Sections" list below as the common/frequent case, not an exhaustive enum — the
authoritative list for any one object is that object's own sections array.title, description, fields_columns: present on essentially all objectsfields: present on the large majority of objects, but see point 1 above — verify
via sections rather than assumingusage, associated_objects, ispersonaccount_fields, field_reference, field_reference_columnssupported_soap_calls, supported_rest_api_http_methodsspecial_access_rules: who can query/access the object and any permission or
license gate (e.g. "Customer Portal users can't access this object", "requires
Omnistudio licenses"). Present on both surfaces. Read this before concluding a query
will run for a given user — it's a query-eligibility fact no field flag captures.limitations: query ceilings and unsupported SOQL clauses the object imposes
(e.g. MetadataComponentDependency: max 2000 records via Tooling API / 100,000 via
Bulk API 2.0; ORDER BY, OFFSET, queryMore(), and *Name-field filters are not
supported). Read this before writing a query against an object that has it —
these constraints are not derivable from the fields properties.wsdl_segment: schema definition (verbose — skip unless you need the raw type)sub_types and any other snake_case-named section not listed above: object-specific
nested schema description, present only when that object's docs page had a matching
heading — inspect the file's sections array to discover them per-objectThe fields_columns array tells you which columns each object's fields entries
carry — check it per-object rather than assuming a fixed shape. Enterprise sObjects
typically add relationship_name, refers_to, and relationship_type; Tooling
records typically carry only type, properties, description — but a meaningful
minority of Tooling objects also carry relationship_type, so don't treat it as
enterprise-exclusive. relationship_type values also have spelling variants in the
source data (e.g. "Lookup" vs. "Look up") — compare loosely (e.g.
.replace(" ", "").lower()) rather than exact string equality.
Type strings are case-inconsistent across objects — do not assume a single casing.
The same concept appears under multiple castings depending on the source doc page:
string/String, boolean/Boolean, dateTime/DateTime/datetime. Compare
type values case-insensitively (e.g. .lower()) rather than with == against one
casing. Beyond the common string | reference | picklist types, real data also
includes int, boolean, double, currency, date, dateTime, textarea,
address, url, phone, email, time, anyType, base64, and others — treat
the type list as open-ended.
A field can lack structured type/properties even when the object otherwise has
them — check description as a fallback before concluding the data is missing.
Because each object's JSON is generated from that object's own docs page, a page that
presents a field's type/properties as prose ("Type: ... Properties: ... Description: ...") inside a single description paragraph — rather than as separate
table columns — produces a fields entry with type/properties empty and that
prose stuffed into description. This shows up for a range of reasons (generic
template pages reused across many standard objects, e.g. history/share/feed-tracking
companion objects) and can affect anywhere from
one field to every field on an object — in the worst case fields_columns itself may
say only ["description"]. If type/properties is empty or fields_columns looks
suspiciously thin, check whether description starts with "Type: " and parse it as
a fallback before concluding the field/object has no type information.
Picklist allowed values sometimes appear in description prose — check before
assuming they're absent. No fields entry has a structured picklistValues list.
Whether a picklist's allowed values are enumerated in description (as
"Possible values are: ..." followed by the values) depends entirely on whether the
source docs page enumerated them for that specific field — many do, many don't (e.g.
org-configurable picklists backed by a separate value-set object typically only give
illustrative examples like "such as New, Closed, or Escalated" instead of a full
list). When present, the format itself is inconsistent — sometimes bare
space/comma-separated tokens, sometimes Value—explanation em-dash pairs per line —
so there's no single reliable regex; extract the substring after "Possible values are:" and parse case-by-case, and don't assume every picklist has a discoverable
value set here.
A field's description may reference a relationship (e.g. "this is a dependent
picklist", "this field controls X") without naming or resolving the other side of
that relationship — the enterprise sObject's own fields section is not always
where that answer lives. The Tooling API side of this dataset documents Salesforce's
field-metadata objects (schema-about-schema, e.g. an object exposing per-field
describe-style attributes) which can carry structured attributes — like a controlling
field's identity for a dependent picklist — that the enterprise sObject's docs page
never named explicitly. If an enterprise field's description points at a relationship
it doesn't resolve, check whether a Tooling-side field-metadata object answers it
before concluding the data doesn't exist anywhere in this skill.
A given object's JSON can carry sections beyond the common list above — inspect that
object's own sections array rather than assuming a closed set. Any additional ##
heading on the source docs page becomes its own snake_case-named section (or, when
the converter recognizes it as a distinct nested type, a sub_types entry). These
appear only on the specific objects whose docs happened to include that heading — a
per-object schema-description payload, not junk to ignore. There's no fixed
enumeration of every possible extra section name; discover them per-object via
sections.
See the Index Table for the full object listing and per-object extra sections — it's ~125 KB, so grep -i "<ObjectName>" it for a single lookup rather than reading the whole file.
More detail: worked query/DML examples, relationship-traversal patterns, and a full section glossary live in
references/usage_guide.md. Load it with theReadtool only when needed.
Object JSON files are split by API surface:
assets/
├── enterprise_api/ # standard sObjects (SOQL/DML)
│ ├── Account.json
│ ├── Contact.json
│ └── ...
└── tooling_api/ # developer / diagnostics records
├── ApexClass.json
├── TraceFlag.json
└── ...
Files are referenced relative to the skill root, e.g.
assets/enterprise_api/Account.json or assets/tooling_api/ApexClass.json.
Runnable section-loading examples (each demonstrates: fields extraction,
filterable-field lookup via properties, relationship traversal, the
fields vs field_reference dual catalog, and reading Tooling
supported_rest_api_http_methods):
examples/python_section_loading.py — json.load() with section extractionexamples/javascript_section_loading.js — JSON.parse() with section extractionexamples/bash_section_loading.sh — jq command-line JSON processingSee examples/README.md for usage and the property→SOQL/DML capability table.
When generating SOQL/SOSL or DML against these objects, follow these rules so the statement actually runs.
field_lookup: gate line — even for system fields you're sure about. See the
Field-Existence Gate at the top of "How to Use This Skill". Field API names are
case-insensitive to Salesforce but must resolve to a real field. Custom fields
end in __c; custom relationships traverse with __r.INVALID_FIELD: No such column 'X' on entity 'Y'. If unsure, load the fields
section and confirm.fields or field_reference keys when matching.
Match the exact key casing in the current reference; do not merge differently
cased keys or assume a spelling exists because another release listed it.
Report a spelling absent from both catalogs as not listed in this reference,
not as proof that the live platform has no such field. Distinct reference keys
alone do not establish distinct runtime columns or different data semantics.The properties string on each field controls what you can do with it:
WHERE clause. A field without Filter cannot be filtered.ORDER BY.GROUP BY.insert / update DML. System and
formula fields are read-only (no Create/Update) — writing them fails.This skill's properties string has no External ID flag — upsert requires
a field marked External ID in the org, and that flag isn't captured by this data
source (it only appears in Metadata API describe output, not the HTML docs this
skill is built from). To find or set a field's External ID flag, use the
Metadata API skill (platform-metadata-api-context-get) and check
CustomField's externalId attribute — don't guess an upsert field from this
skill's properties alone.
For reference-type fields, the relationship_name column gives the parent
relationship for SOQL traversal and refers_to names the target object(s):
-- OwnerId (reference, relationship_name = Owner, refers_to = User)
SELECT Id, Owner.Name FROM Account
-- Custom lookup Foo__c traverses as Foo__r
SELECT Id, Foo__r.Name FROM My_Object__c
Tooling records (assets/tooling_api/) are queried through the Tooling API
endpoint (/services/data/vXX.0/tooling/query), not the regular Data API. Check
supported_soap_calls / supported_rest_api_http_methods for what each record
supports. Many Tooling objects are read-only.
Not for deployment. To author or edit
*-meta.xmlsource (CustomObject, Flow, Profile, ...) use the Metadata API skill — the objects here are the runtime/queryable representation, not the deployable metadata form.
Several names exist in BOTH the Metadata API and here (ApexClass, ApexTrigger, CustomField, CustomObject, EmailTemplate, Layout, Profile, PermissionSet, RecordType, ValidationRule, Flow, ...). They mean different things:
SELECT, filter, and
(sometimes) write via the Data or Tooling API.*-meta.xml source form you author and deploy.Resolve ambiguity with these signals:
package.xml, force-app/, sfdx,
.meta.xml, "blueprint/template" → Metadata API skill.ApexCodeCoverage, EntityDefinition,
TraceFlag, SymbolTable, "code coverage", "compile errors", "debug log" →
Tooling half of this skill (assets/tooling_api/).If invoked directly by name with no other signal, default to the runtime data interpretation and disclose the assumption.
Account.json, ApexClass.json), no separators.assets/enterprise_api/,
Tooling records in assets/tooling_api/. A name can exist in only one, or in
both with different fields.grep -i "<ObjectName>" references/data_and_tooling_index_table.md. Match
case-insensitively and allow for near-misses (spacing, plural, minor spelling)
before concluding the object is absent. Read the full file only for a broad survey.fields section and confirm the exact name (custom fields end in __c).Filter
field, sorting a non-Sort field, or writing a read-only (no Create/Update)
field all fail. Check the properties string.relationship_name (not the id field) to traverse: Owner.Name, not
OwnerId.Name. Custom lookups traverse with __r.refers_to — polymorphic fields (e.g. WhoId, WhatId) refer to
multiple objects and need TYPEOF or the correct relationship./tooling/query), not the standard Data API. Verify with
supported_rest_api_http_methods / supported_soap_calls.wsdl_segment. Pull just the
matching complexType with jq -r '.wsdl_segment' file.json | grep -A 30 'complexType name="Foo"' instead of loading the whole segment.README.md (opens in a new tab)assets/enterprise_api/AIApplication.json (opens in a new tab)assets/enterprise_api/AIApplicationConfig.json (opens in a new tab)assets/enterprise_api/AIInsightAction.json (opens in a new tab)assets/enterprise_api/AIInsightFeedback.json (opens in a new tab)assets/enterprise_api/AIInsightReason.json (opens in a new tab)assets/enterprise_api/AIInsightValue.json (opens in a new tab)assets/enterprise_api/AIRecordInsight.json (opens in a new tab)assets/enterprise_api/AIResearchPromptResult.json (opens in a new tab)assets/enterprise_api/API_Total_Usage.json (opens in a new tab)assets/enterprise_api/AbnExperiment.json (opens in a new tab)assets/enterprise_api/AbnExperimentCohort.json (opens in a new tab)assets/enterprise_api/AcceptedEventRelation.json (opens in a new tab)assets/enterprise_api/Account.json (opens in a new tab)assets/enterprise_api/AccountBrand.json (opens in a new tab)assets/enterprise_api/AccountCleanInfo.json (opens in a new tab)assets/enterprise_api/AccountContactRelation.json (opens in a new tab)assets/enterprise_api/AccountContactRole.json (opens in a new tab)assets/enterprise_api/AccountInsight.json (opens in a new tab)assets/enterprise_api/AccountOwnerSharingRule.json (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
salesforce-objects, soql, sosl, dml, tooling-api, field-reference
/sf-skills:platform-data-and-tooling-api-context-getfrom sf-skills
sf-skills@sf-skills-plugin is listed by ccmalcom/sf-skills-plugin — review the source before installing
npx claudepluginhub ccmalcom/sf-skills-plugin --plugin sf-skills266 skills in this plugin
/afcc-setup-coordinateOrchestrates end-to-end headless setup of Agentforce Contact Center (AFCC) on a Salesforce org. Scans the org first, presents a delta plan for approval, then sequentially provisions demo users, Omni-Channel base settings, a human queue with routing config and members, presence statuses, permission sets, a PSTN voice number, and an active PstnVoice MessagingChannel wired to the queue. Interactive at key decision points — never assumes country, number type, queue names, or user counts. TRIGGER: set up AFCC, configure Agentforce Contact Center, stand up voice contact center, AFCC migration setup, provision AFCC org headlessly./agentforce-architecture-analyzeDeclared architecture snapshot for one Agentforce agent: planner, topics, actions, flows, Apex, prompt templates, and NGA plugins. Renders a human-readable architecture document and Mermaid invocation graph from design-time metadata (not runtime audit rows). TRIGGER when user asks to describe, diagram, inventory, audit, document, or diff (e.g. v3 vs v5) the architecture / action tree / topic structure / tool inventory of a specific agent by agent API name in a specific org. DO NOT TRIGGER for runtime session traces, conversation transcripts, generation timings, or gateway audit chains — this skill reads design-time metadata only (use agentforce-d360-analyze for session traces)./agentforce-bot-upgradeUse this skill to upgrade Einstein Bots into Agentforce agents end-to-end in a single pass, orchestrating per-bot Agent Spec generation, agentforce-generate authoring, and post-conversion .agent enhancements. TRIGGER when: user asks to migrate, upgrade, or convert one or more Einstein Bots (BotDefinition/BotVersion chatbots) to Agentforce agents; runs a multi-bot bot-to-agent upgrade; needs Einstein Bot metadata turned into Agent Spec handoffs and generated .agent agents; convert bots to agents; upgrade my service bots; move bots to Agentforce. DO NOT TRIGGER when: user already has an approved Agent Spec and only wants direct .agent authoring, deploy, test, or observe flows; user wants to migrate or upgrade an EXISTING Agentforce agent from a legacy GenAiPlannerBundle to an NGA aiAuthoringBundle (that is agentforce-generate's 'Migrate a Legacy Agent to Agent Script' flow, not an Einstein Bot upgrade); the request is unrelated to Einstein Bot migration./agentforce-d360-analyzeData Cloud 360° view of a single Agentforce session. TRIGGER when user asks to trace, inspect, summarize, or describe a specific Agentforce session by session id (Agent Session UUID `019d…` or MessagingSession id `0Mw…`). Also triggers on session discovery — find/list/search sessions by time, agent, channel, outcome, or conversation text — when the user has no session id yet. DO NOT TRIGGER for design-time architecture questions (use agentforce-architecture-analyze instead) or for runtime perf/latency/SLO questions that require platform telemetry beyond Data Cloud./agentforce-generateBuild, modify, audit, repair, optimize, debug, and deploy agents with Agentforce Agent Script. TRIGGER when: user creates, reviews, or changes .agent files or aiAuthoringBundle metadata; asks to fix AgentScript, audit an existing agent, run an AgentScript health check, common-pitfall review, or baseline-versus-candidate repair loop; changes a response, action, subagent, route, state flow, or Agent Spec; migrates or upgrades a legacy GenAiPlannerBundle Agentforce agent (NOT an Einstein Bot) to an aiAuthoringBundle (Agent Script) agent; previews, debugs, deploys, publishes, or tests agents; uses sf agent generate/preview/publish/test; or manages Agentforce MCP servers, tools, assets, or authentication. DO NOT TRIGGER when: Apex, Flow, Prompt Template, Experience Cloud, or general Salesforce CLI work is unrelated to Agent Script; the source is an Einstein Bot (BotDefinition/BotVersion) — use agentforce-bot-upgrade; or the primary input is a production session or trace ID rather than an agent artifact./agentforce-hyperclassifier-configureOnboard a customer org and evaluate or improve Agentforce HyperClassifier routing descriptions against labeled utterances. TRIGGER for classifier evaluation, expected-versus-actual routing reports, repeated regressions, or description optimization with customer ECA authentication. DO NOT TRIGGER for general agent conversation testing, runtime session tracing, or automatic agent deployment.3 plugins in 2 repositories ship this exact skill · first indexed Nov 24, 2026
Other plugins' skills for the same job