crawler-log-analysis
Skill2 starsChanged 5 months agoMITView on GitHub
Analyze server or CDN access logs to see how AI crawlers actually behave on a site — which AI bots visit, how often, what they fetch, their HTTP status mix, and whether any are blocked or erroring. Works for any business, B2B or B2C, product or service. Use when the request is to analyze AI crawler logs, check if GPTBot or ClaudeBot or PerplexityBot are crawling, measure AI crawl coverage, or diagnose why AI is not fetching pages. Ships a log-parsing tool. Pairs with ai-crawler-access and ai-retrievability.
In this repository26 other files it gives its agents.
- aeo-foundationSkill
- ai-capability-signalingSkill
- ai-crawler-accessSkill
- ai-referral-analyticsSkill
- ai-retrievabilitySkill
- ai-visibility-auditSkill
- ai-visibility-trackingSkill
- answer-engineeringSkill
- author-authoritySkill
- chatgpt-optimizationSkill
- claim-accuracySkill
- claude-optimizationSkill
- community-and-reviewsSkill
- comparison-contentSkill
- competitor-ai-analysisSkill
- content-freshnessSkill
- digital-prSkill
- entity-optimizationSkill
- evidence-and-citationsSkill
- gemini-optimizationSkill
- google-ai-overviews-optimizationSkill
- llms-txtSkill
- multimodal-aeoSkill
- perplexity-optimizationSkill
- prompt-researchSkill
- structured-dataSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 30
Read aeo-foundation.md for the priority pages (so you can judge coverage).
- Distinctive: line 70
Re-check: after fixes and periodically as crawler behavior shifts.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Crawler Log Analysis
robots.txt says what AI crawlers are allowed to do; logs say what they actually do.
This skill reads server/CDN access logs to reveal the ground truth of AI crawling — which
bots visit, how often, what they fetch, and whether they are getting blocked or erroring.
It turns "we think AI can crawl us" into evidence. It works for any business, B2B or B2C.
When to use this skill
- Confirming whether AI crawlers (especially retrieval bots) actually reach the site.
- Diagnosing AI invisibility that traces to blocks or errors at the server/CDN.
- Measuring crawl coverage (are key pages being fetched?) and frequency (freshness).
- Spotting suspicious or spoofed bot traffic.
Before you start
Read aeo-foundation.md for the priority pages (so you can judge coverage). Obtain access
logs in combined format (which includes the user-agent) — common format omits it and
won't show bots. Logs may come from the web server (nginx/Apache) or the CDN.
What to look for
- Which AI bots appear — retrieval bots (OAI-SearchBot, Claude-SearchBot, PerplexityBot) matter most; they produce citations and referral traffic.
- Frequency and recency — how often each bot visits, and when it was last seen (informs freshness expectations).
- What they fetch — are your high-value pages among the top fetched paths? Coverage gaps mean important content isn't being read.
- Status mix — lots of 403/429/5xx for a bot signals a block or error, not access.
- Absence — a retrieval bot that never appears is a red flag to investigate.
- Spoofing — user-agents can be faked; verify important bots by published IP ranges.
Tool
This skill ships a log parser (pure standard library):
python scripts/parse_crawler_logs.py access.log
cat access.log | python scripts/parse_crawler_logs.py -
python scripts/parse_crawler_logs.py access.log --top 10It reports, per AI bot: hit count, HTTP status mix (flagging mostly-error bots), last-seen timestamp, and top fetched paths — plus which retrieval bots were not seen.
Optional. The script only automates this step; it needs
python3(standard library only, no install). No Python? Just follow the steps above manually.
Workflow
- Collect logs (combined format) over a meaningful window — at least a couple of weeks, since AI crawl cadence varies.
- Run the parser and read the per-bot summary.
- Interpret: Are retrieval bots visiting? Are key pages in their top paths? Any error-heavy bots? Any expected bot missing entirely?
- Act: route blocks/errors to ai-crawler-access; route unfetched-but-important pages to ai-retrievability; record crawl frequency to inform content-freshness.
- Re-check after fixes and periodically as crawler behavior shifts.
Output format
- A per-bot activity summary (hits, status mix, last seen, top paths).
- Coverage gaps — important pages AI bots are not fetching.
- Problems — blocked/error-heavy bots and absent retrieval bots.
- Actions routed to the owning skills.
(assumption)tags where log scope or format limited the analysis.
Common pitfalls
- Using common-format logs (no user-agent) and seeing nothing — use combined format.
- Trusting user-agent strings without IP verification.
- Sampling too short a window to see real crawl patterns.
- Ignoring status codes — "lots of hits" that are all 403s is a block, not coverage.
Related Skills
- ai-crawler-access — set and fix the access policy these logs reveal.
- ai-retrievability — make the fetched pages readable and reachable.
- content-freshness — use observed crawl cadence to time refreshes.
- ai-visibility-tracking — pair crawl evidence with citation outcomes.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

