srizdebnath/tigergraphskills/algo-louvain
Claude Code and agent skill by srizdebnath/tigergraphskills
- community
Checking that the SKILL.md file is still in the repository.
Install and run the Louvain community detection algorithm. Use when maximizing modularity to partition graphs into communities.
Install
npx vskill@latest install srizdebnath/tigergraphskills/algo-louvainSKILL.md
The same SKILL.md was published earlier as srizdebnath/tigergraphskills/algo-louvain.
Running Louvain Community Detection
When to use this
Use when finding hierarchical community structures and modular groups in complex graphs, such as fraud rings or interest groups.
Prerequisites
TigerGraph GSQL Algorithm Library installed. Links:
Steps
- Compile the Louvain query from the algorithm library.
- Execute the Louvain modularity optimization query:
``gsql RUN QUERY tg_louvain(v_type="User", e_type="friend", max_iter=10, print_accum=TRUE, result_attr="louvain_id", file_path="") ``
- Note that the algorithm runs in iterations to optimize community grouping dynamically.
Common mistakes
- Expecting instantaneous completion on graphs with highly connected hubs. Louvain requires significant internal message shuffling.
- Forgetting that edge weights are supported and should be parameterized if relationships contain strengths.
Sources
Security
- Security scanPassed, 90 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-louvain/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-louvain)