
A weighted graph traversal engine that scores your X and LinkedIn connections by how well they bridge to a target list. You feed it a priority set of people or companies, and it runs decay-weighted path analysis to tell you which mutuals offer the strongest warm intro routes versus where you should just go direct. The math is clean: base bridge score plus second-order expansion, adjusted for engagement history. Use this when you need the ranking layer itself, not the full lead-gen or network-pruning workflow that sits on top. Honestly most useful if you're doing systematic outreach at scale and need to prioritize intro asks across a big network.
$ npx -y skills add affaan-m/everything-claude-code --skill social-graph-ranker --agent claude-codeInstalls into .claude/skills of the current project.
Canonical weighted graph-ranking layer for network-aware outreach.
Use this when the user needs to:
lead-intelligence or connections-optimizerChoose this skill when the user primarily wants the ranking engine:
Do not use this by itself when the user really wants:
lead-intelligenceconnections-optimizerCollect or infer:
Given:
T = weighted target setM = your current mutuals / direct connectionsd(m, t) = shortest hop distance from mutual m to target tw(t) = target weight from signal scoringBase bridge score:
B(m) = Σ_{t ∈ T} w(t) · λ^(d(m,t) - 1)
Where:
λ is the decay factor, usually 0.5Second-order expansion:
B_ext(m) = B(m) + α · Σ_{m' ∈ N(m) \\ M} Σ_{t ∈ T} w(t) · λ^(d(m',t))
Where:
N(m) \\ M is the set of people the mutual knows that you do notα discounts second-order reach, usually 0.3Response-adjusted final ranking:
R(m) = B_ext(m) · (1 + β · engagement(m))
Where:
engagement(m) is normalized responsiveness or relationship strengthβ is the engagement bonus, usually 0.2Interpretation:
R(m) and direct bridge paths -> warm intro asksR(m) and one-hop bridge paths -> conditional intro asksR(m) or no viable bridge -> direct outreach or follow-gap fillWeight targets before graph traversal with whatever matters for the current priority set:
Weight mutuals after traversal with:
R(m).SOCIAL GRAPH RANKING
====================
Priority Set:
Platforms:
Decay Model:
Top Bridges
- mutual / connection
base_score:
extended_score:
best_targets:
path_summary:
recommended_action:
Conditional Paths
- mutual / connection
reason:
extra hop cost:
No Warm Path
- target
recommendation: direct outreach / fill graph gap
lead-intelligence uses this ranking model inside the broader target-discovery and outreach pipelineconnections-optimizer uses the same bridge logic when deciding who to keep, prune, or addbrand-voice should run before drafting any intro request or direct outreachx-api provides X graph access and optional execution pathsSponsors