graph-analysis
Skill648 starsChanged 9 months agoApache-2.0View on GitHub
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.
In this repository60 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/agents.mdAGENTS.md
- python/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- python/CLAUDE.mdCLAUDE.md
- xspace-agents/CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- llms-full.txtllms.txt
- llms.txtllms.txt
- python/llms-full.txtllms.txt
- python/llms.txtllms.txt
- a2a-multi-agentSkill
- account-backupSkill
- account-toolsSkill
- algorithm-cultivationSkill
- analytics-insightsSkill
- articles-longformSkill
- billing-managementSkill
- blocking-muting-managementSkill
- bookmarks-managementSkill
- business-adsSkill
- community-health-monitoringSkill
- community-managementSkill
- community-notesSkill
- competitor-intelligenceSkill
- content-cleanupSkill
- content-postingSkill
- content-repurposingSkill
- creator-monetizationSkill
- crm-managementSkill
- delegate-accessSkill
- direct-messagesSkill
- discovery-exploreSkill
- engagement-interactionSkill
- follower-monitoringSkill
- grok-aiSkill
- growth-automationSkill
- lead-generationSkill
- lists-managementSkill
- media-studioSkill
- notifications-managementSkill
- post-editingSkill
- premium-subscriptionsSkill
- profile-managementSkill
- reputation-auditSkill
- saved-searchesSkill
- settings-privacySkill
- spaces-liveSkill
- teams-managementSkill
- timeline-viewingSkill
- topic-managementSkill
- twitter-scrapingSkill
- unfollow-managementSkill
- video-downloadingSkill
- viral-thread-generationSkill
- webhooksSkill
- x402-paymentsSkill
- xactions-cliSkill
- xactions-mcp-serverSkill
- x-pro-managementSkill
The file
Files
Graph Analysis
API-powered network graph analysis for X/Twitter follower relationships.
Entry Points
| Goal | Route | Method |
| Build a network graph | POST /api/graph/build | REST API |
| Get graph data | GET /api/graph/:id | REST API |
| Run graph algorithms | POST /api/graph/:id/analyze | REST API |
| Export graph | GET /api/graph/:id/export | REST API |
| Visualize graph | GET /api/graph/:id/visualize | REST 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
| Algorithm | Description |
pagerank | Rank nodes by influence (like Google's PageRank) |
betweenness | Find bridge accounts connecting different clusters |
community | Detect communities/clusters within the network |
influencers | Identify top influencers by degree centrality |
Use Cases
| Goal | Approach |
| Find bridge accounts for cross-audience reach | algorithm: "betweenness" |
| Identify communities in your follower base | algorithm: "community" |
| Find most influential followers | algorithm: "influencers" |
| Rank followers by network influence | algorithm: "pagerank" |
Notes
- Graph building is async and may take several minutes for large networks
depth: 2creates much larger graphs — usemaxNodesto limit- Export formats: JSON (node/edge list), GraphML, CSV
- Visualization returns an interactive D3.js-powered HTML page
Related Skills
- 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
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

