platform-data-and-tooling-api-context-get

platform-data-and-tooling-api-context-get is a skill for Claude Code, Codex from forcedotcom/sf-skills. It costs 221 tokens per session (6,389 once invoked), scanned A, original, Apache-2.0.

A field and relationship reference for standard Salesforce data objects and developer-focused Tooling API objects.

In plain words
What is it for?
Use it to look up fields and properties for objects such as Account, Contact, Opportunity, Case, ApexClass, and code-coverage records before querying or modifying them.
Why use it?
It helps prevent failed SOQL queries and data updates caused by incorrect field names, types, or relationship names.

Skill for Claude CodeCodex

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

Good fit Use it to look up fields and properties for objects such as Account, Contact, Opportunity, Case, ApexClass, and code-coverage records before querying or modifying them.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/forcedotcom/sf-skills/platform-data-and-tooling-api-context-get
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 forcedotcom/sf-skills --skill platform-data-and-tooling-api-context-get
Clone the repo
git clone --depth 1 https://github.com/forcedotcom/sf-skills

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 platform-data-and-tooling-api-context-get

README.md
[![agentmods](https://agentmods.dev/badge/skills/forcedotcom/sf-skills/platform-data-and-tooling-api-context-get/github.svg)](https://agentmods.dev/skills/forcedotcom/sf-skills/platform-data-and-tooling-api-context-get)
Your own site
<a href="https://agentmods.dev/skills/forcedotcom/sf-skills/platform-data-and-tooling-api-context-get"><img src="https://agentmods.dev/badge/skills/forcedotcom/sf-skills/platform-data-and-tooling-api-context-get/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 platform-data-and-tooling-api-context-get

Your own site · 80×15
<a href="https://agentmods.dev/skills/forcedotcom/sf-skills/platform-data-and-tooling-api-context-get"><img src="https://agentmods.dev/badge/skills/forcedotcom/sf-skills/platform-data-and-tooling-api-context-get.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 221 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,389 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
  • Socket pass 19 Aug 2026
  • Snyk pass 19 Aug 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
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.00221 $0.06389
Opus 5 $0.00111 $0.03195
Sonnet 5 $0.00044 $0.01278
Haiku 4.5 $0.00022 $0.00639

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

Security

Grade A, and why

platform-data-and-tooling-api-context-get 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 8d 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/platform-data-and-tooling-api-context-get/SKILL.md · 450 lines

How it starts

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

Salesforce Data + Tooling API Skill

This skill provides field-level reference for 2130 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 __c objects, and custom __c fields 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>).

Overview

Each object is documented as a JSON file with:

  • Field definitions: name, type, and properties (Createable, Filterable, Groupable, Nillable, Sortable, Updateable)
  • Relationship metadata (relationship name, referenced object, relationship type) for enterprise sObjects
  • Supported SOAP calls and REST HTTP methods for Tooling records
  • WSDL schema segment
  • Usage notes and associated objects (enterprise sObjects)

This skill is for runtime data, not deployment. For authoring *-meta.xml source files (CustomObject, Flow, Profile, ...) use the Metadata API skill (platform-metadata-api-context-get). The two are companions, not substitutes.

How to Use This Skill

CRITICAL: Field-Existence Gate (do this BEFORE answering)

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.

Read the full file on GitHub · 450 lines

Files

What ships with it

60 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. 8d ago First seen · 450 lines · 221 tokens per session scan A 6e7e4a1f7c53

Subscribe to this mod's changes

platform-data-and-tooling-api-context-get is a skill published in the GitHub repository forcedotcom/sf-skills (987 stars, last pushed yesterday), licensed Apache-2.0. It adds 221 tokens to every session and 6,389 once invoked, about $0.0011 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

create-pr

Creates a GitHub PR with a Linear-ticket-prefixed title and a decision-led, narrative description for Prisma 8. Use when the user wants to create a pull request, open a PR, or submit changes for review.

prisma/orm · 48 tokens

schema-exploration

Lists tables, describes columns and data types, identifies foreign key relationships, and maps entity relationships in a database. Use when the user asks about database schema, table structure, column types, what tables exist, ERD, foreign keys, or how entities relate.

langchain-ai/deepagents · 57 tokens

ha-data-stores

Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…

shiwenwen/hope-agent · 115 tokens

nornicdb-cypher-queries

Pick fast, predictable Cypher query shapes in NornicDB — point lookups, batch retrieval, pagination, search, traversal, batched UNWIND/MERGE writes, cleanup, multi-tenant isolation. Use when writing or reviewing Cypher whose latency or throughput matters; maps user intent to the executor's hot-path query templates.

orneryd/NornicDB · 79 tokens

supabase

Supabase / PostgREST Row-Level-Security playbook — pull the anon (or leaked servicerole) key out of the frontend JS, map tables from the auto-generated OpenAPI spec, test anonymous RLS READ disclosures (PII/secret leaks), and anonymous RLS WRITE abuse (insert/update/delete — e.g. forging…

PentesterFlow/agent · 120 tokens

volcengine-rds-postgresql

A tool for operating PostgreSQL databases hosted by Volcano Engine's managed database service. PostgreSQL is a relational database used to store structured application data.

bytedance/agentkit-samples · 63 tokens