From mimir-dm
Maps NPC relationships by faction, location, and document references to identify hub characters, isolated NPCs, and missing connections. Useful for 'map NPC relationships' or 'analyze NPC network' queries.
npx claudepluginhub mimir-dm/mimir --plugin mimir-dmThis skill uses the workspace's default tool permissions.
Analyze and visualize relationships between NPCs, their faction affiliations, knowledge networks, and social connections. Identify isolated NPCs, missing connections, and opportunities for richer storytelling.
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Analyze and visualize relationships between NPCs, their faction affiliations, knowledge networks, and social connections. Identify isolated NPCs, missing connections, and opportunities for richer storytelling.
list_characters(character_type: "npc")
# Filter by location or faction for focused analysis:
list_characters(character_type: "npc", location: "Waterdeep")
list_characters(character_type: "npc", faction: "Zhentarim")
# For each NPC:
get_character(character_id: character_id)
Extract from each NPC: name, role, location, faction affiliation, and module assignment.
Read documents to find relationship mentions:
# Campaign-level documents (world lore, session notes)
list_documents() # omit module_id for campaign-level docs
read_document(document_id: document_id)
# Module-level documents
# For each module:
list_documents(module_id: module_id)
read_document(document_id: document_id)
Look for:
Categorize relationships:
| Type | Description |
|---|---|
| Family | Blood relations, marriage |
| Professional | Employer/employee, colleagues |
| Faction | Same organization membership |
| Location | Same place, neighbors |
| Conflict | Enemies, rivals, grudges |
| Secret | Hidden connections players can discover |
| Knowledge | Who knows information about whom |
Identify:
Hub NPCs — Characters with many connections. These are high-value targets for players. Consider: Are they protected? What happens if they die?
Isolated NPCs — Characters with no connections. These represent missed storytelling opportunities. Consider: How do players encounter them?
Faction Clusters — Groups of connected NPCs. Map internal faction dynamics and cross-faction connections.
Information Flow — How does news travel? Who would know if X happened? Trace rumor mill paths.
# NPC Network: [Campaign Name]
## Faction: [Faction Name]
+-- [Leader NPC] (Leader)
| +-- employs -> [NPC]
| +-- rivals -> [NPC from other faction]
+-- [Member NPC]
| +-- siblings -> [NPC]
+-- [Member NPC]
## Location: [Location Name]
+-- [NPC] - [Role]
+-- [NPC] - [Role]
+-- [NPC] - [Role]
## Key Relationships
- [NPC] <-secret lovers-> [NPC]
- [NPC] <-owes debt-> [NPC]
- [NPC] <-seeking revenge-> [NPC]
## Isolated NPCs (No Connections)
- [NPC]: Consider connecting to [suggestion]
## Hub NPCs (4+ Connections)
- [NPC]: [List of connections]
- Risk: High-value target
- Contingency: [Suggestion]
graph TD
A[Lord Mayor] -->|employs| B[Captain of Guard]
A -->|rivals| C[Merchant Prince]
B -->|siblings| D[Innkeeper]
C -->|secret deal| E[Thieves Guild Leader]