Agent skill · Documentation

link-validator

Comprehensive link checking and validation for documentation. Validate internal links, external URLs, anchors, detect redirects, monitor link rot, and generate sitemap validation reports.

a5c-aigithub.com/a5c-aiGitHub ↗
claude-codecodexcan modify filesMIT
Install
npx skills add a5c-ai/babysitter --skill link-validator --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 10 KB
Bundled scripts: none
Version: 1.0.0
Declared author: babysitter-sdk
Allowed tools: ReadWriteEditBashGlobGrep
Path: library/specializations/technical-documentation/skills/link-validator/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 1,642
Language: JavaScript

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Link Validation Skill Comprehensive link checking and validation for documentation. ## Capabilities - Internal link validation (cross-references) - External URL checking with retry logic - Anchor/fragment validation - Redirect detection and updating - Link rot monitoring and reporting - Archive.org fallback suggestions - sitemap.xml validation - Link accessibility checking ## Usage Invoke this skill when you need to: - Validate all links in documentation - Check for broken external URLs - Verify anchor references - Detect and fix redirects - Monitor link health over time ## Inputs | Parameter | Type | Required | Description | |-----------|------|----------|-------------| | inputPath | string | Yes | Path to documentation directory | | action | string | Yes | validate, monitor, fix-redirects | | checkExternal | boolean | No | Check external URLs (default: true) | | timeout | number | No | Request timeout in seconds | | retries | number | No | Retry count for failed requests | | allowedDomains | array | No | Domains to always allow | | blockedDomains | array | No | Domains to skip checking | ### Input Example ```json { "inputPath": "./docs", "action": "validate", "checkExternal": t

What's inside
Steps it walks through
  1. Capabilities
  2. Usage
  3. Inputs
  4. Input Example
  5. Output Structure
  6. Validation Report
  7. Configuration
  8. linkcheck.config.json
  9. Link Types
  10. Internal Links
  11. External Links
  12. Validation Rules
  13. Internal Link Rules
  14. External Link Rules
Ships with 1 file
  • README.md
Commands it runs
Check all links
npx linkinator ./docs --recurse --format json > report.json
Check with markdown-link-check
find docs -name '*.md' -exec npx markdown-link-check {} \;
Use lychee (Rust-based, fast)
lychee './docs/**/*.md' --format json --output report.json
Fix redirects automatically
node scripts/fix-redirects.js --input docs/ --report report.json
More from babysitter
All skills →
About this skill
What does the link-validator skill do?

Comprehensive link checking and validation for documentation. Validate internal links, external URLs, anchors, detect redirects, monitor link rot, and generate sitemap validation reports.

How do I install it?

Run `npx skills add a5c-ai/babysitter --skill link-validator --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From a5c-ai/babysitter, a repository with 1,642 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going