aem-page-search

aem-page-search is a skill for Claude Code from easingthemes/dx-aem-flow. It costs 37 tokens per session (1,533 once invoked), scanned A, original, MIT.

A page-search tool for Adobe Experience Manager, a system used to manage website content. It finds pages and experience fragments that use a named component.

In plain words
What is it for?
It helps locate component usage, search configured content areas, and return clickable links to matching authoring pages.
Why use it?
It removes the need to search the AEM content tree manually when checking where a component appears.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the dx-aem plugin — 9 skills, 5 agents, 1 MCP server shipped together

Good fit It helps locate component usage, search configured content areas, and return clickable links to matching authoring pages.

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

Made for: Claude Code.

Or install dx-aem, the plugin that ships this one along with the rest of its 9 skills, 5 agents, 1 MCP server.

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 aem-page-search

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/easingthemes/dx-aem-flow/aem-page-search"><img src="https://agentmods.dev/badge/skills/easingthemes/dx-aem-flow/aem-page-search.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,533 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.00037 $0.01533
Opus 5.5 $0.00015 $0.00613
Sonnet 5.5 $0.00007 $0.00307
Haiku 4.5 $0.00004 $0.00153

Measured 1mo ago against content hash 56c7bed1895a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

aem-page-search 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 1mo 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.

plugins/dx-aem/skills/aem-page-search/SKILL.md · 152 lines

How it starts

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

You find every AEM page that uses a given component and return clickable author URLs.

1. Parse Input

The argument is a component name. Read .ai/config.yaml for:

  • aem.resource-type-pattern — to build the full resource type
  • aem.component-prefix — to normalize the name
  • aem.content-paths — to scope the search
  • aem.author-url — for building author URLs (defaults to http://localhost:4502)
  • aem.author-url-qa — for QA/stage author URLs (if configured)

Build the full resource type: substitute <name> in aem.resource-type-pattern with the component name.

If no argument provided, ask the user for the component name.

2. Load AEM MCP Tools

ToolSearch query: "+AEM search"

This loads mcp__plugin_dx-aem_AEM__searchContent, mcp__plugin_dx-aem_AEM__enhancedPageSearch, and mcp__plugin_dx-aem_AEM__scanPageComponents.

3. Search AEM Content

Search each configured content path using mcp__plugin_dx-aem_AEM__searchContent:

path: {content-path}           # e.g., /content/mysite/en
fulltext: {component_name}
limit: 20

Always also search Experience Fragments (components often live on XF, not pages):

path: /content/experience-fragments/{site-segment}
fulltext: {component_name}
limit: 20

Derive the XF path from the content path pattern.

If initial search returns 0 results

Try multiple strategies before concluding 0 pages:

  1. Exact resourceType JCR query:

    SELECT * FROM [nt:unstructured] WHERE [sling:resourceType] = '<resource-type>' AND ISDESCENDANTNODE('/content')
    
  2. LIKE query (catches path prefix variations):

    SELECT * FROM [nt:unstructured] WHERE [sling:resourceType] LIKE '%/components/%/<name>' AND ISDESCENDANTNODE('/content')
    
  3. Enhanced page search by component name as keyword

  4. Scan known pages using scanPageComponents on likely pages (homepage, test pages)

Never report "0 pages found" after trying only one query. Try at least strategies 1-3.

Read the full file on GitHub · 152 lines

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. 1mo ago Changed · -1 lines · -3 tokens per session 56c7bed1895a
  2. 3mo ago First seen · 153 lines · 40 tokens per session scan A c73238c177ea

Subscribe to this mod's changes

aem-page-search is a skill published in the GitHub repository easingthemes/dx-aem-flow (9 stars, last pushed 3d ago), licensed MIT. It adds 37 tokens to every session and 1,533 once invoked, about $0.0001 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-08-31.

Related

aem-page-search compared with skills from other repositories

aem-page-search next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
aem-page-searcheasingthemes/dx-aem-flowSkill93d agoMITA37Claude 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