Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

dx-org-snapshot-manage

Skill by forcedotcom

Manages the lifecycle of Salesforce scratch org snapshots. It creates, checks, lists and deletes them with the sf CLI. Built for developers whose Dev Hub has Scratch Org Snapshots enabled.

  • Score 78
  • 1.2k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install dx-org-snapshot-manage

Built from the published package, never by AI.

git clone --depth 1 https://github.com/forcedotcom/sf-skills /tmp/sf-skills && mkdir -p ~/.claude/skills && cp -r /tmp/sf-skills/skills/dx-org-snapshot-manage ~/.claude/skills/dx-org-snapshot-manage

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install dx-org-snapshot-manage in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill manages the full lifecycle of Salesforce scratch org snapshots. It covers creating a snapshot with the sf org create snapshot command, checking its status with sf org get snapshot, listing snapshots, and deleting them. A snapshot is a point-in-time copy of a scratch org's metadata and data, referenced by name in a scratch org definition file.

Commands run through the Bash tool against a Dev Hub, not a target org. Creation is asynchronous, so the skill polls until a snapshot is Active. Deletes ask for confirmation unless no-prompt is used, and bulk deletes require listing and confirming names first. It is aimed at Salesforce developers who want to reuse saved org state. It does not create scratch orgs or org shapes.

Written from the project's SKILL.md and checked against it.

What it can do

  • Create snapshotCreates a snapshot of a scratch org with a name and optional description.
  • Get snapshotChecks a snapshot's status and details by name or ID.
  • List snapshotsLists snapshots in the Dev Hub, with client-side filtering for expiring soon.
  • Delete snapshotDeletes one snapshot, with a confirmation prompt or a no-prompt option.

What you need

  • Salesforce CLI (sf) version 2.0.0 or later
  • jq version 1.6 or later
  • A Dev Hub with Scratch Org Snapshots enabled

Try asking

  • Take a snapshot of my scratch org named qa-base
  • Check the status of the snapshot qa-base
  • List snapshots that expire in the next 7 days

Good to know

  • There is no update, rename or extend-expiration command.
  • There is no bulk-delete command; each delete removes one snapshot.
  • Snapshot names must be 15 characters or fewer and unique in the Dev Hub.
  • The list command has no server-side filters, so filtering is done with jq.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/dx-org-snapshot-manage/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to dx-org-snapshot-manage

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

dx-org-snapshot-manage: common questions

Do I need a Dev Hub to use scratch org snapshots?

Yes. The source says all snapshot commands operate against a Dev Hub with Scratch Org Snapshots enabled.

Can this skill create a scratch org from a snapshot?

No. The source says creating a scratch org, including from a snapshot with --snapshot, is handled by the dx-org-manage skill.

How do I change a snapshot's name or expiration?

The source says there is no update command. You delete the snapshot and create a new one.

How do I install dx-org-snapshot-manage?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is dx-org-snapshot-manage free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is dx-org-snapshot-manage safe to use?

It scores 78 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to dx-org-snapshot-manage?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

dx-org-snapshot-manage Install

Add to stack

Loading.