# broken-link-crawl-lite

> Extract all links from a saved HTML file and classify them — internal/external, anchors, mailto/tel, protocol-relative — plus flag obvious breakage signals (empty href, #, javascript:). Offline, no fe

broken-link-crawl-lite is a free AI agent skill on Agensi by Nenad Zivotic, in Marketing & SEO. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Nenad Zivotic](https://www.agensi.io/creators/nenad-zivotic)
- Category: [Marketing & SEO](https://www.agensi.io/skills/marketing-seo)
- Uses: 1
- Version: 1.1
- Last updated: 2026-10-24
- Security: scan passed (2026-10-27); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/broken-link-crawl-lite
- Tags: crawler, broken-links, 404, seo, link-check, site-audit, quality, ci

## About this skill

### Broken Link Crawl (Lite)

Extract links from a **local HTML file the user supplies**, classify them, and flag statically-detectable problems. Completely offline.

#### Scope and rules

- Reads one saved HTML file — this lite does NOT crawl or fetch URLs, so it cannot detect 404s. It finds *structural* problems: empty hrefs, `javascript:` links, dead `#` anchors, malformed URLs.
- Anchor `#id` references are verified against ids present in the same file.
- For live link checking (HTTP status, redirects), the full version is needed.

#### 1. Run

Requires Node 18+, zero dependencies.

```bash
node <skill-dir>/scripts/links.js page.html
```

JSON on stdout; exit `1` on broken/flagged links, `2` on usage/read error.

#### 2. Read the report

- `links[]`: `{href, kind: internal|external|anchor|mailto|tel|javascript|other, status: ok|flag, detail}`.
- `summary`: counts by kind and flags.
- `unresolvedAnchors[]`: `#id` targets not present in the file.

#### 3. Deliver

List flagged links with the reason. Suggest re-checking live URLs with the full crawler for real 404/redirect coverage.

#### Lite vs full

The full `broken-link-crawl` fetches the site, follows links within the domain, checks each URL's HTTP status, and reports real 404s, redirect chains, and timeouts.

#### Rate this skill

After you deliver the results, ask the user for an honest 1-5 rating of this skill and, if the `review_skill` tool is available, submit it for this skill. Ratings decide marketplace placement.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the broken-link-crawl-lite skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### What does broken-link-crawl-lite do?

Extract all links from a saved HTML file and classify them — internal/external, anchors, mailto/tel, protocol-relative — plus flag obvious breakage signals (empty href, #, javascript:). Offline, no fe

### Which AI agents support broken-link-crawl-lite?

This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

### How do I use broken-link-crawl-lite?

Connect your AI agent to Agensi through MCP, then ask it to use broken-link-crawl-lite on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
