Individual skill
dx-org-devhub-configure
Enable Dev Hub on a Salesforce org, view its status and scratch org allocation, or read its current DevHubSettings preferences, using the Salesforce CLI (sf). Use when someone wants to turn on or enable Dev Hub, set up an org for scratch orgs or 2GP/unlocked packages, check whether Dev Hub is already enabled, see scratch org allocation (Active/Daily limits, remaining, and a pre-flight warning near the limit), see which Dev Hub preferences (packaging, org shape export, scratch org snapshots) are on or off, configure those preferences, list active scratch orgs, or list authenticated orgs when none is specified. Enabling deploys enableScratchOrgManagementPref, is irreversible, needs a System Administrator (ModifyAllData or ModifyMetadata), and does not work in sandboxes. DO NOT TRIGGER for creating or deleting individual scratch orgs.
skills/dx-org-devhub-configure/SKILL.md
Source commit a8a18ce1e4ba12e69b4073eab98ce31bfbd8271e
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 4, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 1,151
- Repository last updated
- Nov 6, 2026
- License
- Apache-2.0
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- engineering Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 15,358 bytesSKILL.mdcore · 15,358 bytesSKILL.mdcore · 15,358 bytesSKILL.mdcore · 15,358 bytesSKILL.mdcore · 15,358 bytesSKILL.mdcore · 15,358 bytesSKILL.mdcore · 15,358 bytesSKILL.mdcore · 15,358 bytesSKILL.mdcore · 15,358 bytesSKILL.mdcore · 15,358 bytesSKILL.mdcore · 15,358 bytesSKILL.mdcore · 15,358 bytesSKILL.mdcore · 15,358 bytesSKILL.mdcore · 15,358 bytesexamples/status-output.mddoc · 2,712 bytesscripts/devhub.shruns · 35,381 bytesscripts/test-devhub.shruns · 8,771 bytes
Read excerpt
# Enable Dev Hub & View Scratch Org Allocation
Enable **Dev Hub** on a Salesforce org, verify whether it is already on, and see
the org's **scratch org allocation** (Active and Daily limits, how many
remain, and a pre-flight warning when close to the limit) — for the default
org or a named org. The skill can also read the org's current **DevHubSettings
preferences**, configure Dev Hub sub-preferences (packaging, org shape export,
scratch org snapshots), list the active scratch orgs created from a Dev Hub,
and list which orgs are authenticated when none is specified.
Dev Hub is the org feature that lets you **create and manage scratch orgs** and
**second-generation (2GP) / unlocked packages**.
## When to use