Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问clear审计未展示

link-entities链接实体

Agent Skill

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

总安装

192

周安装

8

GitHub Stars

公开资料未说明

下载量

64
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

AgentSkills.tonpx skills
npx skills add hopeoverture/worldbuilding-system --skill "link-entities"

简介

link-entities 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词快速定位候选结果时使用。

  • 适用于研究检索类任务,支持基于关键词、任务场景或来源线索进行信息筛选。
  • 通过 npx skills add hopeoverture/worldbuilding-system --skill "link-entities" 安装使用。
  • 安装前建议确认权限范围和维护状态,注意可能触发联网或文件读写操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Link Entities

Link entities: $ARGUMENTS

Overview

Creates bidirectional wikilinks between entities to ensure proper interconnection. Can operate in:

  1. Manual mode: Link two specific entities
  2. Auto mode: Scan a world and suggest missing connections

Instructions

Parse Arguments

  • [entity1] [entity2] → Manual linking between two entities
  • auto [world name] → Auto-detect and suggest missing links for a world
  • [entity1] to [entity2] → Manual with explicit relationship
  • [entity] alone → Show what this entity could connect to

Manual Linking Mode

Step 1: Locate Both Entities

  1. Search Worlds/ for each entity name
  2. If ambiguous, ask for clarification
  3. Read both entity files

Step 2: Determine Relationship Type

Based on entity types, suggest appropriate relationship:

Entity AEntity BA Links to B AsB Links to A As
CharacterSettlementLocation/HomeNotable NPCs/Residents
CharacterOrganizationMember OfMembers
CharacterCharacterAlly/Rival/FamilyAlly/Rival/Family
SettlementRegionPart OfContains/Settlements
SettlementOrganizationHostsHeadquarters/Presence
OrganizationOrganizationAllied With/RivalsAllied With/Rivals
GeographyGeographyPart Of/BordersContains/Borders
CharacterDeityWorshipsFollowers
ItemCharacterOwned ByEquipment/Possessions
CreatureGeographyHabitatNative Creatures
EventLocationOccurred AtHistorical Events

Ask user to confirm or specify the relationship:

"I'll link [[Entity A]] and [[Entity B]]. Suggested relationship: - A references B as: [suggested category] - B references A as: [suggested category] Is this correct, or would you prefer a different relationship?"

Step 3: Add Links to Both Entities

  1. Read Entity A:

- Find Connections section - Identify appropriate subsection - Check if link already exists

  1. Add Link to Entity A:

- If subsection exists, append [[Entity B]] - If subsection doesn't exist, create it with link - Use Edit tool

  1. Read Entity B:

- Find Connections section - Identify appropriate subsection (reciprocal)

  1. Add Link to Entity B:

- If subsection exists, append [[Entity A]] - If subsection doesn't exist, create it with link

Step 4: Confirm

=== LINKS CREATED ===

[[Entity A]] → [[Entity B]]
Added to: Connections > [Category]

[[Entity B]] → [[Entity A]]
Added to: Connections > [Category]

Both entities now reference each other.

Auto Mode

Step 1: Scan World

  1. Build entity index from Worlds/[World Name]/
  2. For each entity, extract:

- All [[wikilinks]] in content - All [[wikilinks]] in Connections section - Entity type from YAML or folder

Step 2: Build Connection Graph

Create adjacency list:

Entity A → [Entity B, Entity C, ...]
Entity B → [Entity D, ...]
...

Step 3: Identify Missing Links

Check for:

  1. One-way links: A links to B, but B doesn't link to A
  2. Implied connections:

- Two characters in same organization should know each other - Settlements in same region should reference region - Organization headquarters should reference organization

  1. Orphan entities: Entities with no incoming links

Step 4: Present Suggestions

=== CONNECTION ANALYSIS: [World Name] ===

One-Way Links Found: X
Suggested New Links: Y
Orphan Entities: Z

HIGH PRIORITY (One-Way Links):
1. [[Character A]] → [[City B]] but City B doesn't link back
   Suggestion: Add Character A to City B's "Notable NPCs"

2. [[Organization X]] → [[Settlement Y]] but Settlement Y doesn't link back
   Suggestion: Add Organization X to Settlement Y's "Organizations"

SUGGESTED CONNECTIONS:
3. [[Character C]] and [[Character D]] are both in [[Organization Z]]
   Suggestion: Link them as "Associates" or "Fellow Members"

4. [[Settlement E]] and [[Settlement F]] are both in [[Region G]]
   Suggestion: Link them as "Nearby Settlements"

ORPHAN ENTITIES (no incoming links):
- [[Forgotten NPC]] - Consider linking from their location
- [[Lonely Mountain]] - Consider linking from parent region

Would you like me to:
1. Fix all one-way links automatically
2. Add all suggested connections
3. Review each suggestion individually
4. Just fix specific items (enter numbers)

Step 5: Apply Fixes

For each approved fix:

  1. Read source entity
  2. Add link in appropriate section
  3. Read target entity
  4. Add reciprocal link
  5. Track changes made

Step 6: Summary

=== LINKING COMPLETE ===

Changes Made:
- Fixed X one-way links
- Added Y new bidirectional connections
- Orphans addressed: Z

Entities Modified: [list]

Connection Density:
- Before: Average X.X links per entity
- After: Average Y.Y links per entity

Remaining Issues:
- [List any unresolved items]

Connection Section Formats

When adding to Connections section, use these formats:

Character Connections

## Connections

### People
- **Allies:** [[Ally 1]], [[Ally 2]]
- **Rivals:** [[Rival 1]]
- **Family:** [[Family Member]]

### Organizations
- **Member Of:** [[Organization]]
- **Enemies:** [[Enemy Org]]

### Locations
- **Home:** [[Settlement]]
- **Frequents:** [[Tavern]], [[Shop]]

Settlement Connections

## Connections

### Geography
- **Region:** [[Parent Region]]
- **Nearby:** [[Nearby Settlement]]

### People
- **Ruler:** [[Ruler Name]]
- **Notable NPCs:** [[NPC 1]], [[NPC 2]]

### Organizations
- **Based Here:** [[Org 1]], [[Org 2]]
- **Influence:** [[Distant Org]]

Organization Connections

## Connections

### Structure
- **Headquarters:** [[Settlement]]
- **Branches:** [[Location 1]], [[Location 2]]

### People
- **Leader:** [[Leader Name]]
- **Notable Members:** [[Member 1]], [[Member 2]]

### Relationships
- **Allies:** [[Allied Org]]
- **Rivals:** [[Rival Org]]

Examples

# Link two specific entities
/link-entities "Grom the Blacksmith" "Ironhold City"

# Auto-detect missing links
/link-entities auto Eldoria

# Show potential connections for one entity
/link-entities "The Iron Guild"

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

mcpjam

28.06%
按下载量换算18

Claude Code

23.35%
按下载量换算15

windsurf

19.7%
按下载量换算13

zencoder

13.01%
按下载量换算8

crush

9.19%
按下载量换算6

cline

3.34%
按下载量换算2

安全审计

暂无安全审计结果可展示。

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

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

来源信息

继续浏览同类 Skills