site-structure-optimizer

site-structure-optimizer is a skill for Claude Code from aaron-he-zhu/aaron-marketing-skills. It costs 143 tokens per session (3,606 once invoked), scanned A, original, Apache-2.0.

A tool for planning how a website’s pages, navigation, URLs, and internal links fit together. It can also show orphan pages, which are pages no other page links to.

In plain words
What is it for?
Use it when creating or restructuring a website, designing topic hubs, or improving internal linking.
Why use it?
It makes confusing site layouts and weak connections between pages easier to find and fix. This can give important pages clearer paths through the site.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions Claude Code; built for openclaw.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the aaron-marketing plugin — 120 skills shipped together , and of aaron-marketing

Good fit Use it when creating or restructuring a website, designing topic hubs, or improving internal linking.

Compare 6 skills from other repositories ↓
About the project

aaron-marketing-skills is a collection of 120 AI-agent skills covering marketing work such as brand narrative, search optimization, social media, email, advertising, influencer campaigns, and launches. Marketers and agent users can install it as a plugin, use its portable skills, or run its described bot team. The catalogue entries are components of this marketing workflow.

aaron-he-zhu/aaron-marketing-skills · 2,767 stars · on GitHub · aaronmarketing.ai

Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add aaron-he-zhu/aaron-marketing-skills
Claude Code
/plugin install aaron-marketing

Made for: Claude Code.

Or install aaron-marketing, the plugin that ships this one along with the rest of its 120 skills.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/aaron-he-zhu/aaron-marketing-skills/site-structure-optimizer/github.svg)](https://agentmods.dev/skills/aaron-he-zhu/aaron-marketing-skills/site-structure-optimizer)
Your own site
<a href="https://agentmods.dev/skills/aaron-he-zhu/aaron-marketing-skills/site-structure-optimizer"><img src="https://agentmods.dev/badge/skills/aaron-he-zhu/aaron-marketing-skills/site-structure-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 site-structure-optimizer

Your own site · 80×15
<a href="https://agentmods.dev/skills/aaron-he-zhu/aaron-marketing-skills/site-structure-optimizer"><img src="https://agentmods.dev/badge/skills/aaron-he-zhu/aaron-marketing-skills/site-structure-optimizer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 143 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,606 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. Third-party audits
  • Socket pass 2 Sept 2026
  • Snyk pass 2 Sept 2026
How audits are shown
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.00143 $0.03606
Opus 5 $0.00072 $0.01803
Sonnet 5 $0.00029 $0.00721
Haiku 4.5 $0.00014 $0.00361

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

Security

Grade A, and why

site-structure-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.

seo-geo/tune/site-structure-optimizer/SKILL.md · 161 lines

How it starts

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

Site Structure Optimizer

Works one lever of site structure at two altitudes. Architecture mode designs the whole-site information architecture — page hierarchy, navigation, URL taxonomy, hub/spoke topic clusters, link topology — and renders Mermaid site maps that make orphans and link islands visible. Linking mode optimizes the links inside an existing structure — link graph, authority flow, anchor text, orphan disposition — and delivers a prioritized source/target/anchor plan. Both emit a structure score /100 and a handoff summary.

Scope guard: this skill does not compute the CORE-EEAT score or run vetoes (T04, C01, R10) — that is the content-quality-auditor gate. It does not analyze external backlinks (offsite-signal-analyzer) or diagnose XML sitemaps / indexation (technical-seo-checker). It works the structure lever and hands off.

Mode Selector

Mode Altitude Use when Core outputs
architecture Whole-site layout New build or restructure; the layout itself is the question ASCII hierarchy tree, URL map table, nav spec, hub/spoke plan, Mermaid site map, architecture score /100
linking Links inside an existing layout Pages exist; the question is how they connect Orphan list + disposition, anchor-text distribution, contextual link plan (source/target/anchor), structure score /100

Pick the mode from --mode if given. Otherwise infer: "plan / design structure / URL taxonomy / hub-spoke / sitemap" → architecture; "fix internal linking / orphan pages / anchor text / authority flow" → linking. If the request spans both (e.g., "restructure the site AND fix the links"), run architecture first, then hand off to linking (see Next Best Skill) — do not silently interleave.

Quick Start

Start with one of these prompts, then finish with the standard handoff summary from Skill Contract.

# architecture mode
Plan the site structure for a new SaaS marketing site
Restructure my existing site — pages feel buried and disorganized
Design the URL taxonomy and navigation for [domain]
Map hub/spoke topic clusters for my blog around [topic]

# linking mode
Analyze internal linking structure for [domain/sitemap]
Find orphan pages on [domain]
Suggest internal links for this new article: [content/URL]
Optimize anchor text across the site

Read the full file on GitHub · 161 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 161 lines · 143 tokens per session scan A 391ad255c156

Subscribe to this mod's changes

site-structure-optimizer is a skill published in the GitHub repository aaron-he-zhu/aaron-marketing-skills (2,767 stars, last pushed yesterday), licensed Apache-2.0. It adds 143 tokens to every session and 3,606 once invoked, about $0.0007 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-09-03.