srizdebnath/tigergraphskills/algo-label-propagation
Claude Code and agent skill by srizdebnath/tigergraphskills
- community
Checking that the SKILL.md file is still in the repository.
Install and run Label Propagation for community detection. Use when grouping vertices based on neighboring majority votes.
Install
npx vskill@latest install srizdebnath/tigergraphskills/algo-label-propagationSKILL.md
The same SKILL.md was published earlier as srizdebnath/tigergraphskills/algo-label-propagation.
Running Label Propagation
When to use this
Use when performing fast, near-linear-time community partitioning on large graphs where Louvain might be too resource-intensive.
Prerequisites
TigerGraph GSQL Algorithm Library installed. Links:
Steps
- Import the label propagation algorithm query.
- Run the query, passing iteration thresholds:
``gsql RUN QUERY tg_label_prop(v_type="User", e_type="friend", max_iter=10, print_accum=TRUE, result_attr="community_id", file_path="") ``
- Verify vertices are assigned a community ID matching their dense cluster.
Common mistakes
- Running too many iterations, which can cause community sizes to converge into a single huge community. Keep iterations under 15.
- Forgetting that Label Propagation is non-deterministic and can produce different clusters across separate runs.
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-label-propagation/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-label-propagation)