Agent skill

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.

Stars 197
Forks 39

Install this agent skill to your Project

npx add-skill https://github.com/nirholas/XActions/tree/main/skills/graph-analysis

Metadata

Additional technical details for this skill

author
nichxbt
version
1.0

SKILL.md

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

bash
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

bash
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: 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

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

Expand your agent's capabilities with these related and highly-rated skills.

nirholas/XActions

articles-longform

Compose, preview, publish, and manage long-form Articles on X/Twitter. Premium+ feature. Includes article creation, formatting, media insertion, and performance tracking. Use when users want to write, publish, manage, or analyze X Articles.

197 39
Explore
nirholas/XActions

x-pro-management

Navigate to X Pro (TweetDeck), set up monitoring columns, and manage multi-column view. Use when users want to use X Pro / TweetDeck features or set up a multi-column dashboard.

197 39
Explore
nirholas/XActions

business-ads

Manages X/Twitter business intelligence including brand monitoring, audience insights, competitor analysis, tweet A/B testing, auto-plug replies for promotion, and content performance optimization. Use when users want brand monitoring, audience analysis, competitor comparison, or promotion optimization on X.

197 39
Explore
nirholas/XActions

engagement-interaction

Automates X/Twitter engagement actions — like, unlike, reply, bookmark, hide replies, and auto-like by keyword. Also bulk-unlikes all posts. Use when users want to automate likes, send replies, manage bookmarks on tweets, hide replies, or clear their entire likes history.

197 39
Explore
nirholas/XActions

unfollow-management

Mass unfollow on X/Twitter via browser console scripts. Unfollows everyone, only non-followers, non-followers with username logging, smart time-based unfollow with whitelists, and follow/following ratio management. Use when cleaning up a following list, removing non-followers, bulk unfollowing accounts, or optimizing your follow ratio.

197 39
Explore
nirholas/XActions

follower-monitoring

Monitors X/Twitter follower changes using browser console scripts. Detects who unfollowed, tracks new followers with welcome messages, monitors any public account, runs continuous monitoring with alerts, tracks follower growth over time, and analyzes follower demographics. Use when tracking follower changes, detecting unfollowers, or monitoring Twitter accounts.

197 39
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results