Find broken links on your website
Every link and image that returns an error, with the page it is on and the link text, in a sheet.
- You start it: When you start it
What it does
The task
Start at site url and follow the links on the same domain, up to max pages pages. Check every link and image on these pages, including links to other sites. List each one that returns an error, a timeout or a redirect loop. Put them in a new Google Sheet with the page, the link text, the broken URL and the status code, grouped by page. Do not submit any form.
- It works in any website and Google Sheets, in the workspace you pick, and signs in with passwords from your Cuiar vault.
- It runs once, when you start it.
What you give it
| Blank | What to give | Example |
|---|---|---|
| site url | The start page of the site | https://docs.brightleaf.app |
| max pages | The most pages to read | 300 |
What you get back
An example run with the example values above. Your run uses your own data.
Read 300 pages on docs.brightleaf.app: 17 broken links
| Page | Link text | URL | Status |
|---|---|---|---|
| /guides/export | CSV format | /reference/csv-v1 | 404 |
| /guides/export | Sample file | cdn.brightleaf.app/sample.csv | 403 |
| /api/auth | OAuth guide | auth.partner.example/guide | Timeout |
| /changelog | Release 2.4 | /blog/release-2-4 | 404 |
| /pricing | Contact sales | /contact?ref=pricing | Redirect loop |
Saved to "Broken links 2026-11-04" with all 17 rows.
Run it in Cuiar
- 01
Open it
Click Use in Cuiar on this page. The side panel opens with the task in the composer.
- 02
Fill in 2 blanks
Type site url and max pages. Tab moves to the next blank.
- 03
Run it
Run sends it to the agent. Follow each step in the panel, and stop it at any time.
From the terminal
cuiar exec "Start at https://docs.brightleaf.app and follow the links on the same domain, up to 300 pages. Check every link and image on these pages, including links to other sites. List each one that returns an error, a timeout or a redirect loop. Put them in a new Google Sheet with the page, the link text, the broken URL and the status code, grouped by page. Do not submit any form."Run it from your AI agent
Claude Code, Codex, Cursor and other MCP clients reach Cuiar at https://mcp.cuiar.com/mcp. Add the server one time, then ask for the task in plain words, or call run_task yourself.
1. Add Cuiar to Claude Code
claude mcp add --transport http cuiar https://mcp.cuiar.com/mcp2. Ask your agent
Use the Cuiar tool run_task to run my "Find broken links on your website" template with site url = https://docs.brightleaf.app; max pages = 300.Setup for other agents: AI agents.
The tool call
{
"name": "run_task",
"arguments": {
"task": "Start at https://docs.brightleaf.app and follow the links on the same domain, up to 300 pages. Check every link and image on these pages, including links to other sites. List each one that returns an error, a timeout or a redirect loop. Put them in a new Google Sheet with the page, the link text, the broken URL and the status code, grouped by page. Do not submit any form."
}
}Related templates
All engineering templatesEngineering
Find flaky tests in your CI runs
Tests that fail and then pass on the same commit, with the count and the error, from your recent runs.
You start it: When you start it- GitHub
- Google Sheets
Engineering
Find the cause of a jump in your cloud bill
This month's cost per service against last month, with the resources that grew the most.
You start it: When you start it- Any admin panel
- Google Sheets
Engineering
Test redirects after a site migration
Each old URL checked against its new target, with wrong targets, temporary redirects and chains marked.
You start it: When you start it- Google Sheets
- Any website
Engineering
Compare page speed before and after a release
Lab metrics for your key pages after each production deploy, with each page that got slower.
On an event: When a new production deploy finishes- Netlify
- PageSpeed Insights
- Google Sheets
ResearchOdyssey
Estimate the size of a market
A top-down and a bottom-up estimate, with the source for each number and each step of the math.
You start it: When you start it- Any government site
- Google Scholar
- Google Sheets
ResearchOdyssey
Map the competitors in a market
Each competitor with its product, target customer, price, funding and size, and the gaps no one covers.
You start it: When you start it- Crunchbase
- G2
- Google Sheets