dx-hub-init

dx-hub-init is a skill for Claude Code from easingthemes/dx-aem-flow. It costs 56 tokens per session (5,103 once invoked), scanned B, original, MIT.

A setup tool for creating a hub directory that coordinates work across several code repositories. It finds nearby repositories, combines their settings, and checks that the command-line tools can work together.

In plain words
What is it for?
Use it when setting up hub mode for the first time, selecting repositories to include, creating shared configuration files, and optionally creating a VS Code workspace.
Why use it?
It removes the manual work of preparing a shared workspace for a multi-repository project. It also catches incompatible setup before orchestration begins.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is - **repo-alpha** → `../repo-alpha` (branch: develop).

Part of the dx-hub plugin — 5 skills shipped together

Good fit Use it when setting up hub mode for the first time, selecting repositories to include, creating shared configuration files, and optionally creating a VS Code workspace.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/easingthemes/dx-aem-flow
agentmods
npx agentmods add skills/easingthemes/dx-aem-flow/dx-hub-init

Made for: Claude Code.

Or install dx-hub, the plugin that ships this one along with the rest of its 5 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-hub-init

README.md
[![agentmods](https://agentmods.dev/badge/skills/easingthemes/dx-aem-flow/dx-hub-init/github.svg)](https://agentmods.dev/skills/easingthemes/dx-aem-flow/dx-hub-init)
Your own site
<a href="https://agentmods.dev/skills/easingthemes/dx-aem-flow/dx-hub-init"><img src="https://agentmods.dev/badge/skills/easingthemes/dx-aem-flow/dx-hub-init/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-hub-init

Your own site · 80×15
<a href="https://agentmods.dev/skills/easingthemes/dx-aem-flow/dx-hub-init"><img src="https://agentmods.dev/badge/skills/easingthemes/dx-aem-flow/dx-hub-init.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,103 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00056 $0.05103
Opus 5.5 $0.00022 $0.02041
Sonnet 5.5 $0.00011 $0.01021
Haiku 4.5 $0.00006 $0.00510

Measured 7d ago against content hash 28f6ae0225c0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

dx-hub-init scanned grade B with 1 finding 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 7d ago.

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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

Pick the first selected repo. Read `<repo-path>/.claude/settings.json`. Extract:
plugins/dx-hub/skills/dx-hub-init/SKILL.md · 505 lines

How it starts

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

You set up a .hub/ directory that orchestrates work across multiple repos via dx-core hub mode.

Flow

digraph hub_init {
    "Validate CLI" [shape=box];
    "CLI compatible?" [shape=diamond];
    "STOP: CLI incompatible" [shape=doublecircle];
    "Determine hub path" [shape=box];
    "Hub already exists?" [shape=diamond];
    "Confirm reinit" [shape=diamond];
    "STOP: User cancelled" [shape=doublecircle];
    "Discover repos" [shape=box];
    "Present repos" [shape=box];
    "User selects repos" [shape=diamond];
    "Build config" [shape=box];
    "Create hub structure" [shape=box];
    "Configure Claude Code settings" [shape=box];
    "Generate CLAUDE.md" [shape=box];
    "Offer workspace file" [shape=diamond];
    "Create .code-workspace" [shape=box];
    "Summary" [shape=doublecircle];

    "Validate CLI" -> "CLI compatible?";
    "CLI compatible?" -> "Determine hub path" [label="yes"];
    "CLI compatible?" -> "STOP: CLI incompatible" [label="no"];
    "Determine hub path" -> "Hub already exists?";
    "Hub already exists?" -> "Confirm reinit" [label="yes"];
    "Hub already exists?" -> "Discover repos" [label="no"];
    "Confirm reinit" -> "Discover repos" [label="yes, reinit"];
    "Confirm reinit" -> "STOP: User cancelled" [label="no"];
    "Discover repos" -> "Present repos";
    "Present repos" -> "User selects repos";
    "User selects repos" -> "Build config" [label="confirmed"];
    "User selects repos" -> "STOP: User cancelled" [label="none selected"];
    "Build config" -> "Create hub structure";
    "Create hub structure" -> "Configure Claude Code settings";
    "Configure Claude Code settings" -> "Generate CLAUDE.md";
    "Generate CLAUDE.md" -> "Offer workspace file";
    "Offer workspace file" -> "Create .code-workspace" [label="yes"];
    "Offer workspace file" -> "Summary" [label="no"];
    "Create .code-workspace" -> "Summary";
}

Node Details

Validate CLI

Run:

claude --version
claude -p --help 2>&1 | grep -q 'output-format'

Read the full file on GitHub · 505 lines

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. 7d ago Changed · +28 lines 28f6ae0225c0
  2. 9d ago Changed · +1 lines 39910df9bfb6
  3. 1mo ago Changed · +1 lines 1c6be3fad598
  4. 1mo ago Changed · -3 lines 1befde89a232
  5. 2mo ago Changed 67136fd996e6
  6. 3mo ago First seen · 478 lines · 56 tokens per session scan B a6cb974a7dad

Subscribe to this mod's changes

dx-hub-init is a skill published in the GitHub repository easingthemes/dx-aem-flow (9 stars, last pushed 3d ago), licensed MIT. It adds 56 tokens to every session and 5,103 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

dx-hub-init compared with skills from other repositories

dx-hub-init next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dx-hub-initeasingthemes/dx-aem-flowSkill93d agoMITB56Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82ktodayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15ktodayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill332k5d agoMITA21Claude Code