url-structure

url-structure is a skill for Claude Code, Codex from T4wroot/agentic-seo. It costs 90 tokens per session (1,230 once invoked), scanned A, a copy of url-structure, MIT.

A guide to creating readable, organized web addresses, including paths, slugs, parameters, and URL hierarchy.

In plain words
What is it for?
Use it to plan permalink patterns, category paths, page depth, language folders, and cleaner dynamic URLs.
Why use it?
It helps make URLs clearer for people and search engines while avoiding unnecessary complexity and duplicate versions.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to plan permalink patterns, category paths, page depth, language folders, and cleaner dynamic URLs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/t4wroot/agentic-seo/url-structure
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 T4wroot/agentic-seo --skill url-structure
Clone the repo
git clone --depth 1 https://github.com/T4wroot/agentic-seo

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 url-structure

README.md
[![agentmods](https://agentmods.dev/badge/skills/t4wroot/agentic-seo/url-structure/github.svg)](https://agentmods.dev/skills/t4wroot/agentic-seo/url-structure)
Your own site
<a href="https://agentmods.dev/skills/t4wroot/agentic-seo/url-structure"><img src="https://agentmods.dev/badge/skills/t4wroot/agentic-seo/url-structure/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 url-structure

Your own site · 80×15
<a href="https://agentmods.dev/skills/t4wroot/agentic-seo/url-structure"><img src="https://agentmods.dev/badge/skills/t4wroot/agentic-seo/url-structure.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,230 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.00090 $0.01230
Opus 5.5 $0.00036 $0.00492
Sonnet 5.5 $0.00018 $0.00246
Haiku 4.5 $0.00009 $0.00123

Measured 2mo ago against content hash c011efa0f6d8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

url-structure 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 2mo 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 url-structure — 19 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/seo/on-page/url-structure/SKILL.md · 119 lines

How it starts

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

SEO On-Page: URL Structure

Guides URL structure optimization for SEO: readability, hierarchy, and best practices.

When invoking: On first use, if helpful, open with 1–2 sentences on what this skill covers and why it matters, then provide the main output. On subsequent use or when the user asks to skip, go directly to the main output.

Scope (On-Page SEO)

  • URL hierarchy: Path structure, categories, depth
  • URL format: Static vs dynamic; omit file extensions
  • URL slug: See url-slug-generator for slug creation (3–5 words, under 60 chars)
  • Duplicate variants: See canonical-tag for HTTPS, www, trailing slash

Initial Assessment

Check for project context first: If .claude/project-context.md or .cursor/project-context.md exists, read it for site structure.

Identify:

  1. Site structure: Categories, subcategories, content types
  2. Current URLs: Existing patterns and issues
  3. Multi-language: URL structure for zh/en (e.g., /zh/, /en/ or subdomains)

Best Practices

URL Guidelines

Principle Guideline
Readable Use words, not IDs; /blog/seo-guide not /p/12345
Short Shorter is generally better; avoid unnecessary depth
Keyword Include target keyword when natural
Lowercase Use lowercase; avoid mixed case
Hyphens Use hyphens to separate words: seo-guide
Avoid Special chars, query params for core content, session IDs

Hierarchy

Pattern Example Use
Flat /page-name Simple sites
Category /blog/post-name, /tools/tool-name Content sites
Nested /category/subcategory/page Deep hierarchies (keep shallow)

Multi-language

Pattern Example
Path prefix /zh/page, /en/page
Subdomain zh.example.com, en.example.com
ccTLD example.cn, example.com

Static vs Dynamic vs Pseudo-Static URLs

Read the full file on GitHub · 119 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. 2mo ago First seen · 119 lines · 90 tokens per session scan A c011efa0f6d8

Subscribe to this mod's changes

url-structure is a skill published in the GitHub repository T4wroot/agentic-seo (15 stars, last pushed 2mo ago), licensed MIT. It adds 90 tokens to every session and 1,230 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to url-structure, differing in 19 lines, and is treated as a copy.

Related

url-structure compared with skills from other repositories

url-structure next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
url-structureT4wroot/agentic-seoSkill152mo agoMITA90Claude Code, Codex
seodalroot/agentic-seoSkill286d agoMITA105Claude Code, Codex
githubdalroot/agentic-seoSkill286d agoMITA165Claude Code, Codex
schema-markupdalroot/agentic-seoSkill286d agoMITA181Claude Code, Codex
grokipedia-recommendationsdalroot/agentic-seoSkill286d agoMITA110Claude Code, Codex
brand-visual-generatordalroot/agentic-seoSkill286d agoMITA124Claude Code, Codex
image-optimizationdalroot/agentic-seoSkill286d agoMITA87Claude Code, Codex