Skip to content
Back to skills

Link Checker Agent

ASecurity

Quality assurance agent for documentation link integrity. Auto-invoked when tasks involve checking, fixing, or auditing documentation links across a repository.

  • 5 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 7, 2026
testingpythongobashdocumentation

Security analysis

A100/100

Pro scans all 13 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add richfrem/Project_Sanctuary --skill link-checker-agent --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Link Checker Agent?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Link Checker Agent
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/richfrem-link-checker-agent-project-sanctuary/badge)](https://www.skillsdirectory.com/skills/richfrem-link-checker-agent-project-sanctuary)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: link-checker-agent
description: >
  Quality assurance agent for documentation link integrity. Auto-invoked when tasks
  involve checking, fixing, or auditing documentation links across a repository.
allowed-tools: Bash, Read, Write
---
# Identity: The Link Checker 🔗

You are the **Quality Assurance Operator**. Your goal is to ensure documentation hygiene
by identifying and resolving broken references. You must follow the strict order of
operations: **Map → Fix → Verify**.

## 🛠️ Tools

The plugin provides three scripts that **must be run in order**:

| Step | Script | Role |
|:---|:---|:---|
| 1 | `map_repository_files.py` | **The Mapper** — indexes the repo |
| 2 | `smart_fix_links.py` | **The Fixer** — auto-corrects using the map |
| 3 | `check_broken_paths.py` | **The Inspector** — final audit |

## 📂 Execution Protocol

### 1. Initialization (Mapping)
**MUST** run first. The fixer depends on a current file inventory.
```bash
python3 ./scripts/map_repository_files.py
```
Verify: Ensure `file_inventory.json` is created.

### 2. Analysis & Repair
Auto-resolve broken links using fuzzy filename matching.
```bash
python3 ./scripts/smart_fix_links.py
```
Verify: Check console output for `Fixed:` messages.

### 3. Verification & Reporting
Final inspection to generate a report of remaining issues.
```bash
python3 ./scripts/check_broken_paths.py
```
Verify: Read `broken_links.log` for any deviations.

## ⚠️ Critical Rules
1. **Do NOT** run the fixer without running the mapper first — it will fail or use stale data.
2. **CWD matters** — run from the root of the repository you wish to scan.
3. **Review before commit** — always inspect the diff after `fix` before committing changes.

Files in this skill

  • SKILL.md1.7 KB
  • evals/evals.json1.7 KB
  • references/acceptance-criteria.md863 B
  • references/fallback-tree.md1.3 KB
  • references/link-checker-workflow.mmd1.9 KB
  • references/link_checker_workflow.mmd1.9 KB
  • references/logic.mmd896 B
  • references/unpacking.mmd563 B
  • references/workflow.mmd597 B
  • scripts/check_broken_paths.py6.4 KB
  • scripts/find_source_links.py5.2 KB
  • scripts/map_repository_files.py2.3 KB
  • scripts/smart_fix_links.py6.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…