dx-sync

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

A synchronization tool that applies plugin workflow updates to configured consumer repositories. Consumer repositories are the projects that use the shared plugin files.

In plain words
What is it for?
Use it to push plugin changes to other repositories, including checking what would change with a dry run.
Why use it?
It removes repetitive manual copying or updating across several projects and can target selected repositories and options.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is | brand-a | ../Brand-A-Project | development | feature/ai-sync | Yes | No |.

Part of the dx-core plugin — 49 skills, 7 agents shipped together

Good fit Use it to push plugin changes to other repositories, including checking what would change with a dry run.

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

Made for: Claude Code.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/easingthemes/dx-aem-flow/dx-sync"><img src="https://agentmods.dev/badge/skills/easingthemes/dx-aem-flow/dx-sync.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 976 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.00039 $0.00976
Opus 5.5 $0.00016 $0.00390
Sonnet 5.5 $0.00008 $0.00195
Haiku 4.5 $0.00004 $0.00098

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

Security

Grade A, and why

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

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/migrate-config.sh, scripts/sync-consumers.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-sync/SKILL.md · 94 lines

How it starts

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

You sync plugin updates to consumer AEM repos using the sync-consumers.sh script. Any consumer repo can run this skill — there is no hub. Repos are listed in .ai/config.yaml under repos:.

1. Locate Sync Script

The sync script lives in this skill's scripts directory:

SYNC_SCRIPT="${CLAUDE_SKILL_DIR}/scripts/sync-consumers.sh"

If it doesn't exist, try the repo root fallback:

SYNC_SCRIPT="$(git rev-parse --show-toplevel)/internal/sync-consumers.sh"

If neither exists, STOP: "sync-consumers.sh not found."

2. Show Consumer Repo Table

Read repos: from .ai/config.yaml. Present the available repos and their capabilities:

| Repo | Path | Base Branch | Work Branch | FE | BE |
|------|------|-------------|-------------|:--:|:--:|
| brand-a | ../Brand-A-Project | development | feature/ai-sync | Yes | No |
| backend | ../AEM-Backend | develop | feature/ai-sync | Yes | Yes |
| brand-b | ../Brand-B-Project | development | feature/ai-sync | Yes | No |

All repos come from the repos: section in .ai/config.yaml. The current repo is excluded (you don't sync to yourself).

3. Parse Arguments

From $ARGUMENTS, extract:

  • Flags: --dry-run, --parallel, --no-git, --no-pr
  • Repos: Repo names from .ai/config.yaml repos: section
  • If no repos specified, defaults to all configured repos

If no arguments at all, ask: "Sync all repos? Or specify which ones (e.g., brand-a backend). Add --dry-run to preview."

4. Run Sync

bash "$SYNC_SCRIPT" $ARGUMENTS

The script handles:

  1. Merge origin/<base-branch> into work branch
  2. Copy utility scripts to .ai/lib/
  3. Copy output templates to .ai/templates/
  4. Generate Copilot agents (with dual tool names for Copilot CLI + VS Code Chat)
  5. Config migration (runs versioned migrations on the consumer's .ai/config.yaml; updates dx.version to match the plugin version)
  6. Sync Claude rules (.claude/rules/)
  7. Sync AI rules (.ai/rules/)
  8. Sync instructions (.github/instructions/)
  9. Sync VS Code MCP config (.vscode/mcp.json — mirrors ADO/Atlassian from root .mcp.json)
  10. Sync VS Code Chat settings (.vscode/settings.json — chat.instructionsFilesLocations, chat.agentSkillsLocations)
  11. Cleanup (remove rules not applicable to repo capabilities)
  12. Commit and push
  13. Create/update PR

Read the full file on GitHub · 94 lines

Files

What ships with it

2 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. 2d ago Changed · +1 lines c1f042778ef3
  2. 1mo ago First seen · 93 lines · 39 tokens per session scan A 7edc59aa7e55

Subscribe to this mod's changes

dx-sync is a skill published in the GitHub repository easingthemes/dx-aem-flow (6 stars, last pushed 2d ago), licensed MIT. It adds 39 tokens to every session and 976 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.