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

map-relationships映射关系

Agent Skill

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

总安装

188

周安装

8

GitHub Stars

公开资料未说明

下载量

66
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

AgentSkills.tonpx skills
npx skills add hopeoverture/worldbuilding-system --skill "map-relationships"

简介

用于发现并安装 AI 代理的技能,支持基于关键词的任务匹配。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中扩展 Agent 能力。
  • 安装命令:npx skills add hopeoverture/worldbuilding-system --skill "map-relationships"。
  • 使用前需确认仓库维护状态及技能是否依赖外部网络或命令执行。
  • 建议查看原始 README 了解具体搜索逻辑和返回格式。

SKILL.md

Map Relationships

Map relationships for: $ARGUMENTS

Overview

Analyzes an entity and its connections, then:

  1. Visualizes existing relationships as a network
  2. Identifies missing or underdeveloped connections
  3. Suggests new relationships to add depth
  4. Creates relationship detail for existing links
  5. Generates NPCs to fill network gaps
  6. Documents secrets, debts, and hidden dynamics

Instructions

Step 1: Locate the Entity

  1. Parse $ARGUMENTS for entity name or path
  2. Search across world folders:

- Characters - Organizations - Settlements - Any entity type can have relationships

  1. Read the entity file completely
  2. Identify the world it belongs to

Step 2: Scan for Existing Connections

  1. Extract all wikilinks from the entity file
  2. Read each linked entity to understand the relationship
  3. Check for reciprocal links (does the linked entity link back?)
  4. Categorize relationships by type

Relationship Types:

  • Family: Parent, child, sibling, spouse, extended
  • Professional: Employer, employee, colleague, rival
  • Social: Friend, acquaintance, enemy
  • Romantic: Partner, lover, ex, unrequited
  • Political: Ally, rival, vassal, lord
  • Economic: Debtor, creditor, business partner
  • Religious: Mentor, follower, heretic
  • Secret: Hidden connection, blackmailer, conspirator

Step 3: Build Relationship Map

Present the current network:

=== RELATIONSHIP MAP: [Entity Name] ===

Type: [Character/Organization/Settlement]
World: [[World Name]]

CURRENT CONNECTIONS: [X] entities

┌─────────────────────────────────────────┐
│           RELATIONSHIP WEB              │
├─────────────────────────────────────────┤
│                                         │
│           ┌──────────────┐              │
│           │              │              │
│   [[A]]───┤  [ENTITY]    ├───[[B]]      │
│   (ally)  │              │   (enemy)    │
│           └──────┬───────┘              │
│                  │                      │
│             [[C]] (family)              │
│                                         │
└─────────────────────────────────────────┘

CATEGORIZED CONNECTIONS:

Family & Blood:
- [[Name]] - [Relationship] [↔ reciprocal / → one-way]

Professional & Political:
- [[Name]] - [Relationship] [↔ / →]

Social & Personal:
- [[Name]] - [Relationship] [↔ / →]

Enemies & Rivals:
- [[Name]] - [Relationship] [↔ / →]

Organizations:
- [[Org]] - [Member/Leader/etc.] [↔ / →]

Locations:
- [[Place]] - [Connection type] [↔ / →]

NETWORK ANALYSIS:

Strengths:
- [Well-connected to organizations]
- [Strong family network]

Gaps Identified:
- No romantic connections defined
- Missing enemy/rival relationships
- Lacks connection to [[Important Entity]]
- One-way links need reciprocation

Suggested Expansions:
1. Add [relationship type] to [entity/new NPC]
2. Create [type] NPC to fill [gap]
3. Develop existing connection to [[Entity]]

Step 4: Relationship Detail Template

For each significant relationship, create or expand detail:

### [[Related Entity Name]]

**Relationship Type:** [Category from above]
**Status:** [Active/Strained/Broken/Complicated/Secret]
**Duration:** [How long this has existed]
**Origin:** [How the relationship started]

**From [Entity]'s Perspective:**
- [How they view the other]
- [What they want from the relationship]
- [What they'd do for/against them]

**From [[Related Entity]]'s Perspective:**
- [How they view the entity]
- [What they want]
- [Their commitment level]

**History:**
- [Key moment 1 that shaped the relationship]
- [Key moment 2]
- [Recent development]

**Secrets:**
- [What [Entity] hides from them]
- [What they hide from [Entity]]
- [What neither knows]

**Tension Points:**
- [Source of conflict 1]
- [Potential future conflict]

**Adventure Hooks:**
- [How PCs might encounter this relationship]
- [How this could become a quest]

Step 5: Generate Missing Connections

Based on entity type, suggest and create appropriate relationships:

For Characters:

Gap TypeSuggested NPCRelationship
No familyParent/SiblingBlood relation
No mentorOlder professionalTaught them skills
No rivalPeer competitorProfessional jealousy
No enemyWronged partySeeks revenge
No love interestAppropriate matchRomantic potential
No friendTrusted confidantPersonal support
No secretHidden contactClandestine dealings

For Organizations:

Gap TypeSuggested EntityRelationship
No rivalCompeting orgSame space, different approach
No allyComplementary orgMutual benefit
No enemyOpposing orgFundamental conflict
No patronPowerful backerFunding/protection
No frontLegitimate coverFor illegal activities
No targetVictim orgObject of schemes

For Settlements:

Gap TypeSuggested EntityRelationship
No rival cityNearby settlementCompetition for resources
No allyTrading partnerEconomic interdependence
No threatEnemy powerExternal danger
No protectorMilitary forceDefense relationship

Step 6: Relationship Intensity Scale

Document the strength of each relationship:

## Relationship Intensity

| Entity | Type | Intensity | Direction | Notes |
|--------|------|-----------|-----------|-------|
| [[A]] | Ally | ████░ (4/5) | Mutual | Would die for each other |
| [[B]] | Rival | ███░░ (3/5) | Mutual | Competitive but respectful |
| [[C]] | Enemy | █████ (5/5) | One-way | C doesn't know they're hated |
| [[D]] | Family | ██░░░ (2/5) | Mutual | Estranged, rarely speak |
| [[E]] | Lover | ████░ (4/5) | Uncertain | E's feelings unknown |

### Intensity Scale:
- █░░░░ (1/5): Acquaintance, minimal investment
- ██░░░ (2/5): Casual, some interaction
- ███░░ (3/5): Significant, regular interaction
- ████░ (4/5): Deep, major life influence
- █████ (5/5): Defining, would kill/die for

Step 7: Power Dynamics

Analyze who has power over whom:

## Power Dynamics

### [Entity] Has Power Over:
| Target | Type of Power | Leverage |
|--------|---------------|----------|
| [[A]] | Economic | Owes significant debt |
| [[B]] | Political | Controls their appointment |
| [[C]] | Secret | Knows compromising information |
| [[D]] | Emotional | Loved one's loyalty |

### Others Have Power Over [Entity]:
| Source | Type of Power | Leverage |
|--------|---------------|----------|
| [[X]] | Economic | Controls their income |
| [[Y]] | Political | Could expose crimes |
| [[Z]] | Social | Reputation depends on them |

### Mutual Power Balance:
| Entity | Their Power | [Entity]'s Power | Balance |
|--------|-------------|------------------|---------|
| [[M]] | [Leverage] | [Counter-leverage] | Even |
| [[N]] | [Leverage] | [Counter-leverage] | N favored |

Step 8: Secrets & Hidden Relationships

Document what's not publicly known:

## Hidden Relationships

### Secret Allies
- [[Hidden Ally]]: [Why it's secret, what they do]

### Secret Enemies
- [[Hidden Enemy]]: [Why it's secret, their plot]

### Secret Connections
- [[Secret Contact]]: [Nature of secret relationship]

### Things [Entity] Knows
| About | Secret | Would Use? |
|-------|--------|------------|
| [[A]] | [What they know] | [Yes/No - why] |
| [[B]] | [What they know] | [Yes/No - why] |

### Things Others Know About [Entity]
| Who Knows | Secret | Threat Level |
|-----------|--------|--------------|
| [[X]] | [The secret] | [High/Medium/Low] |
| [[Y]] | [The secret] | [High/Medium/Low] |

### Unknown Connections
Things no one knows yet that could be revealed:
- [Potential reveal 1]
- [Potential reveal 2]

Step 9: Debts & Obligations

Track what's owed:

## Debts & Obligations

### [Entity] Owes
| To Whom | Type | Details | Due |
|---------|------|---------|-----|
| [[A]] | Gold | [Amount] | [When] |
| [[B]] | Favor | [Description] | [Open] |
| [[C]] | Life debt | [Circumstance] | [Never paid] |
| [[D]] | Promise | [What was promised] | [Condition] |

### Owed to [Entity]
| From Whom | Type | Details | Collectible? |
|-----------|------|---------|--------------|
| [[X]] | Gold | [Amount] | [Yes/No] |
| [[Y]] | Service | [Description] | [When convenient] |
| [[Z]] | Honor debt | [Circumstance] | [Must respond if called] |

### Contested Debts
- [[Party]]: [What's disputed and why]

Step 10: Relationship History Timeline

## Relationship Timeline

| Year/Age | Event | With | Impact |
|----------|-------|------|--------|
| [Early] | [First meeting with [[A]]] | [[A]] | Began friendship |
| [Time] | [Conflict with [[B]]] | [[B]] | Created rivalry |
| [Time] | [Married [[C]]] | [[C]] | Gained family connections |
| [Time] | [Betrayed by [[D]]] | [[D]] | Trust broken |
| [Recent] | [Alliance with [[E]]] | [[E]] | New ally |
| [Current] | [Tension with [[F]]] | [[F]] | Relationship strained |

### Turning Points
- **[Event 1]:** Changed relationship with [[Entity]] from [before] to [after]
- **[Event 2]:** Changed relationship with [[Entity]] from [before] to [after]

Step 11: Generate New NPCs

For each identified gap, create NPCs:

  1. Read appropriate character template
  2. Generate with:

- Relationship to central entity clearly defined - Their own goals and personality (not just a relationship prop) - At least one other connection in the world - Potential for story development

  1. Save to Characters folder
  2. Update both entity files with bidirectional links

Step 12: Create Relationship Diagram File

For complex webs, create a dedicated file:

# Relationships of [Entity Name]

*This file maps the social network around [[Entity Name]].*

## Visual Map
[Text-based diagram or description for Obsidian graph view]

## Primary Circle
[5-8 most important relationships]

## Secondary Circle
[Extended network]

## Hostile Network
[Enemies and their allies]

## Hidden Network
[Secret connections]

## Historical Connections
[Past relationships, deceased or estranged]

Step 13: Update All Connected Entities

  1. Add relationship sections to entity file
  2. Update each linked entity with reciprocal information
  3. Create new NPC files for generated characters
  4. Add relationship notes to relevant organization files
  5. Cross-reference in settlement files where relevant

Step 14: Summary Report

=== RELATIONSHIP MAPPING COMPLETE: [Entity Name] ===

Network Analysis:

EXISTING CONNECTIONS: [X]
- Family: [X]
- Professional: [X]
- Social: [X]
- Political: [X]
- Romantic: [X]
- Secret: [X]

RECIPROCAL LINKS: [X/Y] fixed

NEW CONNECTIONS CREATED: [X]
- [[NPC 1]] - [Relationship type]
- [[NPC 2]] - [Relationship type]
- [[NPC 3]] - [Relationship type]

RELATIONSHIP DETAILS ADDED:
- [[Entity A]] - History and dynamics documented
- [[Entity B]] - History and dynamics documented

POWER DYNAMICS MAPPED:
- [Entity] has leverage over [X] entities
- [Y] entities have leverage over [Entity]
- [Z] mutual relationships

SECRETS DOCUMENTED:
- [X] secret relationships
- [Y] hidden knowledge entries
- [Z] blackmail opportunities

DEBTS TRACKED:
- [X] owed by Entity
- [Y] owed to Entity

Timeline: [X] events documented

Files Updated: [X]
Files Created: [X]

Network Density:
- Before: [X] connections
- After: [Y] connections
- Increase: [Z]%

Suggested Next Steps:
- Develop [[NPC]]'s story further
- Create encounter using [[Enemy]] relationship
- Explore [[Secret]] as adventure hook
- Map relationships for [[Connected Entity]]

Quality Guidelines

  1. Bidirectionality - Every relationship links both ways
  2. Asymmetry - People often feel differently about each other
  3. History - Relationships have origins and evolution
  4. Secrets - Most relationships have hidden elements
  5. Tension - Even allies have friction points
  6. Stakes - Relationships matter to the characters
  7. Playability - Relationships create adventure hooks

Examples

# Map a character's relationships
/map-relationships "Lord Varic Valdren"

# Map with path
/map-relationships Worlds/Eldermyr/Characters/Lady Seren.md

# Map an organization's relationships
/map-relationships "The Merchant's Guild"

# Focus on specific relationship type
/map-relationships "Captain Thorne" --focus enemies

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

mcpjam

29.84%
按下载量换算20

Claude Code

22.77%
按下载量换算15

windsurf

16.53%
按下载量换算11

zencoder

11.74%
按下载量换算8

crush

7.57%
按下载量换算5

cline

3.44%
按下载量换算2

安全审计

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

权限和风险

external-service

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

安装前确认

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

来源信息

继续浏览同类 Skills