npx skills add ...
npx skills add adobe/skills --skill internal-linking
Analyze and improve the internal link structure of an AEM Edge Delivery Services site. Builds a link graph from the query index and page content, identifies orphan pages, hub pages, and content silos, and generates specific linking recommendations with suggested anchor text and placement. Use when improving site navigation, fixing orphan pages, strengthening topical authority, or auditing link equity distribution.
npx skills add adobe/skills --skill internal-linking
Crawl an EDS site's query index and .plain.html page content to build a complete internal link graph. Analyze the graph to find orphan pages, weak connections, content silos, and linking opportunities, then produce specific recommendations with exact anchor text and placement.
This skill fetches external web pages for analysis. When fetching:
.plain.html variants).Do not use for external/backlink auditing, broken link checking, non-EDS sites, or unscoped sites with 500+ pages.
For recommendation format templates, troubleshooting, link classification details, and table schemas, see references/internal-linking-reference.md.
Before starting, create a checklist to track progress:
.plain.html for each page and extract all internal linksFetch https://<domain>/query-index.json. If paginated (has total and offset), fetch all pages using ?limit=500&offset=0. Build a map of all paths to their titles and descriptions — this is the universe of pages to analyze.
If the user specifies a path prefix (e.g., /blog/), filter to that prefix. If there are 200+ pages, recommend scoping and confirm before proceeding.
For each page in the inventory, fetch <path>.plain.html and extract all <a> elements. Record the source page, target path (normalized — strip domain, query params, fragments), anchor text, and surrounding context.
Classify links as body contextual, block, or CTA (see reference file for definitions). Also fetch /nav.plain.html and /footer.plain.html once to tag structural links.
Batch fetches in groups of 10-20 for large sites. Report progress as you go.
Construct a directed graph: nodes = pages from the query index, edges = body links between them.
For each page, compute inbound and outbound body link counts (exclude nav/footer from primary counts). Present the top 10 most-linked and bottom 10 least-linked pages in a table (see reference file for table format).
List all pages with zero inbound body links. For each, note whether it appears in nav or footer, its outbound link count, and its title/description. Pages with zero inbound links of any kind are critical priority.
Hub pages have outbound body links exceeding 2x the site average. List them with their role (pillar / index / landing).
Content silos are clusters that link heavily internally but rarely cross-link to other clusters. For each silo, report pages, internal link count, cross-silo link count, and the silo ratio (internal / total). A ratio above 0.8 suggests isolation. Recommend specific cross-silo links with anchor text.
Compute overall link health metrics:
Group pages by path prefix or topical similarity. For each cluster, check whether pages link to each other, whether a pillar page exists, and whether obvious connections are missing.
For each orphan and under-linked page, provide a specific recommendation: which page should link to it, where in that page's content the link should go, the exact suggested sentence with anchor text, and a rationale. Follow the recommendation format in the reference file.
Provide at least one recommendation per orphan, and at least one per under-linked page (1-2 inbound links). Include cross-silo bridge links where topics naturally overlap. Always use descriptive anchor text — never "click here" or "read more."
Compile findings into a structured report:
Summary — Total pages, total internal body links, average inbound per page, orphan count and percentage, silos detected.
Sections — Orphan pages, hub pages, content silos, link distribution health (rated Healthy / Needs Improvement / Poor), and all recommendations prioritized as: