dx-eject

dx-eject is a skill for Claude Code from easingthemes/dx-aem-flow. It costs 56 tokens per session (3,706 once invoked), scanned A, original, MIT.

A one-way export tool that copies a plugin's project files into the project using them. Afterward, the project can work without the plugins installed.

In plain words
What is it for?
It helps copy skills, agents, rules, templates, scripts, hooks, and MCP configuration into a consumer repository.
Why use it?
It removes the project's dependency on installed plugins, but future plugin updates no longer reach the copied files automatically.

Skill for Claude Code

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

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

Good fit It helps copy skills, agents, rules, templates, scripts, hooks, and MCP configuration into a consumer repository.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/easingthemes/dx-aem-flow/dx-eject
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 easingthemes/dx-aem-flow --skill dx-eject
Clone the repo
git clone --depth 1 https://github.com/easingthemes/dx-aem-flow

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/easingthemes/dx-aem-flow/dx-eject"><img src="https://agentmods.dev/badge/skills/easingthemes/dx-aem-flow/dx-eject.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 3,706 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.00056 $0.03706
Opus 5.5 $0.00022 $0.01482
Sonnet 5.5 $0.00011 $0.00741
Haiku 4.5 $0.00006 $0.00371

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

Security

Grade A, and why

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

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/eject.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-eject/SKILL.md · 304 lines

How it starts

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

You eject (copy) all plugin assets into the consumer project so it can operate independently without any dx plugins installed. This is a one-way, irreversible operation — after ejecting, the project owns all files and plugin updates no longer propagate automatically.

Tool Usage Rules

  • File existence: Use Glob — never [ -f ], test -f, or Bash test commands
  • File content reads: Use Read — never cat or head in Bash
  • File writes: Use Write or Edit — never echo > in Bash
  • Bash is ONLY for: running eject.sh, chmod +x, git commands, and install scripts
  • Parallel operations: Call multiple Read/Write/Glob tools in parallel when independent

0. Pre-flight Checks

0a. Verify dx is initialized

Check that .ai/config.yaml exists (use Glob). If not:

✗ FATAL: .ai/config.yaml not found. Run /dx-init first before ejecting.

STOP.

0b. Resolve Plugin Directories

Find each installed plugin root:

  • dx plugin: Glob for **/skills/dx-doctor/SKILL.md, navigate up 3 levels
  • aem plugin: Glob for **/skills/aem-init/SKILL.md, navigate up 3 levels
  • auto plugin: Glob for **/skills/auto-init/SKILL.md, navigate up 3 levels

Parse the argument to determine scope:

  • dx — eject dx-core only
  • aem — eject dx-aem only
  • auto — eject dx-automation only
  • all or no argument — eject all detected plugins

If a requested plugin is not found, report: ⚠ <plugin> plugin not detected. Skipping.

0c. Warn the User

Present this warning and wait for explicit confirmation:

## ⚠ Eject Warning

This will copy ALL assets from the following plugins into your repo:
- dx-core (49 skills, 7 agents, 5 rules, shared files, data, templates)
- dx-hub (5 skills, data, templates)
- dx-aem (12 skills, 6 agents, shared files, templates)
- dx-automation (10 skills, 1 rule, data files, templates)

### What happens:
1. **Claude Code skills** → `.claude/skills/` (shadows plugin skills — Claude Code loads local over plugin)
2. **Claude Code agents** → `.claude/agents/` (local agent definitions)
3. **Copilot agents** → `.github/agents/`
4. **Plugin originals** → `.ai/ejected/` (rules, shared, data, templates, hooks, manifests)
6. **Hooks config** → merged into `.claude/hooks.json`

### After ejecting:
- You can uninstall the plugins (`/plugin uninstall dx-core`, etc.)
- All skills and agents work from local files
- You are responsible for maintaining and updating these files
- `/dx-upgrade` and `/dx-doctor` will no longer work (they depend on plugin directories)
- To get plugin updates, you must manually diff and merge

**This cannot be undone. Proceed?** (yes/no)

Read the full file on GitHub · 304 lines

Files

What ships with it

1 file 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. 16d ago Changed 29a3165371dd
  2. 23d ago Changed · +5 lines 063b82c0145e
  3. 1mo ago Changed · +1 lines 85a690192f57
  4. 1mo ago Changed · +1 lines ca2ac5e943b3
  5. 3mo ago First seen · 297 lines · 56 tokens per session scan A 3cefa18614eb

Subscribe to this mod's changes

dx-eject 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 3,706 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-eject compared with skills from other repositories

dx-eject next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dx-ejecteasingthemes/dx-aem-flowSkill93d agoMITA56Claude 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