map-relationships
SKILL.md
Map Relationships
Map relationships for: $ARGUMENTS
Overview
Analyzes an entity and its connections, then:
- Visualizes existing relationships as a network
- Identifies missing or underdeveloped connections
- Suggests new relationships to add depth
- Creates relationship detail for existing links
- Generates NPCs to fill network gaps
- Documents secrets, debts, and hidden dynamics
Instructions
Step 1: Locate the Entity
- Parse
$ARGUMENTSfor entity name or path - Search across world folders:
- Characters
- Organizations
- Settlements
- Any entity type can have relationships
- Read the entity file completely
- Identify the world it belongs to
Step 2: Scan for Existing Connections
- Extract all wikilinks from the entity file
- Read each linked entity to understand the relationship
- Check for reciprocal links (does the linked entity link back?)
- 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 Type | Suggested NPC | Relationship |
|---|---|---|
| No family | Parent/Sibling | Blood relation |
| No mentor | Older professional | Taught them skills |
| No rival | Peer competitor | Professional jealousy |
| No enemy | Wronged party | Seeks revenge |
| No love interest | Appropriate match | Romantic potential |
| No friend | Trusted confidant | Personal support |
| No secret | Hidden contact | Clandestine dealings |
For Organizations:
| Gap Type | Suggested Entity | Relationship |
|---|---|---|
| No rival | Competing org | Same space, different approach |
| No ally | Complementary org | Mutual benefit |
| No enemy | Opposing org | Fundamental conflict |
| No patron | Powerful backer | Funding/protection |
| No front | Legitimate cover | For illegal activities |
| No target | Victim org | Object of schemes |
For Settlements:
| Gap Type | Suggested Entity | Relationship |
|---|---|---|
| No rival city | Nearby settlement | Competition for resources |
| No ally | Trading partner | Economic interdependence |
| No threat | Enemy power | External danger |
| No protector | Military force | Defense 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:
- Read appropriate character template
- 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
- Save to Characters folder
- 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
- Add relationship sections to entity file
- Update each linked entity with reciprocal information
- Create new NPC files for generated characters
- Add relationship notes to relevant organization files
- 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
- Bidirectionality - Every relationship links both ways
- Asymmetry - People often feel differently about each other
- History - Relationships have origins and evolution
- Secrets - Most relationships have hidden elements
- Tension - Even allies have friction points
- Stakes - Relationships matter to the characters
- 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
Weekly Installs
2
Repository
hopeoverture/wo…g-systemFirst Seen
Jan 26, 2026
Installed on
mcpjam2
neovate2
gemini-cli2
antigravity2
windsurf2
zencoder2