# Fix: Per-section llms.txt files resolve under content subdirectories

> Web-audit fix skill for the `llms-txt-scoped` check (Content for agents, MAY).

## Goal

Serve a scoped llms.txt inside each major content section.

## Fix

Serve a scoped `llms.txt` inside each major content section linked from your root index (for
example `/docs/llms.txt`). A section-scoped index lets an agent working inside that section
orient itself without re-reading the whole site index.

## Resources

- [llmstxt.org](https://llmstxt.org/)

## Copy-paste prompt

Paste this into your coding agent, replacing the Issue line with the Result line from [your audit](https://anc.dev/web-audit):

```text
Goal: Serve a scoped llms.txt inside each major content section
Issue: <the audit's finding for this check>
Fix: Serve a scoped `llms.txt` inside each major content section linked from your root index (for example `/docs/llms.txt`). A section-scoped index lets an agent working inside that section orient itself without re-reading the whole site index.
Skill: https://anc.dev/web-audit/skill/llms-txt-scoped
Docs: https://llmstxt.org/
```

## Verify

Re-run the audit at [https://anc.dev/web-audit](https://anc.dev/web-audit) or call the `audit_website` MCP tool; the `llms-txt-scoped` check should report `pass`.
