internal-linking-optimizer

internal-linking-optimizer is a skill for Claude Code, Codex from Gingg7260/affiliate-skills. It costs 104 tokens per session (2,267 once invoked), scanned A, a copy of internal-linking-optimizer, MIT.

An SEO audit tool for checking how pages on a website link to one another. It plans a hub-and-spoke structure, where central pages link to related supporting pages.

In plain words
What is it for?
Use it to review internal links, find orphan pages, identify link-value bottlenecks, and create specific linking instructions. It analyzes a site URL and can use a list of page topics.
Why use it?
It helps find pages that no other page links to and places where important pages receive too few links. This makes the site's structure easier to improve for search engines.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: mentions Claude Code; built for openclaw; mentions Gemini CLI.

Good fit Use it to review internal links, find orphan pages, identify link-value bottlenecks, and create specific linking instructions. It analyzes a site URL and can use a list of page topics.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gingg7260/affiliate-skills/internal-linking-optimizer
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 Gingg7260/affiliate-skills --skill internal-linking-optimizer
Clone the repo
git clone --depth 1 https://github.com/Gingg7260/affiliate-skills

Made for: Claude Code, Codex.

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-optimizer

README.md
[![agentmods](https://agentmods.dev/badge/skills/gingg7260/affiliate-skills/internal-linking-optimizer/github.svg)](https://agentmods.dev/skills/gingg7260/affiliate-skills/internal-linking-optimizer)
Your own site
<a href="https://agentmods.dev/skills/gingg7260/affiliate-skills/internal-linking-optimizer"><img src="https://agentmods.dev/badge/skills/gingg7260/affiliate-skills/internal-linking-optimizer/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-optimizer

Your own site · 80×15
<a href="https://agentmods.dev/skills/gingg7260/affiliate-skills/internal-linking-optimizer"><img src="https://agentmods.dev/badge/skills/gingg7260/affiliate-skills/internal-linking-optimizer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 104 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,267 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 100% copy Near-identical to another mod 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.00104 $0.02267
Opus 5 $0.00052 $0.01133
Sonnet 5 $0.00021 $0.00453
Haiku 4.5 $0.00010 $0.00227

Measured 9d ago against content hash 7e50a88dc221, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

internal-linking-optimizer 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 9d 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.

Origin

This is a copy

100% identical to internal-linking-optimizer — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/analytics/internal-linking-optimizer/SKILL.md · 242 lines

How it starts

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

Internal Linking Optimizer

Analyze your site's internal link structure and generate an optimized hub-and-spoke linking plan. Finds orphan pages (no internal links pointing to them), identifies link equity bottlenecks, and creates specific linking instructions to maximize SEO impact.

Stage

S6: Analytics & Optimization — This is analytics/audit work on existing content. Internal linking is the most underutilized SEO lever — it's 100% in your control and costs nothing.

When to Use

  • User wants to improve their site's SEO through better internal linking
  • User asks about "orphan pages", "link structure", "hub and spoke"
  • User says "internal linking", "link audit", "link equity"
  • After publishing new content — new pages need internal links within 48 hours
  • After keyword-cluster-architect — cluster structure defines the ideal link architecture
  • Monthly maintenance task alongside content-decay-detector

Input Schema

site_url: string              # REQUIRED — site to analyze
                              # e.g., "myblog.com"

pages: object[]               # OPTIONAL — known pages with their topics
  - url: string
    title: string
    topic_cluster: string     # Which topical cluster it belongs to
    is_hub: boolean           # Is this a hub page?

hub_pages: string[]           # OPTIONAL — URLs of your hub/pillar pages
                              # Default: auto-detected

new_pages: string[]           # OPTIONAL — recently published pages needing links
                              # Default: none

Chaining from S3 keyword-cluster-architect: Use keyword_clusters.hub and keyword_clusters.clusters to define ideal link architecture.

Workflow

Step 1: Discover Site Structure

  1. web_search: site:[site_url] — discover indexed pages
  2. Map pages to topic clusters (if not provided)
  3. Identify current hub pages (pages that link to many others)
  4. Note orphan pages (pages with few/no internal links pointing to them)

Step 2: Analyze Current Link Structure

Read the full file on GitHub · 242 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. 9d ago First seen · 242 lines · 104 tokens per session scan A 7e50a88dc221

Subscribe to this mod's changes

internal-linking-optimizer is a skill published in the GitHub repository Gingg7260/affiliate-skills (5 stars, last pushed 2d ago), licensed MIT. It adds 104 tokens to every session and 2,267 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to internal-linking-optimizer, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

internal-linking-optimizer

Analyze site's internal link structure and optimize for hub-and-spoke SEO architecture. Triggers on: "optimize internal links", "internal linking", "link structure", "hub and spoke links", "orphan pages", "link equity", "internal link audit", "fix my internal links", "link architecture", "site structure optimization"…

Affitor/affiliate-skills · 104 tokens

internal-linking-optimizer

Analyze site's internal link structure and optimize for hub-and-spoke SEO architecture. Triggers on: "optimize internal links", "internal linking", "link structure", "hub and spoke links", "orphan pages", "link equity", "internal link audit", "fix my internal links", "link architecture", "site structure optimization"…

gabrielmoreira/agent-skills-mirror · 104 tokens

performance-report

Generate affiliate performance reports with KPIs and recommendations. Triggers on: "show my affiliate report", "how are my programs doing", "performance review", "earnings report", "monthly affiliate report", "weekly report", "analyze my affiliate earnings", "which program is best", "EPC report", "conversion rate…

Affitor/affiliate-skills · 80 tokens

seo-audit

Audit affiliate blog posts and landing pages for SEO issues. Triggers on: "audit my blog post for SEO", "check my SEO", "SEO review", "improve my rankings", "SEO checklist", "on-page SEO audit", "keyword optimization check", "why isn't my page ranking", "SEO score", "content quality audit", "check my meta tags"…

Affitor/affiliate-skills · 89 tokens

ab-test-generator

Generate A/B test variants for affiliate content. Triggers on: "create A/B test", "test my headline", "optimize my CTA", "generate variants", "split test ideas", "improve click-through rate", "test my landing page copy", "headline alternatives", "CTA variations", "which version is better", "optimize conversions"…

Affitor/affiliate-skills · 87 tokens

conversion-tracker

Set up affiliate conversion tracking with UTM parameters and link tagging. Triggers on: "set up tracking", "create UTM links", "track my affiliate links", "tracking pixels", "click attribution", "organize my links", "UTM parameters", "tag my links", "campaign tracking", "link tracking setup", "prepare for launch"…

Affitor/affiliate-skills · 84 tokens