Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计异常

pseo-linking伪链接

Agent Skill

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

总安装

269

周安装

11

GitHub Stars

40

下载量

87
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/lisbeth718/pseo-skills --skill pseo-linking

简介

用于查找、检索和筛选相关信息,支持多源线索整合。

  • 适合在需要跨文档关联或知识图谱构建时使用。
  • 通过 GitHub 仓库安装,需确认其是否依赖外部搜索引擎或数据库。
  • 安装命令:npx skills add https://github.com/lisbeth718/pseo-skills --skill pseo-linking。
  • 建议结合原始 README 了解链接生成规则与去重策略。

SKILL.md

pSEO Internal Linking

Build an internal linking system that creates strong topical authority, distributes link equity, and ensures every page is discoverable.

Core Principles

  1. Hub-and-spoke architecture: Category hubs link to all child pages; child pages link back to their hub
  2. Topical clustering: Pages within the same topic cluster interlink
  3. Every page reachable: No orphan pages — every page is linked from at least 2 other pages
  4. Crawl depth <= 3: Any page reachable within 3 clicks from the homepage
  5. Descriptive anchor text: Link text describes the target page, not generic "click here"

Architecture

Homepage
├── Category Hub A ──→ Page A1, A2, A3, ...
│   ├── Page A1 ──→ Hub A, A2, A3 (related)
│   ├── Page A2 ──→ Hub A, A1, A3 (related)
│   └── Page A3 ──→ Hub A, A1, A2 (related)
├── Category Hub B ──→ Page B1, B2, B3, ...
│   └── ...
└── Sitemap (links all hubs)

Implementation Steps

1. Breadcrumb Navigation

Build a breadcrumb component that:

  • Renders the full path: Home > Category > Current Page
  • Uses semantic HTML (<nav> with <ol>)
  • Generates BreadcrumbList schema markup (coordinate with pseo-schema)
  • Appears on every pSEO page
interface BreadcrumbItem {
  label: string;
  href: string;
}

function Breadcrumbs({ items }: { items: BreadcrumbItem[] }) {
  return (
    <nav aria-label="Breadcrumb">
      <ol>
        {items.map((item, i) => (
          <li key={item.href}>
            {i < items.length - 1 ? (
              <a href={item.href}>{item.label}</a>
            ) : (
              <span aria-current="page">{item.label}</span>
            )}
          </li>
        ))}
      </ol>
    </nav>
  );
}

2. Related Pages Component

Build a component that displays links to related pages:

  • Pull related pages from the data layer's getRelatedPages(slug, limit) function
  • Show 3-6 related pages per page
  • Prioritize pages in the same category, then adjacent categories
  • Use the page's H1 or title as anchor text
  • Include a brief description or differentiator for each link

Relatedness signals (in priority order):

  1. Same category
  2. Shared tags or attributes
  3. Similar content type
  4. Alphabetically adjacent (fallback)

3. Hub Pages (Category Landing Pages)

Hub page creation is owned by pseo-templates (section 7). From a linking perspective, ensure every hub page:

  • Links to all child pages in the category (or paginates if >50)
  • Is linked from the homepage or global navigation
  • Has CollectionPage or ItemList schema markup (coordinate with pseo-schema)

4. Cross-Category Linking

Identify and implement cross-category linking opportunities:

  • "See also" sections linking to related pages in other categories
  • Comparison pages that bridge categories
  • Tag-based linking (pages sharing the same tag link to each other)

5. Footer/Sidebar Navigation

Add persistent navigation that links to:

  • All category hub pages
  • Most popular or cornerstone content pages
  • This ensures hubs are reachable from every page (crawl depth = 2)

6. XML Sitemap

Generate a dynamic sitemap that:

  • Includes all pSEO pages with lastmod dates
  • Groups URLs by category using sitemap index
  • Updates automatically when pages are added
  • Handles 1000+ URLs (split into multiple sitemaps at 50,000 limit)
// app/sitemap.ts (Next.js App Router)
export default async function sitemap() {
  const categories = await getAllCategories();
  const entries = [];

  // Hub pages (higher priority)
  for (const cat of categories) {
    entries.push({
      url: `${baseUrl}/${cat.slug}`,
      lastModified: cat.lastModified,
      changeFrequency: "weekly" as const,
      priority: 0.8,
    });
  }

  // Child pages (PageIndex has lastModified)
  for (const cat of categories) {
    const pages = await getPagesByCategory(cat.slug);
    for (const page of pages) {
      entries.push({
        url: `${baseUrl}/${cat.slug}/${page.slug}`,
        lastModified: page.lastModified,
        changeFrequency: "weekly" as const,
        priority: 0.6,
      });
    }
  }

  return entries;
}

7. Redirect Management

At 1000+ pages, slug and URL changes are inevitable. Build a redirect system:

  • Maintain a redirect map (JSON file, database table, or framework config) that maps old paths to new paths
  • All redirects must be 301 (permanent) to preserve link equity
  • When a slug changes, automatically add the old URL to the redirect map
  • When a category is renamed, redirect all child URLs under the old category path
  • Implement a redirect middleware or config that processes the map on every request
  • Validate: no redirect chains (A → B → C), no redirect loops, no redirects to 404s

Next.js pattern:

// next.config.js
async redirects() {
  const map = await loadRedirectMap();
  return map.map(({ source, destination }) => ({
    source,
    destination,
    permanent: true,
  }));
}

Build-time validation:

  • All redirect sources must not match any current live slug
  • All redirect destinations must resolve to a live page
  • Log warnings for redirects older than 12 months (consider removing)

8. robots.txt and AI Crawler Access

Create or update robots.txt to:

  • Allow all pSEO pages for traditional crawlers (Googlebot, Bingbot)
  • Allow AI retrieval crawlers needed for LLM citation (GPTBot, ChatGPT-User, PerplexityBot, ClaudeBot)
  • Optionally block AI training crawlers (Google-Extended, CCBot)
  • Reference both the sitemap and llms.txt
  • Block utility/admin pages

Critical: Blocking Bingbot or GPTBot means zero visibility in ChatGPT. See pseo-llm-visibility for full AI crawler configuration.

9. llms.txt

llms.txt creation is owned by pseo-llm-visibility (section 1). From a linking perspective, ensure llms.txt references all category hub pages and the sitemap. The robots.txt should include a comment pointing to llms.txt.

Link Health Checks

Verify:

  • No orphan pages (every page linked from at least 2 others)
  • Hub pages link to all their child pages
  • Child pages link back to their hub
  • Breadcrumbs are present on every page
  • Related pages section shows 3-6 links
  • No broken internal links (all hrefs resolve to 200)
  • Sitemap includes all public pages
  • Crawl depth from homepage <= 3 for any page
  • Redirect map exists and covers all historical URL changes
  • No redirect chains or loops
  • All redirect destinations resolve to live pages
  • robots.txt allows AI retrieval crawlers (GPTBot, PerplexityBot, ClaudeBot, Bingbot)
  • llms.txt exists at site root with category hubs and page type descriptions

Relationship to Other Skills

  • Depends on: pseo-data (category data, related page queries)
  • Provides to: pseo-schema (breadcrumb items for BreadcrumbList schema)
  • Works with: pseo-templates (linking components are rendered in templates)

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

33.77%
按下载量换算29

Claude

28.26%
按下载量换算25

Cursor

20.47%
按下载量换算18

Gemini CLI

10.54%
按下载量换算9

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills