internal-linking
Skill5 starsChanged 36 days agoMITView on GitHub
Audit internal link counts, anchor text quality, broken same-host links (--check-links), and sitemap-only orphan pages across a site.
7 other projects use a version of this.
Adopted by
Most recently taken up by
- akii-technologies-ltd/akii-seo-ai-search-optimizertheir own version, first seen Nov 1, 2026
- adityash8/claude-seo-skillstheir own version, first seen Nov 1, 2026
- afeezadebayo/technical-seo-skillstheir own version, first seen Oct 20, 2026
- risukisu/marketing-skillstheir own version, first seen Oct 13, 2026
- searchfit/searchfit-seotheir own version, first seen Sep 10, 2026
- DarynaRodriguez/seo-skillstheir own version, first seen Aug 27, 2026
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- akii-technologies-ltd/akii-seo-ai-search-optimizer★ 79same name
- searchfit/searchfit-seo★ 9same name
- risukisu/marketing-skills★ 6same name
- afeezadebayo/technical-seo-skills★ 2same name
- DarynaRodriguez/seo-skills★ 1same name
- younesbenallal/seo-skills★ 1same name
- adityash8/claude-seo-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository24 other files it gives its agents.
- one-step-seoSkill
- accessibility-seoSkill
- answer-engine-optimizationSkill
- content-qualitySkill
- core-web-vitalsSkill
- duplicate-contentSkill
- ecommerce-seoSkill
- entity-optimizationSkill
- geo-optimizationSkill
- http-statusSkill
- image-seoSkill
- international-seoSkill
- javascript-seoSkill
- llms-txtSkill
- local-seoSkill
- onpage-optimizationSkill
- schema-validationSkill
- security-hygieneSkill
- seo-auditSkill
- seo-fixSkill
- seo-regressionSkill
- sitemap-robotsSkill
- social-metadataSkill
- technical-seoSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 56
Anchor Text Upgrades: Before/after anchor text rewrites.
“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
internal-linking — Internal Linking & Orphan Risk Analysis
1. Description & Activation Criteria
Activate internal-linking when the user wants to:
- Audit internal link distribution (
O10-internal,O10-internal-many), replace vague anchor text (O11-generic-anchors), find broken internal links (T16-broken-links), or identify orphaned pages discovered only viasitemap.xml. - Improve crawl depth, topical clustering, and internal PageRank flow.
2. Inputs & Prerequisites
- Target: Live
http(s)URL or local build directory. - Recommended flags:
--crawl sitemap: Seeds the crawl fromsitemap.xmlso sitemap-listed pages with zero inbound links from other crawled pages are flagged asPossibly orphaned pages.--check-links: Verifies same-host internal link targets (bounded at 100 HTTP checks per run, honoringrobots.txtand skipping already-audited 200 URLs) to surfaceT16-broken-links(P1).
3. Step-by-Step Workflow
- Run a sitemap-seeded crawl with link verification:
- Execute
npx one-step-seo audit <url> --pages 25 --crawl sitemap --check-links --out ./seo-report.
- Execute
- Fix broken internal links first (
T16-broken-links, P1):- Inspect
T16-broken-linksevidence in eachreport[-N].json(e.g.,GET https://example.com/gone -> http status 404) and update or remove dead hrefs.
- Inspect
- Eliminate dead-end and orphaned pages (
O10-internal,Possibly orphaned pages):- Identify pages where
report.page.internalLinks === 0(O10-internalP1) orreport.page.internalLinks < 2(surfaced in the site dashboard'sInternal linking & dead-end risksection) and add contextual outbound internal links to related hub or detail pages. - Inspect
index.md/index.htmlfor sitemap-only orphan pages and link to them from relevant category or pillar pages.
- Identify pages where
- Balance excessive link density (
O10-internal-many, P2):- On pages with
>200internal links (O10-internal-many), trim mega-menu or footer link bloat so primary contextual links carry clearer weight.
- On pages with
- Upgrade generic anchor text (
O11-generic-anchors, P3):- Replace repeated exact-match generic anchors (
click here,read more,learn more,here,link,more) with descriptive 2–5 word phrases naming the destination topic.
- Replace repeated exact-match generic anchors (
4. Tools & CLI Commands
# Multi-page internal link, orphan, and broken-link audit
npx one-step-seo audit https://example.com --pages 25 --crawl sitemap --check-links --out ./seo-report
# Single-page broken-link and anchor-text check
npx one-step-seo page https://example.com/blog/post --check-links --skills internal-linking --out ./seo-report5. Evidence Requirements
- Quote
report.page.internalLinksandreport.page.externalLinksfor each audited page. - Quote the exact broken target URLs and HTTP statuses from
T16-broken-linksevidence. - Quote the exact generic anchor strings flagged by
O11-generic-anchorsand the orphan URLs listed inindex.md.
6. Expected Outputs
- Broken Link Remediation List: Source page -> Broken target URL -> Status code -> Replacement URL.
- Orphan & Dead-End Page Map: Orphaned URLs needing inbound links and dead-end pages needing outbound links.
- Anchor Text Upgrades: Before/after anchor text rewrites.
7. Limitations & External Data
- Bounded link budget:
--check-linkscaps verification atMAX_LINK_CHECKS(100 same-host requests per run) to remain fast and polite. - Orphan scope: Orphan detection is relative to the crawled page set (
--pagesup to 200); a page unlinked from the first N pages may still have links from uncrawled archive pages.
8. Safety & Approval Rules
--check-linksautomatically respectsrobots.txtand SSRF IP protections; never manually fetch disallowed or private network targets.
9. Examples
# Audit internal links and check up to 100 same-host targets on a documentation site
npx one-step-seo audit https://docs.example.com --pages 20 --crawl sitemap --check-links --out ./seo-reportDoes it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

