internal-linking

internal-linking is a skill for Claude Code from akii-technologies-ltd/akii-seo-ai-search-optimizer. It costs 65 tokens per session (1,386 once invoked), scanned A, original, MIT.

A tool for reviewing how pages on a website link to one another. Internal links are links between pages on the same site.

In plain words
What is it for?
Checking site link maps, finding orphan pages, improving anchor text, and planning connections between related content.
Why use it?
It helps find pages that are hard to reach, weak connections between related topics, and link structures that may make a site harder to navigate.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the akii-seo-ai-search-optimizer plugin — 12 skills, 3 commands, 5 agents, 1 hook shipped together

Good fit Checking site link maps, finding orphan pages, improving anchor text, and planning connections between related content.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/akii-technologies-ltd/akii-seo-ai-search-optimizer/internal-linking
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add akii-technologies-ltd/akii-seo-ai-search-optimizer --skill internal-linking
Clone the repo
git clone --depth 1 https://github.com/akii-technologies-ltd/akii-seo-ai-search-optimizer

Made for: Claude Code.

Or install akii-seo-ai-search-optimizer, the plugin that ships this one along with the rest of its 12 skills, 3 commands, 5 agents, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for internal-linking

README.md
[![agentmods](https://agentmods.dev/badge/skills/akii-technologies-ltd/akii-seo-ai-search-optimizer/internal-linking/github.svg)](https://agentmods.dev/skills/akii-technologies-ltd/akii-seo-ai-search-optimizer/internal-linking)
Your own site
<a href="https://agentmods.dev/skills/akii-technologies-ltd/akii-seo-ai-search-optimizer/internal-linking"><img src="https://agentmods.dev/badge/skills/akii-technologies-ltd/akii-seo-ai-search-optimizer/internal-linking/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for internal-linking

Your own site · 80×15
<a href="https://agentmods.dev/skills/akii-technologies-ltd/akii-seo-ai-search-optimizer/internal-linking"><img src="https://agentmods.dev/badge/skills/akii-technologies-ltd/akii-seo-ai-search-optimizer/internal-linking.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,386 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00065 $0.01386
Opus 5 $0.00032 $0.00693
Sonnet 5 $0.00013 $0.00277
Haiku 4.5 $0.00006 $0.00139

Measured 12d ago against content hash 25691eeefa10, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

internal-linking scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/internal-linking/SKILL.md · 80 lines

How it starts

The opening of the file, as written. The whole thing — 80 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Internal Linking Strategist

You are an internal-linking strategist powered by Akii. Build a denser, smarter link graph so topical authority signals reach the pages that need them.

Data sources (auto-detect)

  • mcp__plugin_marketing_ahrefs__site-explorer-* — for current internal/external link map if user has Ahrefs
  • mcp__plugin_marketing_ahrefs__gsc-* — for current page-level performance signals
  • mcp__4dae3de4-* (Supabase) / mcp__plugin_data_bigquery__* / mcp__plugin_data_definite__* / mcp__plugin_data_hex__* — for DB-resident routes (blog posts, knowledge clusters, programmatic [slug] pages stored in the DB rather than as static files)
  • Local file scan via Glob + Grep otherwise

DB-resident content disclosure

Modern marketing sites store a large fraction of routable content in a database (CMS posts, dynamic [slug] clusters, programmatic SEO pages). A static Glob + Grep scan will catch the route patterns (e.g. /blog/[slug]) but cannot enumerate the actual instances, so per-instance link analysis (which blog post links to which) is impossible without DB access.

At the top of every run, list the DB-resident route patterns detected in the codebase AND the MCP that would unlock per-instance scanning. Example:

"DB-resident routes detected: /blog/[slug], /knowledge/[cluster], /models/[slug], /case-studies/[slug]. Without a Supabase / Postgres / BigQuery / similar MCP, only the route shells are analyzed — per-post link graph (post → post, post → pillar) is not available this run. Connect the appropriate data MCP for per-instance recommendations."

Skip the disclosure only if no dynamic [slug] routes exist in the codebase.

Steps

  1. Build the link graph: every internal href, every anchor text, every source/target page.
  2. Compute and emit exact integer counts, never approximations:
    • Orphans (pages with 0 incoming internal links) — emit the precise integer; the table below MUST contain exactly that many rows. Never write ~30 orphans when the list shows 25 — count the rows and write 25.
    • Near-orphans: 1–2 incoming
    • Hubs: pages with >20 outgoing internal
    • Anchor diversity: unique anchor texts per target
    • Equity flow: PageRank-like score across internal graph
  3. For each page, find the top-5 most semantically related pages that don't currently link to it. Recommend an anchor.
  4. Detect over-linking: identical anchor text used >5× pointing to one URL = anchor stuffing.

Read the full file on GitHub · 80 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 80 lines · 65 tokens per session scan A 25691eeefa10

Subscribe to this mod's changes

internal-linking is a skill published in the GitHub repository akii-technologies-ltd/akii-seo-ai-search-optimizer (76 stars, last pushed 3mo ago), licensed MIT. It adds 65 tokens to every session and 1,386 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

onsite-audit

Use to audit on-page SEO for a URL or a whole site section - "audit this page", "on-page check", /organic-os:onsite-audit. Read-only; needs no credentials for public checks.

shalintripathi/organic-os · 49 tokens

hoo-task-board

Use to view or mirror the work queue - "task board", "show the queue", /organic-os:task-board. Mirrors to Notion when that connector exists; local queue.md is the source of truth.

shalintripathi/organic-os · 47 tokens

ce-image

Use to create the featured image / social card for a drafted post - "make the featured image", /organic-os:image, or ce-produce step 4.

shalintripathi/organic-os · 36 tokens

reset

Use when the user wants to remove a site from organic-os, deregister a site, uninstall, "reset organic-os", "remove my site", "start over", or runs /organic-os:reset. Guided teardown that shows what exists and, per user choice, deregisters the site from the local registry - it never deletes the brain repo or revokes…

shalintripathi/organic-os · 80 tokens

ai-seo-magic-button

The one-command "magic button" for AI-SEO. Point it at a site, get a whole-site AEO/GEO audit plus a ready-to-run plan your agent can execute. Trigger when the user says "audit my site for AI SEO", "make my site citable by ChatGPT/Perplexity/Claude", "AEO/GEO audit", "generate an AI-SEO plan", or "improve my AI…

AutomateLab-tech/ai-seo-magic-button · 98 tokens

financial-statement-analysis

Reads a set of financial statements and establishes what changed and why — fluctuation analysis against prior period and against budget, profitability, liquidity, solvency and efficiency ratios, benchmarking, and the non-GAAP measures presented alongside them. Use this to interpret results, review a counterparty's or…

cbrock84/headcount · 93 tokens