Agent Skillsnowork-studio/notfair-plugin › broken-link-checker

broken-link-checker

GitHub

用于扫描网站以发现失效链接(404/5xx),区分内外链并定位来源页面,提供修复建议,提升SEO健康和用户体验。

seo/broken-link-checker/SKILL.md nowork-studio/notfair-plugin

触发场景

检查失效链接 查找404错误 审计网站链接 评估网站健康状况

安装

npx skills add nowork-studio/notfair-plugin --skill broken-link-checker -g -y
更多选项

非标准路径

npx skills add https://github.com/nowork-studio/notfair-plugin/tree/main/seo/broken-link-checker -g -y

不安装直接使用

npx skills use nowork-studio/notfair-plugin@broken-link-checker

指定 Agent (Claude Code)

npx skills add nowork-studio/notfair-plugin --skill broken-link-checker -a claude-code -g -y

安装 repo 全部 skill

npx skills add nowork-studio/notfair-plugin --all -g -y

预览 repo 内 skill

npx skills add nowork-studio/notfair-plugin --list

SKILL.md

Frontmatter
{
    "name": "broken-link-checker",
    "description": "Scans a website to find broken links (404s, 500s). Crawls internal pages,  identifies broken outbound links, and reports source pages for easy fixing. Use this when the user asks to \"check for broken links\", \"find 404s\",  \"audit my links\", or \"is my site healthy\".",
    "argument-hint": "<URL to check, e.g. https:\/\/example.com>"
}

Broken Link Checker

You are a technical SEO specialist focused on website health and crawlability. Broken links hurt user experience and waste "crawl budget" from search engines.

Your goal is to identify broken links and provide a clear path to fixing them.


Step 1 — Identify the Target URL

If the user didn't provide a URL, ask:

"Which website should I check for broken links?"

Once you have the URL, store it as $TARGET_URL.


Step 2 — Run the Scan

Run the broken link checker script:

python3 seo/broken-link-checker/scripts/checker.py --url "$TARGET_URL" --max-pages 50

Note: You can adjust --max-pages if the user wants a deeper scan.


Step 3 — Analyze and Report

The script will output a JSON report. Analyze the broken_links array:

  1. Group by Status: Group 404s (Not Found) vs 5xx (Server Errors).
  2. Identify Internal vs External: Note if the broken link is on the same domain or an external site.
  3. Map to Source: For each broken link, identify which page(s) it was found on (source field).

How to report to the user:

  • Summary: "I scanned X pages and found Y broken links."
  • High Priority: List broken internal links first (these are entirely under the user's control).
  • Secondary: List broken external links.
  • Actionable Fixes:
    • For internal 404s: "Update the link on [Source Page] to point to the correct URL, or set up a 301 redirect."
    • For external 404s: "The external site at [Target URL] is down or moved. Update or remove the link on [Source Page]."

If no broken links are found, congratulate the user on a healthy site!

版本历史

  • 82a79b7 当前 2026-07-25 05:07

同 Skill 集合

analytics/google-analytics/SKILL.md
analytics/search-console/SKILL.md
google-ads/assets/SKILL.md
google-ads/audit/SKILL.md
google-ads/copy/SKILL.md
google-ads/manage/SKILL.md
meta-ads/creative/SKILL.md
meta-ads/manage/SKILL.md
notfair-upgrade-skill/SKILL.md
paid-ads/paid-ads-amazon/SKILL.md
paid-ads/paid-ads-chatgpt/SKILL.md
paid-ads/paid-ads-creative/SKILL.md
paid-ads/paid-ads-guide/SKILL.md
paid-ads/paid-ads-integrations/SKILL.md
paid-ads/paid-ads-launch/SKILL.md
paid-ads/paid-ads-linkedin/SKILL.md
paid-ads/paid-ads-optimize/SKILL.md
paid-ads/paid-ads-review/SKILL.md
paid-ads/paid-ads-setup/SKILL.md
paid-ads/paid-ads-tiktok/SKILL.md
paid-ads/paid-ads-x/SKILL.md
paid-ads/paid-ads/SKILL.md
seo/meta-tags-optimizer/SKILL.md
seo/schema-markup-generator/SKILL.md
seo/setup-cms/SKILL.md
skills/broken-link-checker/SKILL.md
skills/google-ads-assets/SKILL.md
skills/google-ads-audit/SKILL.md
skills/google-ads-copy/SKILL.md
skills/google-ads/SKILL.md
skills/google-analytics/SKILL.md
skills/meta-ads-creative/SKILL.md
skills/meta-ads/SKILL.md
skills/meta-tags-optimizer/SKILL.md
skills/paid-ads-amazon/SKILL.md
skills/paid-ads-chatgpt/SKILL.md
skills/paid-ads-creative/SKILL.md
skills/paid-ads-guide/SKILL.md
skills/paid-ads-integrations/SKILL.md
skills/paid-ads-launch/SKILL.md
skills/paid-ads-linkedin/SKILL.md
skills/paid-ads-optimize/SKILL.md
skills/paid-ads-review/SKILL.md
skills/paid-ads-setup/SKILL.md
skills/paid-ads-tiktok/SKILL.md
skills/paid-ads-x/SKILL.md
skills/paid-ads/SKILL.md
skills/schema-markup-generator/SKILL.md
skills/search-console/SKILL.md

元信息

文件数
0
版本
8d9d54b
Hash
9a76d76e
收录时间
2026-07-25 05:07

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-26 01:14
浙ICP备14020137号-1 $访客地图$