# Claimed URL is broken

> ax-check rule: A URL in the file returned 404 or 410, or its host did not resolve.

Section: ax-check rule · Drift and facts  
Canonical: https://agentexperience.tech/checks/axc-f001/

A URL in the file returned 404 or 410, or its host did not resolve.

- **How serious**: **error** Something is broken or missing.
- **Kind of check**: **[Observed](https://agentexperience.tech/checks/#kinds)** Depends on the program and environment at run time.
- **ax-check command**: `ax-check drift`
- **Where it applies**: Instruction files and manifests
- **Topics**: [drift](https://agentexperience.tech/evidence/#pattern-drift), [docs-for-agents](https://agentexperience.tech/evidence/#pattern-docs-for-agents), [llms-txt](https://agentexperience.tech/evidence/#pattern-llms-txt)
- **Rule text from**: ax-check 0.2.0Documented ahead of release

**Fix in one line** Update or remove the link, or restore the page and redirect the old address.

A URL written in the file answered with 404 or 410, or its host name did not resolve. The file tells an agent to read a page that is no longer there. The agent either fails, or guesses and carries on with less than it needs.

## What it checks

ax-check collects every `http://` and `https://` URL in the file. It sends a HEAD request first and falls back to GET if the server does not answer HEAD well. This rule fires when the answer is 404 (not found), 410 (gone) or when the host name does not resolve in DNS.

Other failures, such as access denied, rate limiting, server errors or timeouts, are not reported here. They are reported as [Claimed URL could not be verified](https://agentexperience.tech/checks/axc-f002/), because they do not prove the page is gone.

## Why it matters

Files such as llms.txt exist so that a language model can find a curated list of links ([llms.txt proposal](https://llmstxt.org/)). Agent instruction files such as AGENTS.md and SKILL.md work the same way: they point the agent at the pages that explain how to do the work. A dead link silently removes that help. Links go stale as sites are reorganised, and nobody reads the file often enough to notice.

## How to fix

- Update the link to the page’s new address.
- If the page moved, restore the old address and redirect it to the new one, so other readers of the old link are not stranded.
- If the page is gone for good, remove the link and the sentence that depends on it.

## Example

Find it:

```bash
ax-check drift --online llms.txt
```

### Before

```markdown
# Invoice Kit

> Billing tools for small teams.

## Docs

- [Quick start](https://docs.invoicekit.dev/quick-start): install and first invoice
- [Webhook guide](https://docs.invoicekit.dev/webhooks-v1): events and retries
```

The webhook guide was renamed, and the old address now returns 404.

### After

```markdown
# Invoice Kit

> Billing tools for small teams.

## Docs

- [Quick start](https://docs.invoicekit.dev/quick-start): install and first invoice
- [Webhook guide](https://docs.invoicekit.dev/webhooks): events and retries
```

## How ax-check detects it

The extraction and the rule logic are deterministic, but the result depends on what the servers that host each URL answer at the time of the run, so the same file can give different findings on another day. JSON and SARIF reports record when and where the check ran. It extracts URLs with a simple pattern, trims trailing punctuation that belongs to the sentence, and requests each distinct URL once. Redirects are followed. It sends HEAD first. Some servers handle HEAD badly, so if the answer is 403, 404, 405, 501 or any 5xx status, ax-check repeats the request as GET before it judges. The final status decides:

- 404 or 410: this rule fires.
- A host name that does not resolve in DNS: this rule fires.
- Success or a redirect (status 200 to 399): no finding.
- Anything else, including a timeout: [Claimed URL could not be verified](https://agentexperience.tech/checks/axc-f002/), because it does not prove the page is gone.

It makes one request at a time per host, leaves a gap of 500 milliseconds between requests to the same host, waits at most 10 seconds for each (change it with `--timeout <ms>`), and checks at most 200 distinct URLs per run (change it with `--max-urls <n>`). URLs beyond the cap are reported as [Claimed URL could not be verified](https://agentexperience.tech/checks/axc-f002/), not skipped silently.

It deliberately skips URLs that cannot be checked in a useful way: `localhost`, loopback addresses (`127.*`, `::1`), `0.0.0.0`, the reserved example domains (`example.com`, `example.org`, `example.net`, `.example`, `.test`, `.invalid`, `.local`), host names with no dot (such as `https://host/mcp`, a common placeholder), addresses that contain `{` or `<` placeholders, and addresses written directly before a placeholder (such as `https://example.org/checks/<rule-id>/`).

Known limits:

- A page that returns 200 but shows an error message in its body is not detected.
- A DNS failure that is only temporary is reported as a broken host. Run the check again.

To see which URLs would be requested before any request is made, run `ax-check drift --online --dry-run llms.txt`. Without `--online`, this rule does not run. Offline mode reports the number of unverified URLs once per file under [Claims extracted but not verified](https://agentexperience.tech/checks/axc-f011/).

To silence it, run `ax-check drift --online --disable <rule-id> llms.txt`. Only do that when the finding does not apply, for example a link you know is served only to signed-in users.

## Sources

- Specification: llms.txt proposal. [https://llmstxt.org/](https://llmstxt.org/) . Describes a Markdown file at `/llms.txt` that lists curated links for language models, which is why a broken link in it defeats its purpose.
- Site guide: State of llms.txt, agentexperience.tech. [https://agentexperience.tech/insights/state-of-llms-txt/](https://agentexperience.tech/insights/state-of-llms-txt/) . Background on how llms.txt files are used and maintained.
- Site guide: Make documentation legible, agentexperience.tech. [https://agentexperience.tech/insights/make-documentation-legible/](https://agentexperience.tech/insights/make-documentation-legible/) . Why agent-facing documentation needs to stay reachable and current.

## Related evidence

Records in the [AX evidence register](https://agentexperience.tech/evidence/) about the same pattern as this rule. They don’t test the rule itself.

- [Coding agents mostly read instruction files, not docs sites](https://agentexperience.tech/evidence/ev-0011/): An observational study of 557 agentic coding sessions (preprint) found that instruction files and working notes made up 60.5% of agents' documentation interactions, against 10.6% for classical technical documentation and 1.3% for API references. Preprint: not yet peer reviewed
- [Compact documentation did not help when the source was present](https://agentexperience.tech/evidence/ev-0012/): Across two model families and ten repositories, with a positive control, a preprint found that neither compact natural-language documentation nor retrieved context helped coding agents resolve issues better than the issue alone when the source code was present. Preprint: not yet peer reviewed
- [A capable agent skipped the index and guessed the page](https://agentexperience.tech/evidence/ev-0027/): A preregistered ablation on a 709-page Markdown wiki (preprint) found that a capable tool-using agent never loaded the compact catalogue index, inferring page paths from the question instead, while retrieval-based access kept answer quality non-inferior and cut cost by about a third to over half. Preprint: not yet peer reviewed
- [A warning that names the failing plan redirected agents; a tip did not](https://agentexperience.tech/evidence/ev-0029/): Microsoft reports that a documentation tip pointing to the right tool got 1 of 5 agent runs to use it, while a warning naming the agent's failing approach ('Manually updating package.json alone will result in build failures') got 5 of 5. Vendor measurement: the vendor’s own, with its method
- [Adding the context7 MCP server gave no lift; its tools went unused](https://agentexperience.tech/evidence/ev-0030/): Microsoft reports that adding the context7 MCP server to an anti-hallucination skill gave no meaningful lift on an SPFx upgrade: its tools did not load in 3 of 5 runs and were not called in the other 2, while telling the agent to use CLI for Microsoft 365 raised configuration correctness from 30/80 to 75/80. Vendor measurement: the vendor’s own, with its method
- [Vendor claim: agents never invoked a docs skill in 56% of eval cases](https://agentexperience.tech/evidence/ev-0032/): Vercel states that in its Next.js 16 evals the docs skill was never invoked in 56% of cases, so the skill matched the 53% pass rate of no docs, while an 8KB docs index in AGENTS.md reached 100%. Vendor claim: a figure with no published method

## Related guides

- [Keep agent instructions true](https://agentexperience.tech/insights/keep-agent-instructions-true/): Agent instructions in AGENTS.md, llms.txt, skills and MCP servers drift from production. How to check every package, tool, flag and URL they name in CI. Guide
- [Write agent-readable documentation](https://agentexperience.tech/insights/make-documentation-legible/): Agent-readable documentation in practice: what documentation for AI agents must answer, how to shape a page around one decision, and how to keep it true. Guide
- [Does llms.txt actually work?](https://agentexperience.tech/insights/state-of-llms-txt/): A sceptical review of the public evidence on llms.txt: what adoption studies measured, which bots fetch the file, and what Google and Chrome each say. Guide

## Go here next

- [Keep agent instructions true](https://agentexperience.tech/insights/keep-agent-instructions-true/): How to catch drift between what AGENTS.md, llms.txt, skills and MCP instructions say and what production does. Guide
- [Launch post and documentation disagree on agent output format](https://agentexperience.tech/evidence/ev-0039/): Cloudflare's cf launch post says JSON output is 'condensed for agents', but the cf documentation says JSON output is indented whether or not output is a terminal, and a public issue reports byte-identical output with an agent detected. Evidence
- [Claimed URL could not be verified](https://agentexperience.tech/checks/axc-f002/): A URL returned an access-denied, rate-limit or server error, or timed out, so it could not be verified. Rule

## About this rule text

[Advertised JSON output not verified](https://agentexperience.tech/checks/axc-c013/)

[Claimed URL could not be verified](https://agentexperience.tech/checks/axc-f002/)

[All ax-check rules](https://agentexperience.tech/checks/)

Rule text from ax-check 0.2.0, by Himadri Mishra. The licence will be confirmed before the source repository is published.
