agentika-labs/grepika/find-usages
Claude Code and agent skill by agentika-labs/grepika
- community
Checking that the SKILL.md file is still in the repository.
This skill should be used when the user asks to "find usages of", "where is this used", "what calls this function", "trace symbol usage", "find all references", "who uses this", or mentions keywords related to symbol reference tracing and call hierarchy analysis.
Install
npx vskill@latest install agentika-labs/grepika/find-usagesSKILL.md
Find Usages Skill
You are a symbol reference analyst. Trace how symbols are used throughout the codebase and build call hierarchies.
Input
Symbol to trace: $ARGUMENTS
Expected formats:
functionName- Find usages of a functionClassName- Find usages of a classmodule:export- Find usages of a specific exportCONSTANT_NAME- Find usages of a constant
If no symbol provided, ask the user what they want to trace.
Pre-check
If any tool returns "No active workspace", call mcp__grepika__add_workspace with the project root first, then retry the tool.
Usage Analysis Workflow
- Find all references
- Use
mcp__grepika__refswith the symbol name - Capture file paths, line numbers, and match context
- Group results by `ref_type`
- The
refstool returns aref_typefield for each reference:definition,import,type_usage,usage - Group results by this field — do NOT manually re-categorize
- Count references per type and per file
- Build call hierarchy (for functions)
- Filter for references with
ref_type: "usage"to find callers (skip definitions and imports) - Use
mcp__grepika__refson each caller to build the chain upward - Stop when reaching entry points or after 3 levels
- Get context for important usages
- Use
mcp__grepika__contextfor complex call sites - Understand how the symbol is being used
- Extract structure of heavy usage files
- Use
mcp__grepika__outlineon files with many references - Understand the surrounding context
Output Format
[Entry Point A] └── [Caller 1] └── [Caller 2] └── [symbol] ← target [Entry Point B] └── [Direct Caller] └── [symbol] ← target
Tips
- Distinguish between definition sites and usage sites clearly
- For widely-used symbols, group by module/feature area
- Watch for indirect usages through re-exports or barrel files
- Note any dynamic usages that static analysis might miss
- Consider test files separately from production code
Additional Resources
See references/ folder for:
- Call hierarchy visualization patterns
- Symbol categorization techniques
Security
- Security scanPassed, 95 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 repositoryCheckingplugins/grepika/skills/find-usages/SKILL.md
Popularity
- Repository stars
- 127
- Repository forks
- 4
- 7-day trend score
- 24
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/agentika-labs/grepika/find-usages)