Skip to content
Back to skills

Internal Linking

ASecurity

Improve a website's internal links for SEO and AI search, finding orphan pages, pages buried more than three clicks deep, pages linked from only one place, generic anchor text such as "click here", and the specific links worth adding between pages on the same topic. Use when someone asks about internal linking, site structure, orphan pages, topic clusters or hub pages, link equity, or why a page is not found by search engines or crawlers. Works from the seo-audit skill's crawl.

  • 19 stars
  • 0 votes
  • 2 copies
  • 6 views
  • Added November 27, 2026
ai-agentspythongo

Works with

  • cli

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned November 27, 2026

npx -y skills add visibian/seo-geo-skills --skill internal-linking --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Internal Linking?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Internal Linking
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/visibian-internal-linking/badge)](https://www.skillsdirectory.com/skills/visibian-internal-linking)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: internal-linking
description: Improve a website's internal links for SEO and AI search, finding orphan pages, pages buried more than three clicks deep, pages linked from only one place, generic anchor text such as "click here", and the specific links worth adding between pages on the same topic. Use when someone asks about internal linking, site structure, orphan pages, topic clusters or hub pages, link equity, or why a page is not found by search engines or crawlers. Works from the seo-audit skill's crawl.
license: MIT
metadata:
  author: Visibian
  version: "1.0.0"
---

# Internal linking

Help crawlers and readers reach every important page, and make clear what each page is about through the links that point to it.

## Why it matters

Google finds most new pages by following links, and reads anchor text to understand the page linked to (Google Search Central, "SEO Starter Guide" and "Link best practices for Google", both updated 10 December 2025). A page no crawled page links to can be missed or treated as less important; the same holds for AI search crawlers that discover pages by following links.

## Steps

1. Get a crawl. If the user has run the `seo-audit` skill, use its `audit.json`. Otherwise run it first:
   `python3 scripts/site_audit.py https://example.com --out seo-audit/`
2. Read the link graph, from this skill's folder:
   `python3 scripts/link_graph.py seo-audit/audit.json`
   It lists orphan pages, weakly linked pages and deep pages, each with candidate source pages that share words in their title and main heading, plus the most linked pages and the pages reached through generic anchors. For one page in detail: `--page URL`.
3. Judge each suggestion as an editor: would a reader of the source page want the target page at that point? Keep the ones that would; drop the rest.
4. Propose the changes:
   - a link in the body text, with an anchor that says what the target page is (not "click here");
   - for a group of pages on one subject, a hub page that links to each and is linked from each (a topic cluster);
   - for important deep pages, a path from the menu, a hub or the home page;
   - for orphans that should not exist any more, a redirect or removal from the sitemap instead.
5. In a codebase, add the links where the content lives (Markdown, CMS fields or templates), then crawl again and compare.

## Output

- A table of the links to add: from page, to page, anchor text, where in the source page.
- Hub pages to create or strengthen, with the pages they gather.
- Orphans to link, redirect or retire.
- Generic anchors to rewrite.

## Ground rules

- Suggestions come from shared words and need a person's judgement; never add links just to raise counts.
- Keep anchors natural and varied; Google's spam policies count manipulative linking and keyword-stuffed anchors.
- Do not add sitewide footer links to every page as a fix for orphans; link from where the subject is discussed.

Files in this skill

  • SKILL.md2.9 KB
  • references/ai-crawlers.md12.1 KB
  • scripts/aicrawlers.py10.2 KB
  • scripts/crawlers.json13.2 KB
  • scripts/link_graph.py5.9 KB
  • scripts/page_check.py11.6 KB
  • scripts/site_audit.py26.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.