social-graph-ranker
affaan-m/everything-claude-code
Weighted graph-ranking engine for discovering warm intro paths and scoring bridge value across X and LinkedIn.
What is social-graph-ranker?
Social Graph Ranker computes bridge scores across your network to identify the best people to request warm introductions from, measure connection value to targets, and detect network gaps. Use this when you need the standalone ranking algorithm, not the broader lead generation or network maintenance workflows.
- Rank existing connections by intro value to target people or companies
- Map warm paths from your network to target lists using hop distance and decay
- Score bridge value across first- and second-order connections
- Identify network gaps where no warm path exists to high-priority targets
- Weight targets by role, industry, geography, activity, and responsiveness signals
- Adjust final rankings by mutual engagement and relationship strength
How to install social-graph-ranker
npx skills add https://github.com/affaan-m/everything-claude-code --skill social-graph-rankerHow to use social-graph-ranker
- 1.Define your target set (people, companies, or ICP criteria) and assign weights based on role, industry, geography, and other priorities
- 2.Provide your current graph from X, LinkedIn, or both platforms
- 3.Configure weighting priorities: decay factor (typically 0.5), second-order discount (typically 0.3), and engagement bonus (typically 0.2)
- 4.Run the ranking algorithm to compute bridge scores for all connections
- 5.Review output tiers: Tier 1 for warm intro asks, Tier 2 for conditional paths, Tier 3 for direct outreach or gap-fill
Use cases
- Identify which of your connections can best introduce you to a specific person or company
- Decide between warm intro requests versus direct cold outreach for a target list
- Understand the graph math behind network-aware outreach independently
- Map your network against an ICP and find the strongest bridge paths
- Discover second-order connection opportunities when direct paths don't exist
- Sales and business development professionals managing warm outreach
- Founders and operators building strategic relationships
- Recruiters mapping talent networks
- Anyone conducting network-aware prospecting or partnership discovery
social-graph-ranker FAQ
Use this skill when you need the ranking engine itself. Use lead-intelligence for full lead generation and outbound sequencing, or connections-optimizer for pruning and growing your network.
Bridge score measures how well a mutual can reach your target set, accounting for path distance (each hop halves value), second-order reach through their network, and their responsiveness or relationship strength.
Weight targets before graph traversal using signals like role alignment, company fit, activity recency, geography, influence, and likelihood of response.
You get ranked lists of top bridges with scores and recommended actions, conditional paths with extra hop costs, and identified gaps where no warm path exists.
Yes, the skill works with X, LinkedIn, or both platforms combined.
Full instructions (SKILL.md)
Source of truth, from affaan-m/everything-claude-code.
name: social-graph-ranker description: Weighted social-graph ranking for warm intro discovery, bridge scoring, and network gap analysis across X and LinkedIn. Use when the user wants the reusable graph-ranking engine itself, not the broader outreach or network-maintenance workflow layered on top of it. metadata: origin: ECC
Social Graph Ranker
Canonical weighted graph-ranking layer for network-aware outreach.
Use this when the user needs to:
- rank existing mutuals or connections by intro value
- map warm paths to a target list
- measure bridge value across first- and second-order connections
- decide which targets deserve warm intros versus direct cold outreach
- understand the graph math independently from
lead-intelligenceorconnections-optimizer
When To Use This Standalone
Choose this skill when the user primarily wants the ranking engine:
- "who in my network is best positioned to introduce me?"
- "rank my mutuals by who can get me to these people"
- "map my graph against this ICP"
- "show me the bridge math"
Do not use this by itself when the user really wants:
- full lead generation and outbound sequencing -> use
lead-intelligence - pruning, rebalancing, and growing the network -> use
connections-optimizer
Inputs
Collect or infer:
- target people, companies, or ICP definition
- the user's current graph on X, LinkedIn, or both
- weighting priorities such as role, industry, geography, and responsiveness
- traversal depth and decay tolerance
Core Model
Given:
T= weighted target setM= your current mutuals / direct connectionsd(m, t)= shortest hop distance from mutualmto targettw(t)= target weight from signal scoring
Base bridge score:
B(m) = Σ_{t ∈ T} w(t) · λ^(d(m,t) - 1)
Where:
λis the decay factor, usually0.5- a direct path contributes full value
- each extra hop halves the contribution
Second-order expansion:
B_ext(m) = B(m) + α · Σ_{m' ∈ N(m) \\ M} Σ_{t ∈ T} w(t) · λ^(d(m',t))
Where:
N(m) \\ Mis the set of people the mutual knows that you do notαdiscounts second-order reach, usually0.3
Response-adjusted final ranking:
R(m) = B_ext(m) · (1 + β · engagement(m))
Where:
engagement(m)is normalized responsiveness or relationship strengthβis the engagement bonus, usually0.2
Interpretation:
- Tier 1: high
R(m)and direct bridge paths -> warm intro asks - Tier 2: medium
R(m)and one-hop bridge paths -> conditional intro asks - Tier 3: low
R(m)or no viable bridge -> direct outreach or follow-gap fill
Scoring Signals
Weight targets before graph traversal with whatever matters for the current priority set:
- role or title alignment
- company or industry fit
- current activity and recency
- geographic relevance
- influence or reach
- likelihood of response
Weight mutuals after traversal with:
- number of weighted paths into the target set
- directness of those paths
- responsiveness or prior interaction history
- contextual fit for making the intro
Workflow
- Build the weighted target set.
- Pull the user's graph from X, LinkedIn, or both.
- Compute direct bridge scores.
- Expand second-order candidates for the highest-value mutuals.
- Rank by
R(m). - Return:
- best warm intro asks
- conditional bridge paths
- graph gaps where no warm path exists
Output Shape
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
Related Skills
lead-intelligenceuses this ranking model inside the broader target-discovery and outreach pipelineconnections-optimizeruses the same bridge logic when deciding who to keep, prune, or addbrand-voiceshould run before drafting any intro request or direct outreachx-apiprovides X graph access and optional execution paths
Related skills
More from affaan-m/everything-claude-code and the wider catalog.

security-review
Security checklist and patterns for authentication, input validation, secrets, and sensitive features.

golang-patterns
Idiomatic Go patterns, best practices, and conventions for building robust, efficient, and maintainable applications.

coding-standards
Baseline coding conventions for naming, readability, immutability, and quality across projects.

frontend-patterns
React and Next.js patterns for components, state management, performance, and modern frontend practices.

backend-patterns
REST/GraphQL API design, database optimization, and server-side patterns for Node.js, Express, and Next.js.

golang-testing
Go testing patterns: table-driven tests, subtests, benchmarks, fuzzing, and TDD methodology.