[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M728VWAVW1G99H251J2NX0Q4":3,"skill-same:01M728VWAVW1G99H251J2NX0Q4":60},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":29,"commitSha":30,"skillDirectory":31,"forksCount":32,"repositoryHtmlUrl":33,"repositoryHomepageUrl":34,"ownerHtmlUrl":35,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":36,"install":37,"resources":49},"01M728VWAVW1G99H251J2NX0Q4","orphan-pages-internal-linking-opportunities",null,"Audit any domain for orphan blog pages, map internal links across all blog posts, generate keyword-backed interlinking briefs via DataForSEO, and produce a self-contained downloadable HTML report. Invoke with the target domain as the argument.","Infrasity-Labs\u002Fdev-gtm-claude-skills","Infrasity-Labs","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F185816631?v=4","01M725RT5H30FV46N17K3ABAZY","01M725RT66YJPM15PDYXPWS4BS",168,"MIT","https:\u002F\u002Fgithub.com\u002FInfrasity-Labs\u002Fdev-gtm-claude-skills\u002Fblob\u002Fmain\u002Fskills\u002Forphan-pages-internal-linking-opportunities\u002FSKILL.md",[],[],"2026-11-10 18:39:20",false,"---\nname: orphan-pages-internal-linking-opportunities\ndescription: Audit any domain for orphan blog pages, map internal links across all blog posts, generate keyword-backed interlinking briefs via DataForSEO, and produce a self-contained downloadable HTML report. Invoke with the target domain as the argument.\narguments:\n  - name: domain\n    description: The domain to audit (e.g. example.com or https:\u002F\u002Fwww.example.com)\n    required: true\nexample_invocation: \u002Forphan-pages-internal-linking-opportunities infrasity.com\n---\n\n# Orphan Page Audit & Interlinking Brief Generator\n\nYou are running a complete SEO orphan page audit. The user has provided a domain as input via `args`. Your job is to execute every phase below in order, using the tools available, and produce a single downloadable HTML report file saved to the current working directory.\n\n**Input domain:** `{args}`\n\n---\n\n## PHASE 1 — Domain Normalization & Sitemap Discovery\n\n1. Normalize the input domain:\n   - Strip leading\u002Ftrailing whitespace\n   - If it doesn't start with `http`, prepend `https:\u002F\u002F`\n   - If it doesn't have `www.` and the base domain resolves with it, use `www.`\n   - Remove any trailing slash\n   - Store as `BASE_URL` (e.g., `https:\u002F\u002Fwww.example.com`)\n\n2. Fetch `BASE_URL\u002Frobots.txt` using WebFetch. Look for any `Sitemap:` directive — if found, use that URL as the sitemap location. If not found, default to `BASE_URL\u002Fsitemap.xml`.\n\n3. Fetch the sitemap URL. Determine its type:\n   - **Sitemap index** (`\u003Csitemapindex>` tag present): extract all `\u003Cloc>` child sitemap URLs, fetch each one, and merge all `\u003Cloc>` URLs from every child sitemap into a single master URL list\n   - **Regular sitemap** (`\u003Curlset>` tag): extract all `\u003Cloc>` URLs directly\n\n4. Store the full master URL list.\n\n---\n\n## PHASE 2 — Blog URL Identification\n\nFrom the master URL list:\n\n1. Analyze all URL patterns to identify the blog\u002Fcontent section. Look for the URL prefix that appears most frequently in a uniform pattern. Common prefixes to check: `\u002Fblog\u002F`, `\u002Farticles\u002F`, `\u002Fposts\u002F`, `\u002Finsights\u002F`, `\u002Fresources\u002F`, `\u002Flearn\u002F`, `\u002Fnews\u002F`, `\u002Fguides\u002F`\n\n2. Select the prefix that best represents the blog content (most URLs, most uniform structure). If multiple prefixes qualify, include all of them.\n\n3. Filter the master URL list to only include URLs matching the identified blog prefix(es). Exclude index\u002Flisting pages (e.g., `BASE_URL\u002Fblog` with no further slug). Store as `BLOG_URLS`.\n\n4. If no blog prefix is identifiable from the sitemap, fetch `BASE_URL` homepage and look for a blog\u002Farticles navigation link, then fetch that page and extract all post URLs from it.\n\n5. Log the total count: \"Found {N} blog posts at {BASE_URL}\"\n\n---\n\n## PHASE 3 — Crawl & Build Inbound Link Map\n\nRun a **Workflow** to crawl all blog posts in parallel. The workflow should:\n\n**Script logic:**\n- Take `BLOG_URLS` as the items list\n- For each URL, spawn an agent that:\n  - Fetches the page using WebFetch\n  - Extracts ALL href links in the body\u002Farticle content (not nav, header, footer) that point to other pages on the same domain matching the blog URL pattern\n  - Normalizes all found links to absolute URLs (no trailing slash, no query params, no hash)\n  - Returns `{ source_url, outbound_blog_links: [...] }`\n- Use schema: `{ type: 'object', properties: { source_url: { type: 'string' }, outbound_blog_links: { type: 'array', items: { type: 'string' } } }, required: ['source_url', 'outbound_blog_links'] }`\n\nAfter the workflow completes, aggregate results:\n- Build `inbound_count` map: `{ url -> number }` initialized to 0 for all `BLOG_URLS`\n- Build `inbound_sources` map: `{ url -> [source_url, ...] }` initialized to `[]` for all `BLOG_URLS`\n- For each crawl result, iterate `outbound_blog_links` and increment the inbound count + push the source URL for each valid link\n\nClassify every page:\n- **Orphan** = 0 inbound links → store as `ORPHAN_URLS`\n- **Low-linked** = 1–2 inbound links → store as `LOW_LINKED_URLS`\n- **Healthy** = 3+ inbound links → store as `HEALTHY_URLS`\n\nBuild `FULL_INBOUND_MAP`: array of `{ url, inbound, linked_from }` sorted descending by inbound count.\n\n---\n\n## PHASE 4 — Keyword Research for Orphan Pages\n\nRun a **Workflow** to get the top US search volume keyword for each orphan page. The workflow should:\n\n**Script logic:**\n- Take `ORPHAN_URLS` as the items list\n- For each orphan URL, spawn an agent that:\n  1. Extracts the slug from the URL (last path segment)\n  2. Generates 6–8 keyword variants from the slug (convert hyphens to spaces, try variations with different word orders, add\u002Fremove qualifiers)\n  3. Uses ToolSearch to load `mcp__claude_ai_DataForSEO__kw_data_google_ads_search_volume`, then calls it with the keyword variants, `location_code: 2840` (United States), `language_code: \"en\"`\n  4. Picks the keyword with the highest US monthly search volume as `anchor_text`\n  5. Fallback: if DataForSEO returns no data or errors, convert the slug to a phrase (hyphens → spaces) as the `anchor_text`\n  6. Fetches the page and writes a 2–3 sentence `page_summary` of what the page covers\n  7. Returns `{ orphan_url, anchor_text, us_monthly_volume, page_summary }`\n- Use schema: `{ type: 'object', properties: { orphan_url: { type: 'string' }, anchor_text: { type: 'string' }, us_monthly_volume: { type: 'number' }, page_summary: { type: 'string' } }, required: ['orphan_url', 'anchor_text', 'us_monthly_volume', 'page_summary'] }`\n\nStore results as `KEYWORD_DATA`: map of `{ orphan_url -> { anchor_text, us_monthly_volume, page_summary } }`\n\n---\n\n## PHASE 5 — Generate Interlinking Briefs for Orphan Pages\n\nRun a **Workflow** using a 2-stage pipeline over `ORPHAN_URLS`:\n\n**Stage 1** — Pass through keyword data (already computed, no agent needed — use the `KEYWORD_DATA` directly)\n\n**Stage 2** — For each orphan, spawn an agent that:\n1. Receives `orphan_url`, `anchor_text`, `page_summary`, and the full `BLOG_URLS` list\n2. Selects exactly **3 topically relevant source pages** from `BLOG_URLS` (exclude the orphan itself; prefer well-linked, non-orphan pages)\n3. Fetches each of the 3 source pages using WebFetch\n4. For each source page produces:\n   - `source_url`: the full URL of the source page\n   - `where_to_place`: specific, precise description of the location within that page — naming the H2\u002FH3 section, which paragraph, what content surrounds it. Must be specific enough that a content editor can navigate there without guessing\n   - `context_copy`: minimum 300 characters of naturally flowing copy to be inserted at that location. The `anchor_text` MUST appear exactly once within it as `\u003Ca href=\"ORPHAN_URL\">ANCHOR_TEXT\u003C\u002Fa>`. Copy must read as if it was always part of the article — not promotional, not forced. Same anchor text across all 3 placements.\n5. Returns `{ orphan_url, anchor_text, placements: [{ source_url, where_to_place, context_copy }, ...] }`\n- Use schema with `placements` as array of 3 objects each requiring `source_url`, `where_to_place`, `context_copy`\n\nAfter the workflow completes, post-process every `context_copy`:\n- Check if `anchor_text` appears as a hyperlink (`href=\"orphan_url\"` present)\n- If not, find the first occurrence of `anchor_text` (case-insensitive) and replace with `\u003Ca href=\"orphan_url\">anchor_text\u003C\u002Fa>`\n\nStore as `BRIEFS`.\n\n---\n\n## PHASE 6 — Generate HTML Report\n\nUsing the Write tool, save a single self-contained HTML file to the current working directory named `orphan-audit-{domain}-{YYYYMMDD}.html` where `{domain}` is the base domain (no protocol, no www, dots replaced with hyphens) and `{YYYYMMDD}` is today's date.\n\nThe HTML file must be completely self-contained — all CSS inline in a `\u003Cstyle>` tag, no external CDN or font imports, works offline. Use clean, professional design with the following structure:\n\n### HTML Report Structure\n\n```\n\u003C!DOCTYPE html>\n\u003Chtml>\n\u003Chead>\n  \u003Cmeta charset=\"UTF-8\">\n  \u003Ctitle>Orphan Page Audit — {domain}\u003C\u002Ftitle>\n  \u003Cstyle>\n    \u002F* Full inline CSS — professional design, light background, clean typography *\u002F\n    \u002F* Use system fonts: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif *\u002F\n    \u002F* Color palette: #0f172a (headings), #334155 (body), #3b82f6 (accent\u002Flinks), #f1f5f9 (backgrounds), #e2e8f0 (borders) *\u002F\n    \u002F* Stat cards, tables, collapsible sections, copy buttons *\u002F\n  \u003C\u002Fstyle>\n\u003C\u002Fhead>\n\u003Cbody>\n```\n\n**Section 1 — Header**\n- Site logo area with domain name (large)\n- Audit date\n- \"Download Report\" button (triggers `window.print()` or direct file save)\n\n**Section 2 — Executive Summary**\nFour stat cards in a row:\n- Total Blog Posts Found: `{BLOG_URLS.length}`\n- Orphan Pages: `{ORPHAN_URLS.length}` + percentage of total\n- Low-Linked Pages: `{LOW_LINKED_URLS.length}` (1–2 inbound links)\n- Healthy Pages: `{HEALTHY_URLS.length}` (3+ inbound links)\n\nA horizontal bar showing the proportion of orphan \u002F low-linked \u002F healthy visually.\n\n**Section 3 — Orphan Pages List**\nTable with columns: `#` | `Page URL` (clickable link) | `Anchor Text` | `US Monthly Volume`\nOne row per orphan page.\n\n**Section 4 — Inbound Link Map (Non-Orphan Pages)**\nTable sorted descending by inbound count: `Page URL` | `Inbound Links` | `Linked From`\nFor the \"Linked From\" column, list each source URL on a new line or as a comma-separated list.\n\n**Section 5 — Interlinking Briefs**\nFor each orphan page, a card containing:\n- Orphan URL (h3, clickable)\n- Anchor Text (badge\u002Fpill)\n- US Monthly Search Volume\n- Three placement blocks, each showing:\n  - Source page URL (bold, clickable)\n  - \"Where to Place\" — displayed as a styled blockquote or info box\n  - \"Context Copy\" — displayed in a styled `\u003Cpre>` or `\u003Cdiv>` with a \"Copy\" button that uses `navigator.clipboard.writeText()` to copy the HTML\n\n**Section 6 — Footer**\n- \"Generated by Infrasity Orphan Page Audit Skill\"\n- Audit date and domain\n\n### JavaScript (inline `\u003Cscript>` tag)\n- Copy button functionality: `navigator.clipboard.writeText(element.innerText)`\n- Smooth scroll for any nav links\n- Optional: collapse\u002Fexpand for brief cards\n\n---\n\n## PHASE 7 — Confirm & Report to User\n\nAfter saving the HTML file:\n1. Report the file path to the user\n2. Give a brief summary:\n   - Total blog posts found\n   - Number of orphan pages\n   - Number of interlinking briefs generated\n   - File name and location\n3. Note any pages where keyword data could not be fetched from DataForSEO (fell back to slug)\n\n---\n\n## Important Rules\n\n- **Never hardcode `\u002Fblog\u002F`** — always detect the URL pattern from the actual sitemap\n- **Anchor text is fixed per orphan** — the same `anchor_text` string appears in all 3 `context_copy` blocks for that orphan, always as a hyperlink\n- **Context copy minimum 300 characters** — enforce strictly; if an agent returns shorter copy, flag it\n- **Where to place must be specific** — section heading + paragraph position + surrounding content context\n- **HTML report is self-contained** — no external requests, no CDN, works offline\n- **DataForSEO fallback** — if API returns no data, use the slug converted to a readable phrase\n- **Post-process hyperlinks** — after all briefs are generated, always verify and fix anchor text hyperlinks before writing the HTML\n- **File naming** — `orphan-audit-{domain}-{YYYYMMDD}.html` saved in the user's current working directory\n","# Orphan Page Audit & Interlinking Brief Generator\n\nYou are running a complete SEO orphan page audit. The user has provided a domain as input via `args`. Your job is to execute every phase below in order, using the tools available, and produce a single downloadable HTML report file saved to the current working directory.\n\n**Input domain:** `{args}`\n\n---\n\n## PHASE 1 — Domain Normalization & Sitemap Discovery\n\n1. Normalize the input domain:\n   - Strip leading\u002Ftrailing whitespace\n   - If it doesn't start with `http`, prepend `https:\u002F\u002F`\n   - If it doesn't have `www.` and the base domain resolves with it, use `www.`\n   - Remove any trailing slash\n   - Store as `BASE_URL` (e.g., `https:\u002F\u002Fwww.example.com`)\n\n2. Fetch `BASE_URL\u002Frobots.txt` using WebFetch. Look for any `Sitemap:` directive — if found, use that URL as the sitemap location. If not found, default to `BASE_URL\u002Fsitemap.xml`.\n\n3. Fetch the sitemap URL. Determine its type:\n   - **Sitemap index** (`\u003Csitemapindex>` tag present): extract all `\u003Cloc>` child sitemap URLs, fetch each one, and merge all `\u003Cloc>` URLs from every child sitemap into a single master URL list\n   - **Regular sitemap** (`\u003Curlset>` tag): extract all `\u003Cloc>` URLs directly\n\n4. Store the full master URL list.\n\n---\n\n## PHASE 2 — Blog URL Identification\n\nFrom the master URL list:\n\n1. Analyze all URL patterns to identify the blog\u002Fcontent section. Look for the URL prefix that appears most frequently in a uniform pattern. Common prefixes to check: `\u002Fblog\u002F`, `\u002Farticles\u002F`, `\u002Fposts\u002F`, `\u002Finsights\u002F`, `\u002Fresources\u002F`, `\u002Flearn\u002F`, `\u002Fnews\u002F`, `\u002Fguides\u002F`\n\n2. Select the prefix that best represents the blog content (most URLs, most uniform structure). If multiple prefixes qualify, include all of them.\n\n3. Filter the master URL list to only include URLs matching the identified blog prefix(es). Exclude index\u002Flisting pages (e.g., `BASE_URL\u002Fblog` with no further slug). Store as `BLOG_URLS`.\n\n4. If no blog prefix is identifiable from the sitemap, fetch `BASE_URL` homepage and look for a blog\u002Farticles navigation link, then fetch that page and extract all post URLs from it.\n\n5. Log the total count: \"Found {N} blog posts at {BASE_URL}\"\n\n---\n\n## PHASE 3 — Crawl & Build Inbound Link Map\n\nRun a **Workflow** to crawl all blog posts in parallel. The workflow should:\n\n**Script logic:**\n- Take `BLOG_URLS` as the items list\n- For each URL, spawn an agent that:\n  - Fetches the page using WebFetch\n  - Extracts ALL href links in the body\u002Farticle content (not nav, header, footer) that point to other pages on the same domain matching the blog URL pattern\n  - Normalizes all found links to absolute URLs (no trailing slash, no query params, no hash)\n  - Returns `{ source_url, outbound_blog_links: [...] }`\n- Use schema: `{ type: 'object', properties: { source_url: { type: 'string' }, outbound_blog_links: { type: 'array', items: { type: 'string' } } }, required: ['source_url', 'outbound_blog_links'] }`\n\nAfter the workflow completes, aggregate results:\n- Build `inbound_count` map: `{ url -> number }` initialized to 0 for all `BLOG_URLS`\n- Build `inbound_sources` map: `{ url -> [source_url, ...] }` initialized to `[]` for all `BLOG_URLS`\n- For each crawl result, iterate `outbound_blog_links` and increment the inbound count + push the source URL for each valid link\n\nClassify every page:\n- **Orphan** = 0 inbound links → store as `ORPHAN_URLS`\n- **Low-linked** = 1–2 inbound links → store as `LOW_LINKED_URLS`\n- **Healthy** = 3+ inbound links → store as `HEALTHY_URLS`\n\nBuild `FULL_INBOUND_MAP`: array of `{ url, inbound, linked_from }` sorted descending by inbound count.\n\n---\n\n## PHASE 4 — Keyword Research for Orphan Pages\n\nRun a **Workflow** to get the top US search volume keyword for each orphan page. The workflow should:\n\n**Script logic:**\n- Take `ORPHAN_URLS` as the items list\n- For each orphan URL, spawn an agent that:\n  1. Extracts the slug from the URL (last path segment)\n  2. Generates 6–8 keyword variants from the slug (convert hyphens to spaces, try variations with different word orders, add\u002Fremove qualifiers)\n  3. Uses ToolSearch to load `mcp__claude_ai_DataForSEO__kw_data_google_ads_search_volume`, then calls it with the keyword variants, `location_code: 2840` (United States), `language_code: \"en\"`\n  4. Picks the keyword with the highest US monthly search volume as `anchor_text`\n  5. Fallback: if DataForSEO returns no data or errors, convert the slug to a phrase (hyphens → spaces) as the `anchor_text`\n  6. Fetches the page and writes a 2–3 sentence `page_summary` of what the page covers\n  7. Returns `{ orphan_url, anchor_text, us_monthly_volume, page_summary }`\n- Use schema: `{ type: 'object', properties: { orphan_url: { type: 'string' }, anchor_text: { type: 'string' }, us_monthly_volume: { type: 'number' }, page_summary: { type: 'string' } }, required: ['orphan_url', 'anchor_text', 'us_monthly_volume', 'page_summary'] }`\n\nStore results as `KEYWORD_DATA`: map of `{ orphan_url -> { anchor_text, us_monthly_volume, page_summary } }`\n\n---\n\n## PHASE 5 — Generate Interlinking Briefs for Orphan Pages\n\nRun a **Workflow** using a 2-stage pipeline over `ORPHAN_URLS`:\n\n**Stage 1** — Pass through keyword data (already computed, no agent needed — use the `KEYWORD_DATA` directly)\n\n**Stage 2** — For each orphan, spawn an agent that:\n1. Receives `orphan_url`, `anchor_text`, `page_summary`, and the full `BLOG_URLS` list\n2. Selects exactly **3 topically relevant source pages** from `BLOG_URLS` (exclude the orphan itself; prefer well-linked, non-orphan pages)\n3. Fetches each of the 3 source pages using WebFetch\n4. For each source page produces:\n   - `source_url`: the full URL of the source page\n   - `where_to_place`: specific, precise description of the location within that page — naming the H2\u002FH3 section, which paragraph, what content surrounds it. Must be specific enough that a content editor can navigate there without guessing\n   - `context_copy`: minimum 300 characters of naturally flowing copy to be inserted at that location. The `anchor_text` MUST appear exactly once within it as `\u003Ca href=\"ORPHAN_URL\">ANCHOR_TEXT\u003C\u002Fa>`. Copy must read as if it was always part of the article — not promotional, not forced. Same anchor text across all 3 placements.\n5. Returns `{ orphan_url, anchor_text, placements: [{ source_url, where_to_place, context_copy }, ...] }`\n- Use schema with `placements` as array of 3 objects each requiring `source_url`, `where_to_place`, `context_copy`\n\nAfter the workflow completes, post-process every `context_copy`:\n- Check if `anchor_text` appears as a hyperlink (`href=\"orphan_url\"` present)\n- If not, find the first occurrence of `anchor_text` (case-insensitive) and replace with `\u003Ca href=\"orphan_url\">anchor_text\u003C\u002Fa>`\n\nStore as `BRIEFS`.\n\n---\n\n## PHASE 6 — Generate HTML Report\n\nUsing the Write tool, save a single self-contained HTML file to the current working directory named `orphan-audit-{domain}-{YYYYMMDD}.html` where `{domain}` is the base domain (no protocol, no www, dots replaced with hyphens) and `{YYYYMMDD}` is today's date.\n\nThe HTML file must be completely self-contained — all CSS inline in a `\u003Cstyle>` tag, no external CDN or font imports, works offline. Use clean, professional design with the following structure:\n\n### HTML Report Structure\n\n```\n\u003C!DOCTYPE html>\n\u003Chtml>\n\u003Chead>\n  \u003Cmeta charset=\"UTF-8\">\n  \u003Ctitle>Orphan Page Audit — {domain}\u003C\u002Ftitle>\n  \u003Cstyle>\n    \u002F* Full inline CSS — professional design, light background, clean typography *\u002F\n    \u002F* Use system fonts: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif *\u002F\n    \u002F* Color palette: #0f172a (headings), #334155 (body), #3b82f6 (accent\u002Flinks), #f1f5f9 (backgrounds), #e2e8f0 (borders) *\u002F\n    \u002F* Stat cards, tables, collapsible sections, copy buttons *\u002F\n  \u003C\u002Fstyle>\n\u003C\u002Fhead>\n\u003Cbody>\n```\n\n**Section 1 — Header**\n- Site logo area with domain name (large)\n- Audit date\n- \"Download Report\" button (triggers `window.print()` or direct file save)\n\n**Section 2 — Executive Summary**\nFour stat cards in a row:\n- Total Blog Posts Found: `{BLOG_URLS.length}`\n- Orphan Pages: `{ORPHAN_URLS.length}` + percentage of total\n- Low-Linked Pages: `{LOW_LINKED_URLS.length}` (1–2 inbound links)\n- Healthy Pages: `{HEALTHY_URLS.length}` (3+ inbound links)\n\nA horizontal bar showing the proportion of orphan \u002F low-linked \u002F healthy visually.\n\n**Section 3 — Orphan Pages List**\nTable with columns: `#` | `Page URL` (clickable link) | `Anchor Text` | `US Monthly Volume`\nOne row per orphan page.\n\n**Section 4 — Inbound Link Map (Non-Orphan Pages)**\nTable sorted descending by inbound count: `Page URL` | `Inbound Links` | `Linked From`\nFor the \"Linked From\" column, list each source URL on a new line or as a comma-separated list.\n\n**Section 5 — Interlinking Briefs**\nFor each orphan page, a card containing:\n- Orphan URL (h3, clickable)\n- Anchor Text (badge\u002Fpill)\n- US Monthly Search Volume\n- Three placement blocks, each showing:\n  - Source page URL (bold, clickable)\n  - \"Where to Place\" — displayed as a styled blockquote or info box\n  - \"Context Copy\" — displayed in a styled `\u003Cpre>` or `\u003Cdiv>` with a \"Copy\" button that uses `navigator.clipboard.writeText()` to copy the HTML\n\n**Section 6 — Footer**\n- \"Generated by Infrasity Orphan Page Audit Skill\"\n- Audit date and domain\n\n### JavaScript (inline `\u003Cscript>` tag)\n- Copy button functionality: `navigator.clipboard.writeText(element.innerText)`\n- Smooth scroll for any nav links\n- Optional: collapse\u002Fexpand for brief cards\n\n---\n\n## PHASE 7 — Confirm & Report to User\n\nAfter saving the HTML file:\n1. Report the file path to the user\n2. Give a brief summary:\n   - Total blog posts found\n   - Number of orphan pages\n   - Number of interlinking briefs generated\n   - File name and location\n3. Note any pages where keyword data could not be fetched from DataForSEO (fell back to slug)\n\n---\n\n## Important Rules\n\n- **Never hardcode `\u002Fblog\u002F`** — always detect the URL pattern from the actual sitemap\n- **Anchor text is fixed per orphan** — the same `anchor_text` string appears in all 3 `context_copy` blocks for that orphan, always as a hyperlink\n- **Context copy minimum 300 characters** — enforce strictly; if an agent returns shorter copy, flag it\n- **Where to place must be specific** — section heading + paragraph position + surrounding content context\n- **HTML report is self-contained** — no external requests, no CDN, works offline\n- **DataForSEO fallback** — if API returns no data, use the slug converted to a readable phrase\n- **Post-process hyperlinks** — after all briefs are generated, always verify and fix anchor text hyperlinks before writing the HTML\n- **File naming** — `orphan-audit-{domain}-{YYYYMMDD}.html` saved in the user's current working directory\n",{"name":5,"arguments":23,"description":7,"example_invocation":28},[24],{"name":25,"required":26,"description":27},"domain",true,"The domain to audit (e.g. example.com or https:\u002F\u002Fwww.example.com)","\u002Forphan-pages-internal-linking-opportunities infrasity.com","main","02cfefb3a213041de8b80bc659ebc5f17b5e746a","skills\u002Forphan-pages-internal-linking-opportunities",19,"https:\u002F\u002Fgithub.com\u002FInfrasity-Labs\u002Fdev-gtm-claude-skills","https:\u002F\u002Fwww.infrasity.com\u002Fclaude-skills","https:\u002F\u002Fgithub.com\u002FInfrasity-Labs","2026-06-29 03:34:19",{"source":8,"skillName":5,"commands":38,"prompt":48,"zipAvailable":26},[39,42,45],{"tool":40,"command":41},"npx","npx skills add Infrasity-Labs\u002Fdev-gtm-claude-skills --skill orphan-pages-internal-linking-opportunities",{"tool":43,"command":44},"bunx","bunx skills add Infrasity-Labs\u002Fdev-gtm-claude-skills --skill orphan-pages-internal-linking-opportunities",{"tool":46,"command":47},"pnpm","pnpm dlx skills add Infrasity-Labs\u002Fdev-gtm-claude-skills --skill orphan-pages-internal-linking-opportunities","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FInfrasity-Labs\u002Fdev-gtm-claude-skills\u002Fblob\u002Fmain\u002Fskills\u002Forphan-pages-internal-linking-opportunities\u002FSKILL.md",[50,56],{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"README.md","REFERENCE","参考文档",8202,"https:\u002F\u002Fgithub.com\u002FInfrasity-Labs\u002Fdev-gtm-claude-skills\u002Fblob\u002Fmain\u002Fskills\u002Forphan-pages-internal-linking-opportunities\u002FREADME.md",{"path":57,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":58,"sourceHtmlUrl":59},"references\u002Freport-style-reference.html",31230,"https:\u002F\u002Fgithub.com\u002FInfrasity-Labs\u002Fdev-gtm-claude-skills\u002Fblob\u002Fmain\u002Fskills\u002Forphan-pages-internal-linking-opportunities\u002Freferences\u002Freport-style-reference.html",[61,68,75,82,89,96],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":18},"01M72919B9PDCQZP40S1WWB17C","stop-slop","Remove AI writing patterns from prose. Use when drafting, editing, or reviewing text to eliminate predictable AI tells and produce more human-like writing.","https:\u002F\u002Fgithub.com\u002FInfrasity-Labs\u002Fdev-gtm-claude-skills\u002Fblob\u002Fmain\u002Fwriting-skills\u002Fstop-slop\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":18},"01M72914WVB5R8YPZTNQ1K1VVH","social-media-posts","Create platform-specific social media posts for LinkedIn, Facebook, Instagram, and Reddit. Handles character limits, hashtag strategies, hook placement, and image specs per platform. Works from scratch, from existing content (blog, newsletter, announcement), or as a multi-platform campaign. Produces copy-paste-ready posts. Triggers: 'social media post', 'linkedin post', 'facebook post', 'instagram caption', 'reddit post', 'social posts', 'post to social', 'repurpose for social', 'social media campaign'.","https:\u002F\u002Fgithub.com\u002FInfrasity-Labs\u002Fdev-gtm-claude-skills\u002Fblob\u002Fmain\u002Fwriting-skills\u002Fsocial-media-posts\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":18},"01M72911F6QH7M7QZPFQ4RXFJA","ogilvy-copywriting","Apply David Ogilvy's advertising principles when writing or reviewing copy, headlines, product descriptions, landing pages, ads, emails, or any persuasive text. Use when the goal is copy that sells, not copy that wins awards. Covers positioning, headlines, promises, brand voice, long-form copy, and visual logic. Source: How to Create Advertising That Sells (1972) + Ogilvy on Advertising.","https:\u002F\u002Fgithub.com\u002FInfrasity-Labs\u002Fdev-gtm-claude-skills\u002Fblob\u002Fmain\u002Fwriting-skills\u002Fogilvy-copywriting\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":18},"01M7290T399PQNVSCNY2H1CK4E","blog","Full-lifecycle blog engine with 30 sub-skills, 12 content templates, 5-category 100-point scoring, and 5 specialized agents. Routes user requests to the right sub-skill: writing, rewriting, analysis, outlines, audits, schema, charts, images, repurposing, AI-citation optimization, FLOW framework prompts, topic-cluster execution, and multilingual publishing. Optimized for Google rankings (December 2025 Core Update, E-E-A-T) and AI citations (GEO\u002FAEO). Supports any platform (WordPress, Next.js MDX, Hugo, Ghost, Astro, Jekyll, 11ty, Gatsby, HTML). Use when user says \"blog\", \"write a blog\", \"blog post\", \"blog strategy\", \"content brief\", \"editorial calendar\", \"blog audit\", \"blog optimization\", \"topic cluster\", \"multilingual blog\", \"FLOW framework\", or any \u002Fblog subcommand. Sub-skill descriptions cover narrower triggers.","https:\u002F\u002Fgithub.com\u002FInfrasity-Labs\u002Fdev-gtm-claude-skills\u002Fblob\u002Fmain\u002Fwriting-skills\u002Fblog\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":18},"01M7290N0F9K4RCK8ZTEZ905ZS","blog-write","Write new blog articles from scratch optimized for Google rankings and AI citations. Generates full articles with template selection, answer-first formatting, Key Takeaways summary box, information gain markers, citation capsules, sourced statistics, Pixabay\u002FUnsplash images, built-in SVG chart generation, FAQ schema, internal linking zones, and proper heading hierarchy. Supports MDX, markdown, and HTML output. Use when user says \"write blog\", \"new blog post\", \"create article\", \"write about\", \"draft blog\", \"generate blog post\".","https:\u002F\u002Fgithub.com\u002FInfrasity-Labs\u002Fdev-gtm-claude-skills\u002Fblob\u002Fmain\u002Fwriting-skills\u002Fblog-write\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":18},"01M7290FEQ7AXXRBJ316JED515","blog-translate","Translate existing blog posts into one or more target languages with SEO-optimized localization. Produces native-quality translations that preserve markdown structure, frontmatter, schema JSON-LD, image and chart embeds, and citation capsules. Localizes keywords, meta tags, numbers, dates, currencies, and quote styles per locale. Flags machine-translation artifacts for review. Run BEFORE blog-localize: this handles language conversion; localize handles cultural adaptation after translation completes. Use when user says \"translate blog\", \"blog translate\", \"uebersetzen\", \"traduire\", \"traducir\", \"translate post\", \"blog auf Deutsch\", \"blog en espanol\".","https:\u002F\u002Fgithub.com\u002FInfrasity-Labs\u002Fdev-gtm-claude-skills\u002Fblob\u002Fmain\u002Fwriting-skills\u002Fblog-translate\u002FSKILL.md",[],[]]