LLM-optimized documentation fetching using llms.txt standard. Use when fetching external documentation, API references, library docs, or when user mentions ドキュメント参照, 公式ドキュメント, API docs, library documentation.
View on GitHubFebruary 1, 2026
Select agents to install to:
npx add-skill https://github.com/thkt/claude-config/blob/main/skills/utilizing-llms-txt/SKILL.md -a claude-code --skill utilizing-llms-txtInstallation paths:
.claude/skills/utilizing-llms-txt/# llms.txt Documentation Fetching
## Fetch Order
When fetching external documentation:
| Step | Action | 200 OK | 404 |
| ---- | -------------------------- | ---------- | -------- |
| 1 | `{base_url}/llms.txt` | Use | → Step 2 |
| 2 | `{base_url}/llms-full.txt` | Use | → Step 3 |
| 3 | `{original_url}` | Use (HTML) | - |
## Parse llms.txt
| Pattern | Meaning | Action |
| --------------- | ------------ | ------------------ |
| `# Title` | Project name | Context |
| `> Blockquote` | Summary | Context |
| `## Section` | Category | Navigate |
| `- [Link](url)` | Page link | Fetch if relevant |
| `## Optional` | Low priority | Skip unless needed |
## Base URL Extraction
| Element | Value |
| ------- | ----------------------------------------------- |
| Input | `https://docs.stripe.com/api/checkout/sessions` |
| Output | `https://docs.stripe.com` |
| Rule | `{scheme}://{host}` |