/dx-hub:dx-hub-config [show | add-repo <path> | fill-defaults | terminal-delay <seconds>]from dx-hub
Views and edits hub configuration in .ai/config.yaml — shows settings, adds repos, fills missing defaults, adjusts terminal delay.
Ships in dx-hub. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You view and edit the hub configuration in .ai/config.yaml.
Read .ai/config.yaml. If a hub: section is absent, STOP:
Hub mode is not configured. Run
/dx-hub-initfirst.
Inspect $ARGUMENTS and route to the matching section:
| Subcommand | Action |
|---|---|
(none) or show | Display current hub config |
add-repo <path> | Discover and add a repo |
fill-defaults | Add every missing key /dx-hub-dispatch reads, keep existing values |
terminal-delay <seconds> | Set seconds to wait for Claude to start in terminal |
Print hub settings in readable format:
Hub Configuration
─────────────────────────────────
Enabled: <hub.enabled>
Engine: <hub.engine>
Model: <hub.model or "CLI default">
Launcher: <hub.launcher>
Terminal delay: <hub.terminal-delay>s
State TTL: <hub.state-ttl>
Tracker: <tracker.provider>
Repos (<count>):
- <name> <path> [capabilities: <caps>] [keywords: <kws>] [base: <base-branch>] [project: <ado-project>]
...
Under it, print the default: and warn: lines of bash "${CLAUDE_SKILL_DIR}/../dx-hub-dispatch/scripts/hub-config.sh" .ai/config.yaml (stderr), if any — they are what dispatch will complain about. On a host that does not substitute ${CLAUDE_SKILL_DIR}, the script is at ../dx-hub-dispatch/scripts/hub-config.sh relative to this skill's folder.
~, make absolute).<path>/.ai/config.yaml exists. If not, STOP: "No .ai/config.yaml found at <path>. Is this a dx-enabled project?"<path>/.ai/config.yaml and extract:
name (or derive from directory name)scm.base-branch (default main if absent)scm.project (ask if absent — dispatch needs a project per repo for ADO)repos already contains an entry with the same name, STOP: "Repo <name> is already in the hub. Use show to review current repos."repos: list in .ai/config.yaml:
- name: <name>
path: <resolved-path>
base-branch: <base-branch>
ado-project: <scm.project>
capabilities: [<fe|be — ask; [] if neither>]
keywords: [<words that identify this repo in ticket titles — ask, optional>]
Added
<name>(<resolved-path>) to hub. Total repos: .
For a hub created by an older /dx-hub-init. Add each missing key with its default and leave every existing value as it is:
| Key | Default |
|---|---|
hub.engine | claude |
hub.terminal-delay | 5 |
hub.launcher | auto |
tracker.provider | ado (or the scm.provider value, if set) |
scm.org | from the first repo's .ai/config.yaml, if it has one |
hub.model stays unset unless the user gives one. A legacy project: key on a repo entry is renamed to ado-project:.
For each repo that has no capabilities key: read <repo-path>/.ai/config.yaml and ask the user, showing what you found (project.role, AEM component paths, frontend tooling), whether it is fe, be, both or neither. Write capabilities: [] for neither. Then ask for optional keywords — words in ticket titles that point at this repo but are not part of its name. A repo without ado-project under an ADO tracker: ask for it.
Show the diff of .ai/config.yaml before writing and write only on the user's yes. Then print the hub-config.sh stderr again — it should be empty.
<seconds> is a positive integer between 1 and 30. If not, STOP: "Invalid delay <seconds>. Use a number between 1 and 30."hub.terminal-delay in .ai/config.yaml.<seconds>s./dx-hub-config
/dx-hub-config show
Prints current hub settings and all registered repos.
/dx-hub-config add-repo ../my-other-repo
Reads ../my-other-repo/.ai/config.yaml, extracts metadata, and adds the repo to the hub.
/dx-hub-config fill-defaults
Adds hub.engine, hub.launcher, hub.terminal-delay, tracker.provider and per-repo capabilities / keywords where they are missing.
/dx-hub-config terminal-delay 8
Updates the terminal startup delay and confirms the change.
Cause: .ai/config.yaml has no hub: section.
Fix: Run /dx-hub-init to initialise hub mode first.
.ai/config.yaml found at <path>"Cause: The target directory is not a dx-enabled project, or the path is wrong.
Fix: Run /dx-init in the target repo, then retry.
<name> is already in the hub"Cause: A repo with that name is already registered.
Fix: Run /dx-hub-config show to review existing entries.
What SKILL.md sets; muted values are Claude Code's defaults
Use to view and edit hub configuration — add repos, adjust terminal delay. Trigger on 'hub config', 'add repo to hub', 'terminal delay', 'configure hub', or 'edit hub settings'.
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub easingthemes/dx-aem-flow --plugin dx-hub5 skills in this plugin
/dx-discover-reposResolve which repos a work item touches (explicit directive → simple block → cross-repo table → LLM). Used by the KAI-HUB router to fan an agent out across repos; 'which repos'./dx-hub-dispatchDispatch a ticket to several repos — open an independent Claude Code or Copilot CLI session per repo in VS Code terminals. Use for 'hub dispatch', 'work on ticket across repos'./dx-hub-initInitialize a hub directory for multi-repo orchestration. Discovers sibling repos, merges configs, validates CLI compatibility. Use when setting up hub mode for the first time. Trigger on "init hub", "set up hub", "multi-repo setup"./dx-hub-statusShow hub dispatch status — which repos are running, done, blocked or failed. Use for 'hub status', 'what's running'.