
platform-models-api-configure
Configure (or troubleshoot) an AI coding agent or CLI
by forcedotcomFree
Description
Platform Models API Configure is an agent skill that sets up, or troubleshoots, an AI coding agent or CLI so that it routes its requests through the Salesforce Models API. The Models API is reached at the api.salesforce.com AI endpoint and authenticated with a signed OrgJWT, which the skill obtains through a client_credentials flow with the sfap_api scope, using a helper script in the skill. The skill explains that the authentication and base URL are the same for every agent, while the way each agent talks to the endpoint is specific to that agent. The main reference covers Claude Code and the Claude Agent SDK. Those Anthropic clients use Bedrock mode, with environment variables set in a step of the skill, a JSON settings file and an API key helper. Other agents, such as Codex, use their own client configuration against the same endpoint and token, and Bedrock mode does not apply to them. For those agents the skill says to reuse the OrgJWT authentication and base URL, and to apply the equivalent settings in the agent's own configuration location. It is for developers who want to use an AI coding agent with the Salesforce Models API for their org, and who need the setup or a fix when the connection fails. The skill is part of the public forcedotcom/sf-skills repository on GitHub.…
Highlights
- Routes an AI coding agent through the Salesforce Models API
- OrgJWT authentication with a helper script
- Claude Code and Agent SDK Bedrock-mode setup
- Guidance for other agents such as Codex
Ratings & Reviews
No ratings yet
Be the first to rate platform-models-api-configure.
People also visit

platform-environment-validate
Validate and configure the local Salesforce development environment
platform-models-api-configure FAQ
What does this skill set up?
An AI coding agent or CLI that sends its requests through the Salesforce Models API, authenticated with a signed OrgJWT.
Does it work for every agent?
The detailed steps are for Claude Code and the Claude Agent SDK. For other agents, such as Codex, the skill says to reuse the OrgJWT and base URL with that agent's own settings.
How do I install it?
Run npx skills add https://github.com/forcedotcom/sf-skills --skill platform-models-api-configure in your project.
Is it free and open source?
Yes. It is published in the public forcedotcom/sf-skills repository on GitHub.
What do the security audits say?
skills.sh lists Gen Agent Trust Hub: Pass, Socket: Pass and Snyk: Pass for this skill.
What are the best platform-models-api-configure alternatives?
Popular alternatives to platform-models-api-configure include omnistudio-callable-apex-generate, dx-apexguru-scan and salesforce-developer. See all platform-models-api-configure alternatives



