Agent skill

Fix Broken Links

by chef in chef/chef-web-docs

Run linkchecker against a locally served site, a deployed URL, or a local HTML build output, parse the errors, map each broken link back to its Markdown source file, suggest replacement URLs, and…

Custom licenceAuto-check passedDocuments & Office

Install Fix Broken Links

skills CLI
$ npx skills add chef/chef-web-docs --skill fix-broken-links -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install chef/chef-web-docs fix-broken-links --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/chef/chef-web-docs.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.github/skills/fix-broken-links .claude/skills/fix-broken-links && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
fix-broken-links
GitHub stars
143
Token cost
~3.2k tokens
SKILL.md length
1,479 words
Files
2 (incl. references)
Skills in repo
3
Repo updated
First seen
Licence
Custom licence

At a glance

Run linkchecker against a locally served site, a deployed URL, or a local HTML build output, parse the errors, map each broken link back to its Markdown source file, suggest replacement URLs, and…

  • Works in 6 steps: Verify installation → Configure check → Run linkchecker → …
  • Tasks that involve Static sites and blogs
  • SKILL.md covers Before running this skill, Stage 1: Verify installation, Stage 2: Configure check and Stage 3: Run linkchecker, plus 4 more sections
  • Calls pipx

What it does

Fix Broken Links is an agent skill from chef/chef-web-docs. Run linkchecker against a locally served site, a deployed URL, or a local HTML build output, parse the errors, map each broken link back to its Markdown source file, suggest replacement URLs, and apply confirmed fixes. Supports scoping the check to a subsection of a site so you can work on one repository at a time in a multi-repo docs site. Triggers on: broken links, dead links, fix links, link check, linkchecker, check links, link errors, 404 links, link rot.

Its SKILL.md is about 3.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/linkchecker-setup.md`).

It sits in Documents & Office, covering Static sites and blogs and Markdown. The repository describes itself as: All The Documentation.

When your agent uses it

  • Tasks that involve Static sites and blogs
  • Tasks that involve Markdown

Example prompts

  • “/fix-broken-links”

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Verify installation
  2. Configure check
  3. Run linkchecker
  4. Parse errors
  5. Map errors to Markdown source
  6. Fix broken links

What it can do on your machine

Read from SKILL.md and the folder at commit e0c87d0. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • pipx

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pipx, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Fix Broken Links loads about 3.2k tokens when it runs, and up to ~4.6k if it reads all its reference files. Until then it costs about 120 tokens; SKILL.md has 1,479 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~120
When it runs · the whole SKILL.md, loaded when a task matches
~3.2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 1,479 words (~3,180 tokens).

“Runs a six-stage workflow to find and fix broken links in a documentation repo:”

— opening of SKILL.md by chef, Custom licence
name
fix-broken-links
argument-hint
The check target — a localhost URL (http://localhost:1313/), a deployed URL (https://docs.example.com/), or an absolute path to a local build directory…

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file (references) in .github/skills/fix-broken-links of chef/chef-web-docs.

  • SKILL.md
  • references/linkchecker-setup.md

Open the folder on GitHubat commit e0c87d0

Compare with similar skills

Fix Broken Links next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Fix Broken Links compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Fix Broken Links this skillchef/chef-web-docs143—~3.2kAutomated safety check: PassCustom licence
Publish Skillglebis/claude-skills390—~4.1kAutomated safety check: PassMIT
Migrate Content Iadocker/docs4.7k—~5.1kAutomated safety check: PassApache-2.0
Using Docs Kitlobehub/lobe-ui2.2k—~2.8kAutomated safety check: PassMIT
Mdzillapi0/mdzilla110—~761Automated safety check: PassMIT
Leadtypec15t/c15t1.9k—~477Automated safety check: PassApache-2.0

Similar skills

  • Publish Skill

    glebis/claude-skills

    This skill should be used when publishing a new or updated skill to the claude-skills-site Astro website.

    390 GitHub stars~4.1k tokensUpdated today
    Documents & OfficeAuto-check passed
  • Official

    Handle Hugo docs information-architecture moves: discover old vs new URLs, add front matter aliases (Phase 1), update in-repo links (Phase 2), interactive List 2 resolution and fragment validation…

    4.7k GitHub stars~5.1k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Using Docs Kit

    lobehub/lobe-ui

    Set up and author a documentation site with @lobehub/docs-kit (the lobedocs CLI, React Router + Vite static docs used by ui.lobehub.com).

    2.2k GitHub stars~2.8k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Mdzilla

    pi0/mdzilla

    Browse, search, and export documentation from any source using the mdzilla CLI.

    110 GitHub stars~761 tokensUpdated 6 mo ago
    Documents & OfficeAuto-check passed
  • Leadtype

    c15t/c15t

    Work with the leadtype package for MDX components, remark plugins, MDX-to-markdown conversion, llms.txt generation, and docs linting.

    1.9k GitHub stars~477 tokensUpdated today
    Documents & OfficeAuto-check passed
  • Mintlify Preview

    latitude-dev/latitude-llm

    Run the public Mintlify product docs site locally for live preview.

    4.7k GitHub stars~813 tokensUpdated today
    Frontend & DesignAuto-check passed

More from chef/chef-web-docs

  • Alt Text Edit

    chef/chef-web-docs

    Scan a Markdown file for images, audit every alt text value against accessibility and style guidelines, view each image in the workspace, draft accurate alt text, and edit the file in place.

    143 GitHub stars~2.6k tokensUpdated today
    Auto-check passed
  • Review Release Notes

    chef/chef-web-docs

    Read a release notes file and edit it using Jira release data and GitHub pull requests as co-equal, optional sources.

    143 GitHub stars~5.2k tokensUpdated today
    Auto-check passed

Questions about Fix Broken Links

What does Fix Broken Links do?

Run linkchecker against a locally served site, a deployed URL, or a local HTML build output, parse the errors, map each broken link back to its Markdown source file, suggest replacement URLs, and…. Fix Broken Links is an agent skill from chef/chef-web-docs. Run linkchecker against a locally served site, a deployed URL, or a local HTML build output, parse the errors, map each broken link back to its Markdown source file, suggest replacement URLs, and apply confirmed fixes.

When should I use Fix Broken Links?

Fix Broken Links fits situations like: tasks that involve Static sites and blogs; tasks that involve Markdown.

How do I install Fix Broken Links in Claude Code?

Run `npx skills add chef/chef-web-docs --skill fix-broken-links -a claude-code`. Or copy the skill folder (.github/skills/fix-broken-links in chef/chef-web-docs) into .claude/skills/fix-broken-links in your project. Claude Code loads it when a task matches its description.

How do I install Fix Broken Links in Codex?

Run `npx skills add chef/chef-web-docs --skill fix-broken-links -a codex`. Or copy the skill folder (.github/skills/fix-broken-links in chef/chef-web-docs) into .agents/skills/fix-broken-links in your project. Codex loads it when a task matches its description.

Can I use Fix Broken Links in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add chef/chef-web-docs --skill fix-broken-links -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/fix-broken-links, .gemini/skills/fix-broken-links, .github/skills/fix-broken-links and .opencode/skills/fix-broken-links in your project.

What does Fix Broken Links need to run?

Going by SKILL.md and its folder, Fix Broken Links needs the command-line tools its instructions call (pipx).

Does Fix Broken Links access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Fix Broken Links safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Fix Broken Links use?

Fix Broken Links has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Fix Broken Links use?

About 3.2k tokens (SKILL.md is roughly 13k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.4k tokens, read only when the agent opens those files.

What are the alternatives to Fix Broken Links?

Skills that share tags, products or a category with Fix Broken Links: Publish Skill (glebis/claude-skills, 390 stars), Migrate Content Ia (docker/docs, 4.7k stars), Using Docs Kit (lobehub/lobe-ui, 2.2k stars) and Mdzilla (pi0/mdzilla, 110 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Fix Broken Links?

chef (a GitHub organization) maintains it in chef/chef-web-docs, which has 143 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on October 9, 2026.

Source: chef/chef-web-docs on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.