plugins/aem/6.5-lts/skills/aem-replication/replicate-content/SKILL.md
Use when publishing, unpublishing, replicating, or activating/deactivating content in AEM 6.5 LTS. Covers Quick Publish, Manage Publication, tree activation, bulk content activation, package replication, workflow-based approval, scheduled activation/deactivation (on/off time), dispatcher flush, and the programmatic Replication Java API for AEM publish instances.
npx skillsauth add adobe/skills replicate-contentInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill when the user asks to publish, unpublish, replicate, activate, deactivate, or bulk-replicate content on AEM 6.5 LTS publish instances.
configure-replication-agent| Method | When to Use | Scope |
|--------|-------------|-------|
| Quick Publish | Fast single-page activation, no approval | Selected pages only (shallow) |
| Manage Publication | Scheduling, references, or workflow control | Single/multiple pages with options |
| Tree Activation | Entire site section or initial site launch | Page tree (see references/TREE_ACTIVATION.md) |
| Package Replication | Specific content sets or cross-env deploy | Custom JCR filter (see references/PACKAGE_REPLICATION.md) |
| Workflow Replication | Approval required before going live | Any content with assigned approver |
| Scheduled Activation | Time-based publish/unpublish | On Time / Off Time in page properties |
| Replication API | Programmatic from Java or scripts | Any JCR path (see references/REPLICATION_API.md) |
Sites console → select page(s) → Quick Publish (toolbar or right-click menu)
Sites console → select page(s) → Manage Publication
http://localhost:4502/miscadmin → Replication → Activate Tree
/content/mysite/enFor full steps and performance guidance, see references/TREE_ACTIVATION.md.
/crx/packmgr → Create Package → add filters → Build → More → Replicate
http://publish:4503/crx/packmgr)For full steps, see references/PACKAGE_REPLICATION.md.
Select page → Timeline panel → Start Workflow → Request for Activation → assign approver
http://localhost:4502/aem/inbox: Approve → content activates; Reject → returns to authorPage Properties → Advanced tab → set On Time (activate) and/or Off Time (deactivate)
/etc/replication/agents.author/[agent] → Triggers tab → "On-/Offtime reached" is checked@Reference private Replicator replicator;
replicator.replicate(session, ReplicationActionType.ACTIVATE, "/content/path");
replicator.replicate(session, ReplicationActionType.DEACTIVATE, "/content/path");
curl -u $AEM_USER:$AEM_PASSWORD -X POST http://localhost:4502/bin/replicate.json \
-F "cmd=Activate" -F "path=/content/mysite/en/page"
# ✓ Verify: HTTP 200 with {"success":true,"path":"/content/mysite/en/page"}
For ReplicationOptions (synchronous, agent filtering) and full curl error handling, see references/REPLICATION_API.md.
Sites console → select page(s) → Quick Unpublish (or Manage Publication → Unpublish)
| Indicator | Meaning | |-----------|---------| | Green checkmark | Published and up-to-date | | Orange dot | Modified since last publish — re-publish needed | | Gray circle | Never published |
Check queue: Tools → Deployment → Replication → Agents on author → [agent] → queue should be idle/empty after processing.
Logs: crx-quickstart/logs/replication.log
For deep diagnostics, use the troubleshoot-replication skill.
Use the Assets console (/assets.html/content/dam) with the same Quick Publish / Manage Publication actions. All renditions and metadata replicate automatically. For shared datastores, enable binary-less replication (Serialization Type: Binary-less) on the agent to transfer only metadata nodes.
configure-replication-agent — set up and configure replication agentsreplication-api — full programmatic Replication API reference for custom OSGi services and servletstroubleshoot-replication — diagnose and resolve replication failurestools
Identifies which items (pages, campaigns, products, channels, regions) had the biggest increases or decreases for a key metric between two time periods. Use this skill when someone asks "what's up and what's down," "which campaigns moved the most," "top gainers and losers," "what pages are trending," "show me what changed by channel," or any variation of identifying the biggest movers and decliners for a metric.
tools
Compares the performance of two or more audience segments across key metrics side by side. Use this skill when someone wants to compare audiences, cohorts, or groups — for example, "how do mobile users compare to desktop users on conversion," "compare new vs. returning visitors," "show me the difference between these two segments," "compare these audiences on our KPIs," or "which segment performs better." Also trigger for "segment comparison," "audience comparison," or "cohort comparison."
business
Produces a compact KPI digest showing how key metrics changed over a period and what's driving the movement. Use this skill when someone asks for a performance summary, a weekly recap, a morning briefing, a KPI update, or any variation of "how did we do this week/month." Also trigger for requests like "give me a performance overview," "what moved in the last 7 days," "pull our KPI report," or "summarize our metrics."
testing
Analyzes a multi-step conversion funnel to find where users drop off and which steps have the worst leakage. Use this skill when someone describes a journey or funnel and asks about conversion rates, drop-off, fallout, or step completion. Trigger for phrases like "analyze our onboarding funnel," "where are users dropping off," "what's our checkout conversion rate," "funnel analysis," "show me fallout between these steps," or "which step loses the most users."