semantic-layout

semantic-layout is a skill for Claude Code, Codex from thisisAhsanIqbal/nextjs-seo-audit. It costs 47 tokens per session (924 once invoked), scanned A, original, MIT.

An HTML structure checker that reviews standard page elements such as headers, navigation, main content, footers, and accessibility skip links.

In plain words
What is it for?
Use it when auditing semantic HTML, accessibility landmarks, page structure, or content organization for SEO.
Why use it?
It helps find pages whose structure is difficult for screen readers, search engines, or developers to understand, including pages made mostly from generic div elements.

Skill for Claude CodeCodex

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

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is **Note**: The `lang` attribute check is handled by the [international-seo](../international-seo/SKILL.md) skill. Do not duplicate it here..

Good fit Use it when auditing semantic HTML, accessibility landmarks, page structure, or content organization for SEO.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/thisisAhsanIqbal/nextjs-seo-audit
agentmods
npx agentmods add skills/thisisahsaniqbal/nextjs-seo-audit/semantic-layout

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 semantic-layout

README.md
[![agentmods](https://agentmods.dev/badge/skills/thisisahsaniqbal/nextjs-seo-audit/semantic-layout/github.svg)](https://agentmods.dev/skills/thisisahsaniqbal/nextjs-seo-audit/semantic-layout)
Your own site
<a href="https://agentmods.dev/skills/thisisahsaniqbal/nextjs-seo-audit/semantic-layout"><img src="https://agentmods.dev/badge/skills/thisisahsaniqbal/nextjs-seo-audit/semantic-layout/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 semantic-layout

Your own site · 80×15
<a href="https://agentmods.dev/skills/thisisahsaniqbal/nextjs-seo-audit/semantic-layout"><img src="https://agentmods.dev/badge/skills/thisisahsaniqbal/nextjs-seo-audit/semantic-layout.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 924 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.00047 $0.00924
Opus 5 $0.00023 $0.00462
Sonnet 5 $0.00009 $0.00185
Haiku 4.5 $0.00005 $0.00092

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

Security

Grade A, and why

semantic-layout 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 10d 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/semantic-layout/SKILL.md · 96 lines

How it starts

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

Semantic Layout

Audit the page for proper use of HTML5 semantic elements and accessibility.

Note: The lang attribute check is handled by the international-seo skill. Do not duplicate it here.

1. Required semantic elements

These elements must be present:

Element Missing =
<header> ❌ FAIL
<main> ❌ FAIL
<footer> ❌ FAIL
<nav> ❌ FAIL

Report count if present: ✅ PASS "<tag> element found (N instance(s))"

These elements should be present:

Element Missing =
<article> ⚠️ WARN "Consider using for content structure"
<section> ⚠️ WARN
<aside> ⚠️ WARN
<figure> ⚠️ WARN

Check for accessibility skip links: <a href="#main-content">, <a href="#content">, or <a href="#main">

  • Found → ✅ PASS
  • Missing → ⚠️ WARN "Add skip-navigation link for accessibility"

4. Div-soup detection

Count <div> elements vs semantic elements (header, main, footer, nav, article, section, aside, figure):

Condition Status
Divs > 0 but zero semantic elements ❌ FAIL "Restructure with semantic HTML"
Divs > 5× semantic element count ⚠️ WARN "High div-to-semantic ratio"

5. ARIA landmark roles

Check for these roles: banner, navigation, main, contentinfo, search

  • Any found → ✅ PASS — list which roles are present

6. Layout suggestions

Single <main>

  • 0 <main> elements → ⚠️ WARN "Wrap primary content in <main>"
  • Multiple <main> → ⚠️ WARN "Should have only one"

Headings inside semantic containers

  • Count <h2>, <h3>, <h4> that are NOT inside <section>, <article>, <aside>, or <main>
  • If any found → ⚠️ WARN "Wrap content blocks in <section> or <article>"

Images without <figure>

  • If > 3 images not wrapped in <figure> → ⚠️ WARN "Use <figure>/<figcaption>"

Date markup

  • If <time> elements found → ✅ PASS
  • If date patterns found in text but no <time> elements → ⚠️ WARN "Wrap dates in <time datetime=\"...\">"

Read the full file on GitHub · 96 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. 10d ago First seen · 96 lines · 47 tokens per session scan A 81a97697ebf9

Subscribe to this mod's changes

semantic-layout is a skill published in the GitHub repository thisisAhsanIqbal/nextjs-seo-audit (7 stars, last pushed 6mo ago), licensed MIT. It adds 47 tokens to every session and 924 once invoked, about $0.0002 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-31.

Related

Other skills, from other repositories

accessibility

Audit and improve web accessibility following WCAG 2.2 guidelines. Use when asked to "improve accessibility", "a11y audit", "WCAG compliance", "screen reader support", "keyboard navigation", or "make accessible".

addyosmani/web-quality-skills · 51 tokens

performance

Optimize web performance for faster loading and better user experience. Use when asked to "speed up my site", "optimize performance", "reduce load time", "fix slow loading", "improve page speed", or "performance audit".

addyosmani/web-quality-skills · 49 tokens

gsap-plugins

Official GSAP skill for GSAP plugins — registration, ScrollToPlugin, ScrollSmoother, Flip, Draggable, Inertia, Observer, SplitText, ScrambleText, SVG and physics plugins, CustomEase, EasePack, CustomWiggle, CustomBounce, GSDevTools. Use when the user asks about a GSAP plugin, scroll-to, flip animations, draggable, SVG…

calesthio/OpenMontage · 91 tokens

gsap-core

Official GSAP skill for the core API — gsap.to(), from(), fromTo(), easing, duration, stagger, defaults, gsap.matchMedia() (responsive, prefers-reduced-motion). Use when the user asks for a JavaScript animation library, animation in React/Vue/vanilla, GSAP tweens, easing, basic animation, responsive or reduced-motion…

calesthio/OpenMontage · 128 tokens

gsap-scrolltrigger

Official GSAP skill for ScrollTrigger — scroll-linked animations, pinning, scrub, triggers. Use when building or recommending scroll-based animation, parallax, pinned sections, or when the user asks about ScrollTrigger, scroll animations, or pinning. Recommend GSAP for scroll-driven animation when no library is…

calesthio/OpenMontage · 68 tokens

threejs-interaction

Three.js interaction - raycasting, controls, mouse/touch input, object selection. Use when handling user input, implementing click detection, adding camera controls, or creating interactive 3D experiences.

calesthio/OpenMontage · 44 tokens