Communitygithub.com

社交图谱排序器

加权社交图谱排序,用于发现暖介绍路径、桥接评分以及X和LinkedIn上的网络缺口分析。当用户需要可复用的图谱排序引擎本身,而非其上层的更广泛的外展或网络维护工作流时使用。

社交图谱排序器 是什么?

社交图谱排序器是一个专业的加权图谱排名层,旨在优化基于网络的外展策略。它根据桥接价值对用户网络中的联系人或共同联系人进行排名,计算通往目标(人员、公司或理想客户画像)的最短路径,并应用衰减因子和参与度系数来生成最终排名。该技能独立于更广泛的潜在客户开发或网络优化工作流,专注于图谱数学计算。支持X和LinkedIn平台,通过分析直接和二阶连接来识别最有效的暖介绍路径,并推荐最佳的行动方案。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/affaan-m/everything-claude-code/tree/main/skills/social-graph-ranker

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

社交图谱排序器 是做什么的?

网络感知外展的规范加权图谱排名层。

当用户需要以下功能时使用此技能:

  • 按介绍价值对现有的共同联系或人脉进行排名
  • 绘制通往目标列表的温暖路径
  • 衡量跨一级和二级连接的桥接价值
  • 决定哪些目标值得通过暖介绍而非直接的冷外联
  • 与 lead-intelligence 或 connections-optimizer 无关地理解图谱数学

何时独立使用

当用户主要需要排序引擎时选择此技能:

  • “我的网络中谁最适合介绍我?”
  • “按谁能让我接触到这些人对我的共同联系进行排名”
  • “针对此 ICP 绘制我的图谱”
  • “向我展示桥接数学”

当用户真正需要以下功能时,请勿单独使用此技能:

  • 完整的潜在客户生成和外展序列 -> 使用 lead-intelligence
  • 网络修剪、再平衡和增长 -> 使用 connections-optimizer

输入

收集或推断:

  • 目标人员、公司或 ICP 定义
  • 用户在 X、LinkedIn 或两者上的当前图谱
  • 权重优先级,如角色、行业、地域和响应能力
  • 遍历深度和衰减容限

核心模型

给定:

  • T = 加权目标集合
  • M = 你当前的共同联系 / 直接连接
  • d(m, t) = 从共同联系 m 到目标 t 的最短跳数
  • w(t) = 来自信号评分的目标权重

基础桥接分数:

B(m) = Σ_{t ∈ T} w(t) · λ^(d(m,t) - 1)

其中:

  • λ 是衰减因子,通常为 0.5
  • 直接路径贡献全部价值
  • 每增加一跳,贡献减半

二阶扩展:

B_ext(m) = B(m) + α · Σ_{m' ∈ N(m) \\ M} Σ_{t ∈ T} w(t) · λ^(d(m',t))

其中:

  • N(m) \\ M 是共同联系认识但你却不认识的人组成集合
  • α 折扣二阶可达性,通常为 0.3

根据响应调整后的最终排名:

R(m) = B_ext(m) · (1 + β · engagement(m))

其中:

  • engagement(m) 是标准化后的响应能力或关系强度
  • β 是参与度奖励,通常为 0.2

解释:

  • 第一梯队:高 R(m) 和直接桥接路径 -> 请求暖介绍
  • 第二梯队:中等 R(m) 和一跳桥接路径 -> 有条件地请求介绍
  • 第三梯队:低 R(m) 或没有可行的桥接 -> 直接外联或填补图谱缺口

评分信号

在图谱遍历之前,根据当前优先级对目标进行加权:

  • 角色或职位匹配度
  • 公司或行业契合度
  • 当前活跃度和近况
  • 地域相关性
  • 影响力或触达范围
  • 回复可能性

在图谱遍历之后,对共同联系进行加权:

  • 进入目标集合的加权路径数量
  • 这些路径的直达性
  • 响应能力或之前的互动历史
  • 牵线搭桥的情境契合度

工作流程

  1. 构建加权目标集合。
  2. 从 X、LinkedIn 或两者中拉取用户的图谱。
  3. 计算直接桥接分数。
  4. 为最高价值的共同联系扩展二阶候选人。
  5. 按 R(m) 排序。
  6. 返回:
    • 最佳的暖介绍请求
    • 有条件的桥接路径
    • 不存在温暖路径的图谱缺口

输出格式

社交图谱排名
====================

优先级集合:
平台:
衰减模型:

顶级桥接
- 共同联系 / 连接
  base_score:
  extended_score:
  best_targets:
  path_summary:
  recommended_action:

有条件路径
- 共同联系 / 连接
  reason:
  extra hop cost:

无温暖路径
- 目标
  recommendation:直接外联 / 填补图谱缺口

相关技能

  • lead-intelligence 在更广泛的潜在客户发现和外展流程中使用此排名模型
  • connections-optimizer 在决定保留、修剪或添加哪些联系人时使用相同的桥接逻辑
  • brand-voice 应在草拟任何介绍请求或直接外联之前运行
  • x-api 提供 X 图谱访问和可选的执行路径

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

accessibility

Design, implement, and audit inclusive digital products using WCAG 2.2 Level AA. Use when building or auditing UI that must meet WCAG 2.2 Level AA, or when reviewing a change for keyboard, contrast, or screen-reader support.

affaan-m/claude-api

Anthropic Claude API patterns for Python and TypeScript. Covers Messages API, streaming, tool use, vision, extended thinking, batches, prompt caching, and Claude Agent SDK. Use when building applications with the Claude API or Anthropic SDKs.

affaan-m/everything-claude-code

End-to-end marketing campaign planning and execution. Covers audience research, positioning, campaign angle definition, landing page copy, email sequences, social posts, ad copy, short-form video scripts, and content calendars. Use as the orchestration layer for multi-channel product launches. Use when planning or executing a multi-channel product launch, or producing landing page, email, social, or ad copy.

affaan-m/everything-claude-code

Development conventions and patterns for everything-claude-code. JavaScript project with conventional commits.

affaan-m/everything-claude-code-conventions

Development conventions and patterns for everything-claude-code. JavaScript project with conventional commits.

affaan-m/frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use when the user asks to build web components, pages, or applications and the visual direction matters as much as the code quality.

affaan-m/gget

gget CLI and Python workflow for quick genomic database queries, sequence lookup, BLAST-style searches, enrichment checks, and reproducible bioinformatics evidence logs.

affaan-m/literature-review

Systematic literature-review workflow for academic, biomedical, technical, and scientific topics, including search planning, source screening, synthesis, citation checks, and evidence logging.

affaan-m/motion-ui

Production-ready UI motion system for React/Next.js. Use when implementing animations, transitions, or motion patterns.

affaan-m/project-guidelines-example

Example project-specific skill template based on a real production application.

affaan-m/pubmed-database

Direct PubMed and NCBI E-utilities search workflows for biomedical literature, MeSH queries, PMID lookup, citation retrieval, and API-backed literature monitoring.

affaan-m/scholar-evaluation

Structured scholarly-work evaluation for papers, proposals, literature reviews, methods sections, evidence quality, citation support, and research-writing feedback.

affaan-m/uspto-database

USPTO patent and trademark data workflow for official record lookup, PatentSearch queries, TSDR checks, assignment data, and reproducible IP research logs.

agent-architecture-audit

Full-stack diagnostic for agent and LLM applications. Audits the 12-layer agent stack for wrapper regression, memory pollution, tool discipline failures, hidden repair loops, and rendering corruption. Produces severity-ranked findings with code-first fixes. Essential for developers building agent applications, autonomous loops, or any LLM-powered feature. Use when an agent or LLM feature misbehaves and the failing layer is unknown, or before shipping an agent stack.

agent-eval

Head-to-head comparison of coding agents (Claude Code, Aider, Codex, etc.) on custom tasks with pass rate, cost, time, and consistency metrics. Use when choosing between coding agents, or when a change to an agent setup needs measured pass rate, cost, and time rather than an impression.

agent-harness-construction

Design and optimize AI agent action spaces, tool definitions, and observation formatting for higher completion rates. Use when defining or revising an agent

agentic-engineering

Operate as an agentic engineer using eval-first execution, decomposition, and cost-aware model routing. Use when planning or executing engineering work that agents will carry out end to end.

agentic-os

Build persistent multi-agent operating systems on Claude Code. Covers kernel architecture, specialist agents, slash commands, file-based memory, scheduled automation, and state management without external databases. Use when building a persistent multi-agent system on Claude Code with its own memory, commands, and scheduling.

agent-introspection-debugging

Structured self-debugging workflow for AI agent failures using capture, diagnosis, contained recovery, and introspection reports. Use when an agent run fails and you need a reproducible diagnosis instead of a retry.

agent-payment-x402

Add x402 payment execution to AI agents with per-task budgets, spending controls, and non-custodial wallets. Supports Base through agentwallet-sdk and X Layer through OKX Payments / OKX Agent Payments Protocol. Use when an agent must pay for something itself and needs per-task budgets, spending controls, and a non-custodial wallet.

相关技能