π¦ ClawHub
llms-txt-sniffer
by @jdchi
Locate and utilize AI-friendly documentation index files (llms.txt, llms-full.txt) or sitemap.xml. Use when encountering documentation URLs (containing /docs...
TERMINAL
clawhub install llms-txt-snifferπ About This Skill
name: llms-txt-sniffer description: Locate and utilize AI-friendly documentation index files (llms.txt, llms-full.txt) or sitemap.xml. Use when encountering documentation URLs (containing /docs/, /api-reference/, /guides/, or platform subdomains) to instantly map sites and reduce token burn. metadata: {"openclaw": {"requires": {"bins": ["python3", "curl"]}, "version": "1.3.1"}} argument-hint: [url] allowed-tools: Bash, Read
llms-txt-sniffer: The Smart Document Radar
This skill streamlines documentation ingestion by locating the most AI-optimized version of a site's content.
π§ Why llms.txt?
It provides a high-density, Markdown-based index designed for LLMs to map entire sites instantly and save tokens.π Discovery Strategy (Two-Stage)
Stage 1: Quick Jump Probes (Instructional)
1. URL + /llms.txt: Probe{input_url}/llms.txt using curl -I.
2. Domain Root: Probe https://{domain}/llms.txt using curl -I.Stage 2: Advanced Sniffing (Tool-based)
If Stage 1 fails, run the companion sniffer script located in this skill's directory:python3 sniffer.py $ARGUMENTSπ Behavioral Rules
sitemap.xml parser results if llms.txt is missing.