dx-org-devhub-configure

dx-org-devhub-configure is a skill for Claude Code from forcedotcom/sf-skills. It costs 184 tokens per session (3,810 once invoked), scanned A, original, Apache-2.0.

A Salesforce setup tool for enabling Dev Hub, a Salesforce org feature used to create and manage temporary scratch orgs and software packages.

In plain words
What is it for?
It helps enable Dev Hub, configure related packaging settings, view scratch-org limits, and list active scratch orgs.
Why use it?
It helps check whether Dev Hub is ready and shows how many scratch orgs the org can create or currently has.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: positional $N argument.

Part of the dx-org-lifecycle plugin — 8 skills shipped together

Good fit It helps enable Dev Hub, configure related packaging settings, view scratch-org limits, and list active scratch orgs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/forcedotcom/sf-skills/dx-org-devhub-configure
About the project

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.

forcedotcom/sf-skills · 1,201 stars · on GitHub

Install

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.

Any agent
npx skills add forcedotcom/sf-skills --skill dx-org-devhub-configure
Clone the repo
git clone --depth 1 https://github.com/forcedotcom/sf-skills

Made for: Claude Code.

Or install dx-org-lifecycle, the plugin that ships this one along with the rest of its 8 skills.

Wrote 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.

agentmods badge for dx-org-devhub-configure

README.md
[![agentmods](https://agentmods.dev/badge/skills/forcedotcom/sf-skills/dx-org-devhub-configure/github.svg)](https://agentmods.dev/skills/forcedotcom/sf-skills/dx-org-devhub-configure)
Your own site
<a href="https://agentmods.dev/skills/forcedotcom/sf-skills/dx-org-devhub-configure"><img src="https://agentmods.dev/badge/skills/forcedotcom/sf-skills/dx-org-devhub-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.

agentmods 80×15 button for dx-org-devhub-configure

Your own site · 80×15
<a href="https://agentmods.dev/skills/forcedotcom/sf-skills/dx-org-devhub-configure"><img src="https://agentmods.dev/badge/skills/forcedotcom/sf-skills/dx-org-devhub-configure.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 184 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,810 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 30 Oct 2026
  • Snyk pass 30 Oct 2026
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00184 $0.03810
Opus 5.5 $0.00074 $0.01524
Sonnet 5.5 $0.00037 $0.00762
Haiku 4.5 $0.00018 $0.00381

Measured 1mo ago against content hash dfcd75091b94, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dx-org-devhub-configure scanned grade A with 0 findings 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.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/devhub.sh, scripts/test-devhub.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/builder/dx-org-lifecycle/skills/dx-org-devhub-configure/SKILL.md · 269 lines

How it starts

The opening of the file, as written. The whole thing — 269 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

Trigger on requests like:

  • "Enable Dev Hub" / "Turn on Dev Hub" / "Set up this org for scratch orgs."
  • "Is Dev Hub enabled on my org?" / "Check if Dev Hub is on."
  • "How many scratch orgs can I create?" / "What's my scratch org allocation / limit?" / "How many scratch orgs do I have left?"
  • "Turn on packaging / 2GP / unlocked packages" / "Enable org shape export" / "Enable scratch org snapshots" (Dev Hub sub-preferences).
  • "Which Dev Hub preferences are turned on?" / "Show my current DevHubSettings."
  • "List the scratch orgs on my Dev Hub."
  • "What orgs do I have authenticated?" / "I didn't pass an org — what's available?"

When NOT to use

Do not trigger this skill for:

  • Creating or deleting an individual scratch org — that is sf org create scratch / sf org delete scratch, a different workflow. This skill enables the Dev Hub feature and reports allocation; it does not create scratch orgs.

How Dev Hub enablement is determined

The standard object ScratchOrgInfo is provisioned and becomes queryable only when Dev Hub is enabled. So a successful SELECT COUNT() FROM ScratchOrgInfo means Dev Hub is ON; an INVALID_TYPE error means it is OFF. This is the reliable signal.

Do not infer enablement from sf org list limits alone: it reports ActiveScratchOrgs / DailyScratchOrgs rows even on orgs where Dev Hub is off, so limits show allocation but not enablement.

Read the full file on GitHub · 269 lines

Files

What ships with it

3 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.

Changes

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.

  1. 1mo ago Changed · +1 lines · -10 tokens per session dfcd75091b94
  2. 1mo ago Changed · -2 lines 16c7832e2dd6
  3. 3mo ago First seen · 270 lines · 194 tokens per session scan A 850db742e656

Subscribe to this mod's changes

dx-org-devhub-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 184 tokens to every session and 3,810 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

dx-org-devhub-configure compared with skills from other repositories

dx-org-devhub-configure next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dx-org-devhub-configureforcedotcom/sf-skillsSkill1.2k5d agoApache-2.0A184Claude Code
gke-compute-classesgoogle/skillsSkill25kyesterdayApache-2.0A83Claude Code, Codex
cloud-operator-admin-setupgoogle/skillsSkill25kyesterdayApache-2.0A115Claude Code, Codex
gke-reliabilitygoogle/skillsSkill25kyesterdayApache-2.0A85Claude Code, Codex
gke-workload-securitygoogle/skillsSkill25kyesterdayApache-2.0A171Claude Code, Codex
nemo-automodel-launcher-configNVIDIA/skillsSkill4.3ktodayApache-2.0A30Claude Code
azure-mgmt-botservice-dotnetmicrosoft/skillsSkill3.3kyesterdayMITA78Claude Code