robots-audit

robots-audit is a skill for Claude Code from PavloSEO/seohead-seotools. It costs 153 tokens per session (1,279 once invoked), scanned A, original, MIT.

An in-depth review of a website’s robots.txt file, which tells search crawlers what they may request. It compares those rules with live pages and the site’s sitemap to find harmful or unnecessary blocking.

In plain words
What is it for?
Use it to check blocked content, Allow and Disallow conflicts, missing sitemaps, rendering problems, and rules that should be rewritten.
Why use it?
A broad or conflicting rule can stop crawlers from reaching important pages or resources, while a missing sitemap reference can make discovery harder. The audit explains the likely effect of each rule.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to check blocked content, Allow and Disallow conflicts, missing sitemaps, rendering problems, and rules that should be rewritten.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pavloseo/seohead-seotools/robots-audit
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 PavloSEO/seohead-seotools --skill robots-audit
Clone the repo
git clone --depth 1 https://github.com/PavloSEO/seohead-seotools

Made for: Claude Code.

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 robots-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/pavloseo/seohead-seotools/robots-audit/github.svg)](https://agentmods.dev/skills/pavloseo/seohead-seotools/robots-audit)
Your own site
<a href="https://agentmods.dev/skills/pavloseo/seohead-seotools/robots-audit"><img src="https://agentmods.dev/badge/skills/pavloseo/seohead-seotools/robots-audit/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 robots-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/pavloseo/seohead-seotools/robots-audit"><img src="https://agentmods.dev/badge/skills/pavloseo/seohead-seotools/robots-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 153 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,279 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00153 $0.01279
Opus 5 $0.00077 $0.00639
Sonnet 5 $0.00031 $0.00256
Haiku 4.5 $0.00015 $0.00128

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

Security

Grade A, and why

robots-audit scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

1. **Download it.** `curl -sL -A 'Mozilla/5.0' https://SITE/robots.txt -o /tmp/robots.txt`.
.claude/skills/robots-audit/SKILL.md · 82 lines

How it starts

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

robots-audit

An agentic robots.txt audit built on top of a Screaming Frog crawl. SF shows "blocked by robots" page by page, but it does not explain WHY a rule is harmful or HOW to rewrite it. This skill fills that gap.

When to use it

  • The user asks to analyze robots.txt, verify that it does not block important content, or find redundant directives.
  • An sf-analyzer audit reports "Blocked by robots.txt" or unusual index coverage gaps.
  • A crawl/indexing section is needed before delivering an sf-report report.

Workflow

  1. Download it. curl -sL -A 'Mozilla/5.0' https://SITE/robots.txt -o /tmp/robots.txt. Check the HTTP status: curl -sIL https://SITE/robots.txt | head -1. If it is not 200, that is already a problem (404 means no rules are present; 5xx may cause crawlers to treat the entire site as blocked).
  2. Parse it by User-agent group. Collect the Disallow/Allow/Sitemap/Crawl-delay directives within each group. Remember that rules apply to their own User-agent group, not globally; * is the fallback. An empty Disallow: means "allow everything."
  3. Collect reference data. Take the list of live 200-status pages from the sf-analyzer audit (audit.json, the internal/200 field) and URLs from the sitemap: curl -sL https://SITE/sitemap.xml | grep -oP '(?<=<loc>)[^<]+'. This represents "what should be indexed."
  4. Checks (heuristics):
    • Blocks live, important URLs. For each Disallow, check whether it matches 200-status pages and/or URLs from the sitemap. A conflict where a page appears in the sitemap but is blocked by Disallow is a red flag.
    • Blocks rendering resources. A Disallow for *.js, *.css, /_next/, /static/, /assets/, /wp-content/, or /wp-includes/ breaks rendering, so Google sees an empty page. Severity: high.
    • Rules are too broad. Disallow: /*? or Disallow: /*?* blocks EVERY URL with parameters. This often also blocks pagination (/blog?page=2), filters, and UTM landing pages. Disallow: / in the * group blocks the entire site; check whether it was left over from development or staging.
    • Allow/Disallow conflicts. An Allow and Disallow in the same group match overlapping paths. State the rule clearly: the longer, more specific matching rule wins, not the rule that appears first in the file.
    • No Sitemap: Add the sitemap's absolute URL.
    • Crawl-delay Googlebot ignores it; for most sites it only causes harm by slowing down crawling. Remove it unless there is a real need to throttle an aggressive bot.
    • Duplicates and typos. Repeated Disallow directives, Dissallow/Disalow, Useragent without the hyphen, a relative Sitemap: URL (it must be absolute), and paths without a leading /.
  5. Create a corrected robots.txt and show a diff against the original (diff -u /tmp/robots.txt /tmp/robots_fixed.txt). Make minimal changes; do not reformat it merely for the sake of tidiness.

Read the full file on GitHub · 82 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 · 82 lines · 153 tokens per session scan A f1d45ccc7342

Subscribe to this mod's changes

robots-audit is a skill published in the GitHub repository PavloSEO/seohead-seotools (0 stars, last pushed 6d ago), licensed MIT. It adds 153 tokens to every session and 1,279 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). 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