srizdebnath/tigergraphskills/gsql-perf-accumulator-choice
Claude Code and agent skill by srizdebnath/tigergraphskills
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Choose and use GSQL accumulators efficiently. Use when tuning queries to reduce memory footprint and execution times.
Install
npx vskill@latest install srizdebnath/tigergraphskills/gsql-perf-accumulator-choiceSKILL.md
The same SKILL.md was published earlier as srizdebnath/tigergraphskills/gsql-perf-accumulator-choice.
Optimizing Accumulator Performance
When to use this
Use during performance profiling of query bottlenecks, specifically when memory usage spikes or execution is slow due to large datasets.
Prerequisites
Basic understanding of GSQL accumulators. Links:
Steps
- Prefer
SumAccum<INT>orMaxAccum<INT>over collections where possible. - Avoid allocating large
ListAccumon highly connected 'supernodes'. Supernodes with 1M+ edges will crash memory if gathering a list. - Replace
SetAccumwithMapAccum<T, BOOL>if you need key checking, or use integer sums if only counting uniqueness is required. - If building top-K, configure
HeapAccumwith a tight size limit (e.g. 10 or 100) instead of collecting all records and sorting afterwards.
Common mistakes
- Storing huge objects/vertices directly in collections. Store only the vertex primary key (
STRING) or necessary scalar attributes instead of the entire vertex object. - Using local accumulators where a single global accumulator could summarize the data with far less memory mapping.
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/gsql-perf-accumulator-choice/SKILL.md
Popularity
- Repository stars
- 1
- 7-day trend score
- 8
Stars and forks are for the whole GitHub repository, not this skill alone. 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/gsql-perf-accumulator-choice)