Tested by AI Setups That Work. Ran with Claude Code in a cloud session, Nov 17, 2026, on a made-up 7-page site on a local server: the checker found the 2 broken links and the 2 missing titles. It passed with snags: with no sitemap it listed the 2 broken pages twice, and the same session built the site and the checker. A real website, Manual mode and fixing then rerunning were not tested.
What it does
Get a plain list of broken links, missing page titles and duplicate titles on your website, from a checker Claude Code writes for you.
Who it is for
Owners with a small business website who suspect it has broken pages or messy titles and do not want to pay for an audit tool to find out.
Tools
Claude Code, in the terminal or the desktop app
Your website address (most builders publish a sitemap at /sitemap.xml)
Your website builder, to make the fixes yourself
Steps
Make an empty folder and open Claude Code in it in Manual mode (cd into the folder, then type claude --permission-mode manual).
Paste the prompt below with your website address. In Manual mode, Claude Code asks before it edits files or runs commands; approve after you read what it will do.
Open report.csv. Start with broken links (404) on your own site, then pages with no title, then duplicate titles.
Fix each one in your website builder: update or remove the broken link, and give each page its own short, descriptive title.
Run the check again and confirm the list is shorter. Rerun it once a month or after big changes.
The prompt
My website is [YOUR WEBSITE ADDRESS]. Write a small script in this folder that checks it, then run it.
The script should:
1. Read the sitemap (try /sitemap.xml, then /sitemap_index.xml). If there is none, start from the home page and follow links on my own domain only, up to 200 pages.
2. Visit each page at most once, one at a time, with a short pause between requests.
3. On each page, record: the page address, its status code, its title, and every link on the page.
4. Check each link on my own domain and record any that do not load (status 400 or higher).
5. Write report.csv with: page, problem (broken link, missing title, duplicate title, page error), detail, and how to fix it in plain words.
Rules: only read public pages. Do not log in, submit forms or change anything. Do not check links to other websites unless I ask. When done, show me the count of each problem and the 10 worst pages.
Tips
Fix broken links on your most visited pages first: home, services and contact.
Ask Claude Code to add a column for pages with a very short title, like just your business name.
Keep the folder. Next month, ask Claude Code to rerun the script and compare with the old report.