agentleFS
visibianvisibian/seo-geo-skills/skills/internal-linking/SKILL.md

internal-linking

Skill0 starsChanged 15 days agoMITView on GitHub

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.

12 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use seo-roast.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • younesbenallalSkill

    seo-roast

    Roast a landing page or article for technical SEO, on-page quality, and search intent. Use when the user wants a direct page critique or an optional screenshot-based HTML report.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 12 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read the link graph, from this skill's folder: python3 scripts/link_graph.py seo-audit/audit.json It lists orphan pages, weakly linked …

    line 22
  2. Distinctive:

    Keep anchors natural and varied.

    line 43
  3. Distinctive:

    Do not add sitewide footer links to every page as a fix for orphans.

    line 44

“Common” is measured: kept by at least 6 in 10 of the 12 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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.

Download now (ZIP)

Does 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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.