dx-init

dx-init is a skill for Claude Code from easingthemes/dx-aem-flow. It costs 43 tokens per session (13,067 once invoked), scanned A, original, MIT.

A project setup tool for configuring the dx development workflow and creating its supporting files.

In plain words
What is it for?
Use it to detect the environment, set project options, create configuration, and check or update workflow files when setup is run again.
Why use it?
It gives a new project the configuration and shared files needed before the other dx tools can be used.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions subagents; names the AskUserQuestion tool.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the dx-core plugin — 50 skills, 7 agents, 4 hooks shipped together

Good fit Use it to detect the environment, set project options, create configuration, and check or update workflow files when setup is run again.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add easingthemes/dx-aem-flow
Claude Code
/plugin install dx-core

Made for: Claude Code.

Or install dx-core, the plugin that ships this one along with the rest of its 50 skills, 7 agents, 4 hooks.

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-init

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/easingthemes/dx-aem-flow/dx-init"><img src="https://agentmods.dev/badge/skills/easingthemes/dx-aem-flow/dx-init.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 13,067 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.
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.00043 $0.13067
Opus 5.5 $0.00017 $0.05227
Sonnet 5.5 $0.00009 $0.02613
Haiku 4.5 $0.00004 $0.01307

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

Security

Grade A, and why

dx-init 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 7d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/detect-env.sh, scripts/install-copilot-agents.sh, scripts/scaffold.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/dx-core/skills/dx-init/SKILL.md · 981 lines

How it starts

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

You configure the dx workflow for the current project by detecting the environment, asking the user a few key questions, and generating .ai/config.yaml.

Re-run Validation Protocol

CRITICAL: When dx-init is re-run on a project that is already set up, EVERY step MUST execute. NEVER stop early. If the user chooses "Keep as-is" for config, skip to step 5 and continue through ALL remaining steps (5→6→7→8→9→10→11). Each step validates existing files against plugin data:

File Category Re-run Behavior
Config (config.yaml) Ask: keep / modify / regenerate
Utility scripts (audit.sh, stop-guard.sh) Compare against plugin version → update silently if changed
Template-generated (README.md, agent.index.md) Compare against latest template → update if template is newer
Docs (.ai/docs/) Removed — plugin docs are public at https://easingthemes.github.io/dx-aem-flow/
Rule files (.ai/rules/, .claude/rules/) Compare against template → if only template changed: update. If user customized: report diff, ask user
User-owned (me.md) Never touch — always skip
MCP config (.mcp.json) Validate configured values match current project config

The scaffold script handles utility and rule validation automatically. Template-generated files are validated inline by each step.

1. Check Existing Config

Check if .ai/config.yaml exists at the project root (use Glob tool).

  • If it exists: Read and display the current config, then ask: "Config already exists. (A) Keep as-is, (B) Modify, or (C) Start fresh?"
    • If A: Say "Config kept. Validating all project files..." — then check if .ai/config.yaml has a preferences: section with the auto-commit, auto-pr and auto-vote keys. If any key is missing: run Step 4 (Preferences) to ask only the missing questions, then add the missing keys to the preferences: section (append the section if it is absent) to the existing config.yaml. After that, CONTINUE to step 5 to validate all generated files, scripts, rules, and templates. DO NOT stop or exit. The re-run must validate everything.
    • If B: Load existing values as defaults, go to step 2
    • If C: Go to step 2 with no defaults
  • If it doesn't exist: Say "No dx config found. Let's set up your project." Go to step 2.

Read the full file on GitHub · 981 lines

Files

What ships with it

4 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. 7d ago Changed · -2 lines 703b9906d58e
  2. 9d ago Changed · +11 lines 2df5eec6d168
  3. 16d ago Changed · +9 lines 2203e8f7dabc
  4. 23d ago Changed · +14 lines 49c186600d92
  5. 1mo ago Changed · +3 lines 8f43f40b4697
  6. 1mo ago Changed · +9 lines 3d3c7943996b
  7. 1mo ago Changed · -10 lines 7001d0b6bb7c
  8. 2mo ago Changed ffa897356050
  9. 2mo ago Changed · +5 lines 5f09bb82e423
  10. 2mo ago First seen · 942 lines · 43 tokens per session scan A 338b848a0961

Subscribe to this mod's changes

dx-init is a skill published in the GitHub repository easingthemes/dx-aem-flow (9 stars, last pushed 3d ago), licensed MIT. It adds 43 tokens to every session and 13,067 once invoked, about $0.0002 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-09-03.

Related

dx-init compared with skills from other repositories

dx-init next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dx-initeasingthemes/dx-aem-flowSkill93d agoMITA43Claude Code
orbit-notionnexu-io/open-designSkill111ktodayApache-2.0A117Claude Code, Codex
agentmailpaperclipai/paperclipSkill119ktodayMITA30Claude Code, Codex
rowboat-spacesrowboatlabs/rowboatSkill18ktodayApache-2.0A60Claude Code, Codex
Cortexdanielmiessler/LifeOSSkill21k15d agoMITA184Claude Code
feishuHmbown/CodeWhaleSkill41k4d agoMITA33Claude Code, Codex
pinchtab-mcppinchtab/pinchtabSkill11k9d agoMITA52Claude Code, Codex