map-relationships

map-relationships is a command for Claude Code from frankxai/Starlight-Intelligence-System. It costs 59 tokens per session (2,298 once invoked), scanned A, original, MIT.

A structured map of a person's professional relationships, including relationship types, strengths, gaps, possible alliances, and contact routines. It is designed for a human network, not a network of software agents.

In plain words
What is it for?
Use it to review a roster of at least 20 work-related people, identify important relationship gaps and leverage points, and plan weekly, monthly, and quarterly follow-up.
Why use it?
It turns an unstructured list of contacts into a practical view of where support, collaboration, or investment may be missing.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the starlight-intelligence-system plugin — 5 skills, 121 commands, 7 agents shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/frankxai/starlight-intelligence-system/map-relationships
Clone the repo
git clone --depth 1 https://github.com/frankxai/Starlight-Intelligence-System

Made for: Claude Code.

Or install starlight-intelligence-system, the plugin that ships this one along with the rest of its 5 skills, 121 commands, 7 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for map-relationships

README.md
[![agentmods](https://agentmods.dev/badge/commands/frankxai/starlight-intelligence-system/map-relationships.svg)](https://agentmods.dev/commands/frankxai/starlight-intelligence-system/map-relationships)
Your own site
<a href="https://agentmods.dev/commands/frankxai/starlight-intelligence-system/map-relationships"><img src="https://agentmods.dev/badge/commands/frankxai/starlight-intelligence-system/map-relationships.svg" alt="Measured on agentmods" height="20"></a>
Per session 59 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,298 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00059 $0.02298
Opus 5 $0.00030 $0.01149
Sonnet 5 $0.00012 $0.00460
Haiku 4.5 $0.00006 $0.00230

Measured 6d ago against content hash 524098f5c9b8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

map-relationships scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/map-relationships.md · 177 lines

How it starts

The opening of the file, as written. The whole thing — 177 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/map-relationships

Load SIP.md, ALLIANCE.md, VOICES.md, agents/starlight-relational.md, skills/relational/network-architecture.md. Map the person's network into a living architecture with audit, gaps, leverage points, alliance candidates (surfaced only — not forged), investment plan, and cadence. Personal. Never public.

Input

$ARGUMENTS

Process

  1. Ingest. Identify the person. Collect the initial roster of 20–40 names from $ARGUMENTS. If fewer than 20 names are provided, halt and return:

    "Need at least 20 named people in your work year to architect a network. Anything less is an abstraction. Start here: who did you interact with on work this week? This month? This quarter? Build the list up from there. Come back when you have 20+ names."

    Do not proceed without a real inventory.

  2. Sort by type. Assign every name exactly one relationship type: peer, mentor, mentee, client, collaborator, family, acquaintance. Overlaps collapse to the dominant type for this person's work right now. Name each person's one-line context (how they know the person) and most recent interaction.

  3. Strength audit. For every name, capture: frequency of contact (weekly / monthly / quarterly / yearly / dormant), depth of trust (high / medium / low), value flow direction (compounds / drains / balanced / one-way gift). If zero drains surface, re-audit — real networks have at least one.

  4. Leverage identification. Name the top 3–5 compounding leverage points. Introduction graph, referral flows, collaboration compounding, expertise borrowing. Specific, not generic.

  5. Gap-scan. Name missing roles as concrete archetypes (not abstractions). Examples: "no mentor in [named domain]", "no peer at current stage", "no mentee", "no protocol-defender voice in the network", "no collaborator with skill X." Each gap becomes a specific search, not a wish.

  6. Alliance-surface (pre-filter only). From compounding relationships only, flag candidates where all four forging conditions (ALLIANCE.md) could hold. Surface names; do not forge. For each surfaced candidate, recommend /design-alliance-readiness <candidate-name> as the next step. Most architectures surface 0–1 candidates. Zero is valid.

Read the full file on GitHub · 177 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 177 lines · 59 tokens per session scan A 524098f5c9b8

Subscribe to this mod's changes

map-relationships is a command published in the GitHub repository frankxai/Starlight-Intelligence-System (8 stars, last pushed yesterday), licensed MIT. It adds 59 tokens to every session and 2,298 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.