Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 61
  • 169 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-auditor

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install broken-link-auditor in Claude Code

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

A

No 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 →

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.

broken-link-auditor Install

Add to stack

Loading.