跳到正文
FunCoding

graph-analysis

Analyze follower/following network graphs — find clusters, influencers, bridges, and audience segments using graph algorithms. Use when users want to understand the network structure of their X audience or competitor's audience.

Star
672
许可证
Apache-2.0
最近提交
2026年11月27日

skills/graph-analysis/SKILL.md

在 GitHub 上查看

Graph Analysis

API-powered network graph analysis for X/Twitter follower relationships.

Entry Points

GoalRouteMethod
Build a network graphPOST /api/graph/buildREST API
Get graph dataGET /api/graph/:idREST API
Run graph algorithmsPOST /api/graph/:id/analyzeREST API
Export graphGET /api/graph/:id/exportREST API
Visualize graphGET /api/graph/:id/visualizeREST API

API Usage

Build a network graph

POST /api/graph/build
Authorization: Bearer <token>
Content-Type: application/json

{
  "username": "nichxbt",
  "depth": 1,          // 1 = direct followers, 2 = followers of followers
  "maxNodes": 500      // Limit graph size
}

Run graph algorithms

POST /api/graph/:id/analyze
Authorization: Bearer <token>
Content-Type: application/json

{
  "algorithm": "pagerank"  // "pagerank" | "betweenness" | "community" | "influencers"
}

Available Algorithms

AlgorithmDescription
pagerankRank nodes by influence (like Google's PageRank)
betweennessFind bridge accounts connecting different clusters
communityDetect communities/clusters within the network
influencersIdentify top influencers by degree centrality

Use Cases

GoalApproach
Find bridge accounts for cross-audience reachalgorithm: "betweenness"
Identify communities in your follower basealgorithm: "community"
Find most influential followersalgorithm: "influencers"
Rank followers by network influencealgorithm: "pagerank"

Notes

  • Graph building is async and may take several minutes for large networks
  • depth: 2 creates much larger graphs — use maxNodes to limit
  • Export formats: JSON (node/edge list), GraphML, CSV
  • Visualization returns an interactive D3.js-powered HTML page
  • analytics-insights — Analyze your own engagement metrics
  • audience-demographics — Understand follower demographics
  • competitor-intelligence — Analyze competitor audiences
  • crm-management — Manage individual relationships within the graph

相似的 Skill

reverse-engineer-anything

MOmorluto/rea485k近 7 天新增 9,215 个 star

reverse-engineer-anything

MOmorluto/rea485k近 7 天新增 9,215 个 star

test-driven-development

OBobra/superpowers331k近 7 天新增 5,757 个 star

agent-runtime-gateway-smoke-test

AFaffaan-m/ECC314k近 7 天新增 4,125 个 star

ai-regression-testing

AFaffaan-m/ECC314k近 7 天新增 4,125 个 star

精选

accessibility

审计 Web、iOS、Android 的无障碍合规,支持键盘导航与屏幕阅读器。

AFaffaan-m/ECC314k近 7 天新增 4,125 个 star