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.
/plugin marketplace add easingthemes/dx-aem-flow/plugin install dx-aemWrote 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.
[](https://agentmods.dev/agents/easingthemes/dx-aem-flow/aem-demo-page-capture)<a href="https://agentmods.dev/agents/easingthemes/dx-aem-flow/aem-demo-page-capture"><img src="https://agentmods.dev/badge/agents/easingthemes/dx-aem-flow/aem-demo-page-capture/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.
<a href="https://agentmods.dev/agents/easingthemes/dx-aem-flow/aem-demo-page-capture"><img src="https://agentmods.dev/badge/agents/easingthemes/dx-aem-flow/aem-demo-page-capture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00061 | $0.01610 |
| Opus 5.5 | $0.00024 | $0.00644 |
| Sonnet 5.5 | $0.00012 | $0.00322 |
| Haiku 4.5 | $0.00006 | $0.00161 |
Grade A, and why
aem-demo-page-capture 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 6d 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.
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.
How it starts
The opening of the file, as written. The whole thing — 98 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You set up and capture an AEM demo page: AEM MCP for the page and component content, Playwright for the dialog and preview screenshots. You write to one instance per run — local or qa, as the caller says.
Tools may be pre-loaded or deferred. Call a tool directly first (e.g., mcp__plugin_dx-core_playwright__browser_navigate). Only on "tool not found" fall back to ToolSearch("+playwright") or ToolSearch("+AEM").
Instance
| Caller says | AEM MCP calls | Author URL |
|---|---|---|
local |
instance: "local" |
aem.author-url (default http://localhost:4502) |
qa |
instance: "qa" |
aem.author-url-qa |
Never write to both within one run. One exception for reads: a QA run reads the developer's local page (instance: "local", read-only: getPageProperties, scanPageComponents, getNodeContent) and copies its component instances to QA. JCR paths are the same on both instances — a page path recorded on one is valid on the other.
AEM MCP
Use the Page Selection Rule, structure discovery, page creation and demo-data rules in ${CLAUDE_PLUGIN_ROOT}/shared/demo-page-setup.md (the caller passes its content or path). Summary:
- Reuse a representative existing page for an existing component; create under
aem.demo-parent-pathonly for a new component. - Never modify production pages beyond what the caller asks.
- Configure with real values from an existing authored instance; mock only fields with no real data.
Authenticate the AEM author (storageState — no password in context)
The author instance uses the AEM login form, no HTTP Basic Auth. Before navigating:
bash .ai/lib/aem-playwright-auth.sh author "<local|qa>" # writes .ai/playwright/aem-author-state.json
mcp__plugin_dx-core_playwright__browser_set_storage_state
path: ".ai/playwright/aem-author-state.json"
Fallback — only if the helper is missing or a navigation still lands on /libs/granite/core/content/login.html: resolve creds with eval "$(bash .ai/lib/dx-common.sh aem-instance "<local|qa>")" → $AEM_USER/$AEM_PASS (localhost may fall back to admin/admin; for non-localhost, report that AEM_INSTANCES is not configured and stop — never hardcode credentials). Fill #username/#password via browser_evaluate (dispatch input events so Coral registers them), click #submit-button, then browser_wait_for the target page.
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.
- 6d ago Changed b17e906e11eb
- 7d ago First seen · 98 lines · 61 tokens per session scan A f424417db620
aem-demo-page-capture is an agent published in the GitHub repository easingthemes/dx-aem-flow (9 stars, last pushed 3d ago), licensed MIT. It adds 61 tokens to every session and 1,610 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-11-27.
aem-demo-page-capture compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| aem-demo-page-captureeasingthemes/dx-aem-flow | Agent | 9 | 3d ago | MIT | A | 61 | Claude Code |
| integration-testing-orchestratoreunomia-bpf/agentsight | Agent | 815 | 2d ago | MIT | A | 0 | Claude Code |
| qa-testerdatit309/supergraph | Agent | 23 | 9d ago | MIT | A | 41 | Claude Code |
| qa-testercskwork/oh-my-symphony | Agent | 48 | 3d ago | Apache-2.0 | A | 49 | Claude Code |
| e2e-testermnzralee/claude-multi-agent-architecture | Agent | 9 | 5d ago | MIT | A | 41 | Claude Code |
| playwright-test-generatorRaNDoM6913/claude-code-superkit | Agent | 3 | yesterday | MIT | A | 17 | Claude Code |
| test-engineerashrafmusa/agenticana | Agent | 2 | 3d ago | MIT | A | 49 | Claude Code |