Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问clear审计提醒

link-analyzer链接分析器

Agent Skill

link-analyzer 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

412

周安装

17

GitHub Stars

13

下载量

135
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:link-analyzer(链接分析器)
来源仓库:https://github.com/dragosroua/claude-content-skills
仓库路径:skills/link-analyzer
安装命令:
npx skills add https://github.com/dragosroua/claude-content-skills --skill link-analyzer
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/dragosroua/claude-content-skills --skill link-analyzer

简介

link-analyzer 用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词或任务场景快速定位候选结果。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装,需确认权限和维护状态。
  • 使用前建议核实是否会触发联网、命令执行或文件读写操作。
  • 可结合来源仓库和原始 README 进一步核验具体用法和功能边界。

SKILL.md

Link Analyzer Skill

Purpose

This skill provides comprehensive link analysis for static websites, including:

  • Internal/external link extraction
  • Broken link detection (HTTP validation)
  • Link graph metrics (orphans, sinks, under/over-linked)
  • False positive filtering (bot blockers, rate limits)
  • SEO-focused recommendations

When to Use This Skill

  • User asks to "analyze links" or "check broken links"
  • User wants to find "orphan pages" or "dead ends"
  • User mentions "internal linking" or "link structure"
  • User needs to "find under-linked content"
  • User wants to identify "link sinks" or "pages with no outbound links"
  • User asks about "link juice" distribution

Link Analysis Types

1. Outbound Links Analysis

Extracts and categorizes all external links:

  • Social media links
  • E-commerce (Amazon, Gumroad)
  • Email/Phone links
  • App Store links
  • General external websites

2. Internal Links Check

Validates all internal links point to existing pages:

  • Handles path variations (with/without trailing slash)
  • Checks for index.html alternatives
  • Reports broken internal links

3. External Links Validation

HTTP checks on external links with smart filtering:

  • Parallel requests for speed
  • Retries for transient failures
  • Filters false positives (bot blockers, rate limits)
  • Categorizes by error type (404, timeout, SSL, etc.)

4. Link Graph Metrics (NEW)

Builds a complete link graph and calculates:

  • Orphan Pages: Pages with zero inbound internal links
  • Under-linked Pages: Pages below inbound link threshold
  • Over-linked Pages: Pages above outbound link threshold
  • Link Sinks: Pages that receive links but don't pass them (dead ends)
  • Link Flow Ratio: Inbound vs outbound balance

Configuration

Create a config.json:

{
  "dist_path": "./dist",
  "site_domain": "example.com",
  "internal_domains": ["example.com", "www.example.com", "wp.example.com"],
  "excluded_paths": ["/tag/", "/category/", "/page/"],
  "http": {
    "timeout": 5,
    "max_workers": 20,
    "retry_count": 1,
    "user_agent": "LinkChecker/1.0"
  },
  "thresholds": {
    "underlinked_min_inbound": 3,
    "overlinked_max_outbound": 50,
    "link_sink_max_outbound": 2
  },
  "false_positive_domains": [
    "linkedin.com",
    "stackoverflow.com",
    "twitter.com",
    "facebook.com"
  ],
  "output": {
    "report_dir": "./reports",
    "data_dir": "./data"
  }
}

Workflow

Full Analysis

python scripts/analyze.py --dist ./dist --full

Individual Analyses

# Outbound links only
python scripts/outbound_links.py --dist ./dist

# Internal links check
python scripts/internal_links.py --dist ./dist

# HTTP validation (requires outbound data)
python scripts/http_checker.py --input outbound_links_data.json

# Link graph metrics
python scripts/link_graph.py --dist ./dist

Output Reports

Link Graph Report

LINK GRAPH ANALYSIS
==================

ORPHAN PAGES (0 inbound links): 15 pages
- /old-page-nobody-links-to/
- /draft-accidentally-published/
...

UNDER-LINKED PAGES (<3 inbound): 47 pages
- /great-article-needs-promotion/ (1 inbound)
- /hidden-gem-content/ (2 inbound)
...

OVER-LINKED PAGES (>50 outbound): 3 pages
- /resources/ (127 outbound)
...

LINK SINKS (receive but don't pass): 23 pages
- /about/ (15 inbound, 0 outbound)
...

Broken Links Report

ACTIONABLE BROKEN LINKS
======================

404 - Page Not Found: 25 links
- https://old-blog.com/post (5 occurrences)
...

Dead Domains: 8 links
- https://defunct-site.com (3 occurrences)
...

Timeouts: 4 links
- https://slow-affiliate.com (2 occurrences)

Metrics Definitions

MetricDefinitionSEO Impact
Orphan PagePage with 0 inbound internal linksCritical - page may not be indexed
Under-linkedPage with fewer than threshold inbound linksHigh - page lacks authority signals
Over-linkedPage with more than threshold outbound linksMedium - dilutes link equity
Link SinkPage with high inbound but low/no outboundMedium - doesn't distribute link equity
Link Flow RatioInbound links / Outbound linksIdeal around 1.0 for most pages

Example Usage

User: "Analyze my site's internal linking and find pages that need more links"

Claude will:

  1. Build complete link graph from static files
  2. Calculate inbound/outbound counts for every page
  3. Identify orphan pages (critical SEO issue)
  4. Find under-linked pages (opportunity for improvement)
  5. Detect link sinks (pages that don't pass equity)
  6. Generate actionable report with recommendations

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

25.86%
按下载量换算35

windsurf

24.42%
按下载量换算33

OpenCode

15.93%
按下载量换算22

Codex

11.31%
按下载量换算15

Gemini CLI

7.92%
按下载量换算11

Cursor

3.72%
按下载量换算5

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills