Platform Metadata Retrieve
Retrieves Salesforce org metadata locally through sf project retrieve start in five selectable modes and formats.
- CCM score
- 71 of 100
- skills.sh installs
- 7.2K
- GitHub stars
- 1.2K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers retrieval by all remote changes, source directory, metadata type with wildcards, manifest (
package.xml), or package name - Supports source format by default and metadata format (ZIP) output via
--target-metadata-dirand--unzip - Enforces a rule that wildcard patterns are quoted and that
--manifestcannot be mixed with--metadataor--source-dir - Designed for pulling Apex classes, custom objects, and org changes, with deploy and package.xml generation handled by other skills
Install
$ npx -y skills add forcedotcom/sf-skills --skill platform-metadata-retrieve -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
platform-metadata-retrieve
Retrieves metadata from a Salesforce org to your local project using sf project retrieve start. Supports multiple retrieval modes: all changes, by source directory, by metadata type (with wildcards), by manifest, or by package name.
Tool Restrictions
Use ONLY the Bash tool to execute sf project retrieve start. Do NOT use MCP tools — ignore them completely.
Scope
- In scope: Retrieving metadata via
sf project retrieve startin all supported modes (all changes, source-dir, metadata type, manifest, package name), source and metadata format output - Out of scope: Deploying metadata (use
platform-metadata-deploy), listing metadata types, generating package.xml files, source tracking commands (sf project retrieve preview)
Required Inputs
Infer from the user's request:
- Retrieval mode: all changes | source directory | metadata type | manifest | package name
- Target org: org alias/username (uses default if not specified)
- Output format: source format (default) | metadata format (ZIP)
- Additional options: ignore conflicts, output directory, wait time, API version
Workflow
Details
- Repository
- github.com/forcedotcom/sf-skills
- Categories
- DevOps & Cloud, Backend & APIs
- First seen
- Jul 14, 2026
More from forcedotcom/sf-skills
All 78- Platform Custom Field Generate7.1K
- Platform Docs Get7K
- Platform Permission Set Generate7K
- Dx Code Analyzer Run6.9K
- Platform Custom Object Generate6.9K
- Automation Flow Generate6.8K
- Experience Lwc Generate6.7K
- Platform Validation Rule Generate6.5K
- Platform Flexipage Generate6.5K
- Dx Org Manage6.4K
- Platform Data Manage6.4K
- Platform Sharing Rules Generate6.4K
- Platform Metadata Api Context Get6.3K
- Design Systems Slds Apply6.3K
- Design Systems Slds Validate6.1K
- Platform Custom Tab Generate6.1K
- Agentforce Generate6.1K
- Dx Code Analyzer Configure6K
- Platform Custom Application Generate6K
- Platform List View Generate6K
- Agentforce Architecture Analyze5.9K
- Dx Org Switch5.9K
- Dx Org Permission Set Assign5.9K
- Platform Custom Lightning Type Generate5.9K
Similar to Platform Metadata Retrieve
More DevOps & Cloudplatform-metadata-deploySkillforcedotcom/sf-skills7.3K installsSalesforce deployment automation via sf CLI v2 that routes production deploys through validate and quick-deploy.
sf-deploySkilljaganpro/sf-skills1.5K installsSalesforce deployment orchestration using sf CLI v2 with dry-run validation, scoped deploys, and failure triage.
sf-metadataSkilljaganpro/sf-skills1.5K installsSalesforce metadata generation and org querying scored across six categories out of 120 points.
salesforce-developmentPluginanthropics/claude-plugins-official48.8K starsBuild Salesforce apps and agents using these core building blocks: metadata, Apex, deploy/retrieve, security, reporting, and generated installed-versus-availabl