platform-metadata-retrieve

Retrieve Salesforce org metadata into a local project using Salesforce CLI.

Updated Jul 2, 2026
One-click install
npx skills add https://github.com/padjei/SF_Agents --skill platform-metadata-retrieve-padjei
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: platform-metadata-retrieve
Source: https://github.com/padjei/SF_Agents/tree/main/.claude/skills/platform-metadata-retrieve
Command: npx skills add https://github.com/padjei/SF_Agents --skill platform-metadata-retrieve-padjei

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires Salesforce CLI, and includes scripts (resource) components.

What problem does it solve?

This Skill simplifies the retrieval of Salesforce org metadata into your local project, allowing for streamlined synchronization and development processes.

Core Features & Use Cases

  • Flexible Retrieval Modes: Support for various retrieval methods, including all changes, specific directories, metadata types, manifests, and package names.
  • Output Format: Choose between source format or metadata format (ZIP) based on your development needs.
  • Safety and Compatibility: Ensures the process is secure by recommending the use of the Salesforce CLI and Bash tool over MCP tools, with structured output for reliable parsing and error handling.

Quick Start

To retrieve all metadata changes from your Salesforce org, simply run 'platform-metadata-retrieve' as a command.

Frequently Asked Questions about platform-metadata-retrieve

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I retrieve Salesforce org metadata to a local project?

To retrieve Salesforce org metadata locally, run the platform-metadata-retrieve command using the Salesforce CLI and Bash tool. It supports fetching all changes, specific directories, metadata types, manifests, or package names.

Can I retrieve specific Salesforce metadata types instead of the entire org?

Yes, you can retrieve specific Salesforce metadata types. The command supports targeted retrieval by metadata type, specific directory, manifest, or package name, allowing precise control over what is fetched.

Does Salesforce metadata retrieval support source format and metadata format?

Salesforce metadata retrieval supports both source format and metadata format. Choosing metadata format outputs a ZIP file, while source format syncs files directly into your local project structure for development.

Do I need the Salesforce CLI to retrieve metadata locally?

Yes, you need the Salesforce CLI and Bash tool installed to execute the metadata retrieval process. The Skill relies on the CLI for secure communication with the Salesforce org instead of using MCP tools.

What is the best way to sync Salesforce org metadata for source control?

The best way to sync Salesforce org metadata for source control is using the CLI to retrieve source-formatted files directly into your local project. This ensures structured output for reliable parsing and version tracking.

Why does Salesforce CLI metadata retrieval fail to parse outputs correctly?

Salesforce CLI metadata retrieval parsing fails when using unstructured outputs. This Skill ensures structured output formatting and handles both metadata and source formats to prevent parsing errors during synchronization.