srizdebnath/tigergraphskills/algo-betweenness
Claude Code and agent skill by srizdebnath/tigergraphskills
- community
Checking that the SKILL.md file is still in the repository.
Install and run Betweenness Centrality in GSQL. Use when finding bridge nodes or routing bottlenecks in graphs.
Install
npx vskill@latest install srizdebnath/tigergraphskills/algo-betweennessSKILL.md
The same SKILL.md was published earlier as srizdebnath/tigergraphskills/algo-betweenness.
Running Betweenness Centrality
When to use this
Use when finding nodes that act as intermediaries or bridges between different communities, such as critical infrastructure junctions.
Prerequisites
TigerGraph GSQL Algorithm Library installed. Links:
Steps
- Deploy the betweenness centrality query code.
- Execute the query:
``gsql RUN QUERY tg_betweenness_cent(v_type="User", e_type="friend", top_k=10, print_accum=TRUE, result_attr="betweenness", file_path="") ``
- Node importance is calculated based on the count of shortest paths passing through it.
Common mistakes
- Calculating exact betweenness on large graphs. Exact betweenness is O(V*E), which is very slow. Use approximate betweenness algorithms instead.
- Attempting to run on unconnected components without specifying traversal limits.
Sources
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/algo-betweenness/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/srizdebnath/tigergraphskills/algo-betweenness)