forcedotcom/sf-skills is a collection of reusable instructions that help AI coding agents build and work with Salesforce applications and platform features. Developers use it for Agentforce agents, Lightning apps, Flow, Apex, SOQL, Lightning Web Components, and related Salesforce configuration. The catalogue entries are the repository’s skills, plugins, commands, MCP servers, and agents for AI tools that support skills.
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.
npx skills add forcedotcom/sf-skills --skill automation-sandbox-post-copy-configuregit clone --depth 1 https://github.com/forcedotcom/sf-skillsWrote 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.
[](https://agentmods.dev/skills/forcedotcom/sf-skills/automation-sandbox-post-copy-configure)<a href="https://agentmods.dev/skills/forcedotcom/sf-skills/automation-sandbox-post-copy-configure"><img src="https://agentmods.dev/badge/skills/forcedotcom/sf-skills/automation-sandbox-post-copy-configure/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.
<a href="https://agentmods.dev/skills/forcedotcom/sf-skills/automation-sandbox-post-copy-configure"><img src="https://agentmods.dev/badge/skills/forcedotcom/sf-skills/automation-sandbox-post-copy-configure.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket pass
- Snyk warn
- NVIDIA SkillSpector warn
SkillSpector: 3 findings, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Privilege Escalation · line 393 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
- high Privilege Escalation · line 405 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
- high Privilege Escalation · line 367 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00232 | $0.05566 |
| Opus 5.5 | $0.00093 | $0.02226 |
| Sonnet 5.5 | $0.00046 | $0.01113 |
| Haiku 4.5 | $0.00023 | $0.00557 |
Grade A, and why
automation-sandbox-post-copy-configure scanned grade A with 1 finding 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 1mo 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- tool: ["curl"] How it starts
The opening of the file, as written. The whole thing — 451 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Automation: Sandbox Post-Copy Configure
Apply a Salesforce sandbox post-copy automation JSON config to a target
org. Four canonical ConfigurationName values are pinned:
OutboundMessages + RemoteSiteSettings → compound-Metadata PATCH
(Steps A–E); ScheduledApex → anonymous-Apex (Step F) since
CronTrigger is read-only; Flows → flow-activation (Step G), same
compound-Metadata transport as A–E with fixed mutation key
activeVersionNumber + state-aware pre-flight (ALREADY_ACTIVE /
ALREADY_INACTIVE). Non-canonical names are derived + describe-verified.
Every A–E entry must pass Step B (describe 200 + Metadata compound
field) before any PATCH is planned; Step B skipped for ScheduledApex.
Unverified entries are surfaced in the summary and skipped — never
guessed at.
Tool Restrictions
Use ONLY the Bash tool to execute sf CLI commands (sf data query --use-tooling-api, sf api request rest, sf org display). Do NOT
use MCP tools like execute_soql — the compound Metadata PATCH
pattern this skill requires is not available through MCP wrappers.
Invoke sf without --target-org when the user didn't name an
alias (the harness sets the CLI default); never pass --target-org default (NamedOrgNotFoundError). SOQL-over-REST is same-OAuth —
no direct DB / non-Salesforce SQL access.
STOP — do this before making any API call
Never call the org from memory. Before the first request:
- Read the config JSON end-to-end from the exact path the user gave
(default
./post-copy-config.json). Every entry must have all five keys (ConfigurationName,Label,Fields,IsActive,ExecutionOrder). If any entry is malformed, abort and surface the file path + entry index — do not partially apply. Do not invent entries. If the file is missing, stop and ask; never fabricate a plan against synthetic labels. - For each distinct
ConfigurationNamein the config, run the derivation + describe-verify step (below) before planning any PATCH. An entry whose API cannot be verified must never appear as a planned PATCH — it is rejected up front. - Confirm the target org alias with the user unless they supplied one explicitly. This skill mutates a live org — writing to the wrong org (e.g., a production alias set as default) is the most expensive failure mode.
What ships with it
15 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.
- assets/api_request_templates.json 4.2 KB
- examples/sample_config_input.json 1.1 KB
- examples/sample_execution_summary.md 4.0 KB
- references/api_endpoints.md 11 KB
- references/authentication.md 2.9 KB
- references/execution_phasing.md 3.6 KB
- references/flow_activation_path.md 7.1 KB
- references/rules_gotchas.md 3.5 KB
- references/scheduled_apex_path.md 8.1 KB
- scripts/build-scheduled-apex.mjs 2.2 KB runs code
- scripts/classify-patch-result.mjs 3.1 KB runs code
- scripts/map-metadata-key.mjs 3.4 KB runs code
- scripts/plan-phases.mjs 2.8 KB runs code
- scripts/resolve-target-org.mjs 1.9 KB runs code
- scripts/soql-escape-job-name.mjs 1.0 KB runs code
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.
- 1mo ago Changed · +12 lines · +44 tokens per session 0f7a6fa00530
- 3mo ago First seen · 439 lines · 188 tokens per session scan A 736781e1832e
automation-sandbox-post-copy-configure is a skill published in the GitHub repository forcedotcom/sf-skills (1,201 stars, last pushed 5d ago), licensed Apache-2.0. It adds 232 tokens to every session and 5,566 once invoked, about $0.0009 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
automation-sandbox-post-copy-configure compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| automation-sandbox-post-copy-configureforcedotcom/sf-skills | Skill | 1.2k | 5d ago | Apache-2.0 | A | 232 | Claude Code |
| imagegenopenai/codex | Skill | 137k | today | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 102k | today | Apache-2.0 | A | 19 | Claude Code |
| browser-automationopenclaw/openclaw | Skill | 396k | today | MIT | A | 36 | Claude Code |
| free-llm-apismnfst/awesome-free-llm-apis | Skill | 15k | yesterday | CC0-1.0 | A | 113 | Claude Code, Codex |
| systematic-debuggingobra/superpowers | Skill | 331k | 4d ago | MIT | A | 21 | Claude Code |
| next-cache-components-adoptionvercel/next.js | Skill | 144k | today | MIT | A | 95 | Claude Code |