Internal link suggester for Markdown and HTML articles

Reads a folder of Markdown or HTML articles and suggests missing internal links with anchor text found in the source and the sentence to place it, plus orphan pages. Works for Japanese.

ClaudeHermes AgentCodexCursorMIT (modify, redistribute and use commercially)Python

What it does

Finds internal linking opportunities in a folder of blog or documentation articles. Your files are never modified.

  • Builds TF-IDF vectors for every article and computes which ones are related. Japanese and Chinese text is handled with character bigrams plus katakana and kanji runs, so no morphological analyzer is needed
  • Reads existing links (Markdown links and <a href>) and only suggests pairs that are not linked yet
  • Offers anchor text candidates taken from the target's title, headings and key terms that already appear in the source text, and shows the sentence where the link fits
  • Lists orphan pages (no inbound internal link) and the best pages to link from
  • Outputs Markdown, CSV and JSON

How to use

python scripts/link_suggest.py ./content --base-url https://example.com/blog/ --out ./link-report

Ask your agent to suggest internal links for your content folder; it reviews the candidates and presents a per-article plan, and can edit only the agreed sentences if you ask.

Requirements

  • Python 3 (standard library only)

Caveats

  • Relatedness is based on shared vocabulary. The agent and you decide whether a link actually helps readers.
  • Menu and template links are not part of the article files, so a page may show as orphan here while being linked on the live site.
  • Thousands of articles take longer (400 articles took about 5 seconds in testing).

How to install

  1. Unzip the downloaded file (it contains a internal-link-suggester/ folder with SKILL.md).
  2. Copy the whole folder into your agent's skills folder.
    • Claude: ~/.claude/skills/ (per project: .claude/skills/)
    • Hermes Agent: ~/.hermes/skills/
    • Codex: ~/.agents/skills/ / Cursor: ~/.cursor/skills/
    • Claude app (claude.ai): upload the ZIP in Customize → Skills
  3. Restart the agent and check that the skill appears in its skill list.

Step-by-step install for Windows / Mac and each agent

Seller

AI Skill Market (official)

44 published skills

Seller profile and all skills