Broken Link 404 Error
This skill identifies and reports 404 "Broken Link" errors on a webpage, improving website accessibility and user experience by flagging dead links.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add broken-link-404-error npx -- -y @trustedskills/broken-link-404-error
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"broken-link-404-error": {
"command": "npx",
"args": [
"-y",
"@trustedskills/broken-link-404-error"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill identifies and handles broken links, specifically returning a 404 error page. It's designed to gracefully manage situations where requested resources are unavailable on a website or server. The skill provides a standardized response for these errors, improving user experience by preventing unexpected behavior.
When to use it
- A user clicks a link that is no longer valid.
- An internal navigation element points to a non-existent page.
- You want to ensure consistent error handling across your website or application.
- Automated processes encounter broken links during data retrieval.
Key capabilities
- 404 Error Handling: Returns a standardized 404 error response.
- Link Validation: Identifies and flags broken links.
- Graceful Degradation: Prevents unexpected behavior when resources are unavailable.
Example prompts
- "Simulate a 404 error for the URL 'https://example.com/nonexistentpage'."
- "Check if this link is valid: https://www.brokenlink.com."
- “Return a 404 response when I try to access /old-product.”
Tips & gotchas
This skill requires understanding of HTTP status codes and URL structure. It's most effective when integrated into an environment where broken links are expected or need to be proactively managed.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.