broken-link-auditor
Skill by pnp
Audits SharePoint pages, news posts, and hyperlink fields for broken or risky links. It saves a self-contained HTML link-health report to the site. It is for SharePoint site owners and content teams.
Install broken-link-auditor
Built from the published package, never by AI.
git clone --depth 1 https://github.com/pnp/sharepoint-skills /tmp/sharepoint-skills && mkdir -p ~/.claude/skills && cp -r /tmp/sharepoint-skills/Skills/broken-link-auditor/broken-link-auditor ~/.claude/skills/broken-link-auditorRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/pnp/sharepoint-skills /tmp/sharepoint-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/sharepoint-skills/Skills/broken-link-auditor/broken-link-auditor ~/.gemini/antigravity-cli/skills/broken-link-auditorAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install broken-link-auditor in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill scans SharePoint Site Pages, news posts, and hyperlink or URL columns for broken or risky links. It works from the scope the user names, the current library or page set, or the whole current site. It extracts links, normalizes them, and checks internal SharePoint targets before external URLs. External links are checked with lightweight read-only HEAD requests, with a single retry before a link is called broken.
Each link is classified as valid, redirected, broken, or inconclusive, and given a High, Medium, Low, or Info severity. The skill saves one self-contained HTML report with inline CSS in a Link Reports folder. The report includes a summary, top affected items, a findings table, and a prioritized remediation list. It is aimed at SharePoint teams cleaning up after migrations, re-orgs, or content changes.
Written from the project's SKILL.md and checked against it.
What it can do
- Scope resolutionPicks the audit scope from selected items, a named library, the current context, or the whole current site.
- Link extractionPulls links from page and news post content, hyperlink or URL columns, and optionally plain text fields.
- Internal link validationChecks SharePoint targets as pages, files, folders, lists, or items and classifies each result.
- External link validationRuns read-only HEAD requests with a GET fallback, follows redirects, and retries once before marking broken.
- Severity scoringAssigns High, Medium, Low, or Info severity to each link occurrence based on its type and status.
- HTML reportBuilds a self-contained report with inline CSS, a summary band, a findings table, and remediation steps.
- Report savingSaves the report to a Link Reports folder in a document library on the current site.
What you need
- Access to the SharePoint site being audited
- Read permission on the pages, lists, or libraries in scope
Try asking
- Run a broken link audit on Site Pages
- Audit links in this library and save an HTML report
- Which SharePoint links are broken on this site?
Good to know
- Strictly read-only for content. The only write is the HTML report and its Link Reports folder.
- Only inspects content the current user can already read.
- Permission-denied targets are marked inconclusive, not broken.
- Mailto, telephone, JavaScript pseudo-links, and same-page anchors are ignored by default.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: Skills/broken-link-auditor/broken-link-auditor/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to broken-link-auditor
All alternatives →Ask-user-question lets an AI assistant ask the user questions through a modal in the UI. It suits tasks that need clarification, preferences, or approval before the assistant proceeds.
Beads is a Dolt-backed issue tracker that gives AI assistants persistent task memory. It tracks dependencies and notes across sessions and conversation compaction. It is for developers and agents managing multi-session work.
Manages the user's Google Tasks from an AI assistant. It reads task lists and tasks, adds, edits, completes and organizes them, and clears finished items from view. Built for people who keep their to-dos in Google Tasks.
Rebuilds your recent working context before you start or resume work. It reads your chat history and the shared record, then returns a short current-state brief for developers.
Build Agent turns a task a business owner repeats by hand into a named, reusable skill. It can be triggered by name or put on a schedule, and it adds approval checkpoints at consequential steps.
Lark-approval is a Feishu (Lark) skill for querying, handling and starting native approval workflows. It is for users who need to work through approval todos, review submitted approvals, or search and submit approval requests.
Compare with ask-user-question, beads or google_tasks
broken-link-auditor: common questions
Does the broken link auditor change my SharePoint pages?
No. The source says it is strictly read-only for content and never edits pages, files, metadata, or links. It only writes the final HTML report file.
How does it handle links that return permission errors?
It does not label them as broken. They are marked Inconclusive (permission-limited) in the report.
Where is the report saved?
The HTML report is saved in a Link Reports folder in an appropriate document library on the current site. The filename includes the scope and a timestamp.
How do I install broken-link-auditor?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is broken-link-auditor free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is broken-link-auditor safe to use?
It scores 61 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to broken-link-auditor?
Similar skills: ask-user-question, beads, google_tasks, recall.
