freepeak/leankg/usage
Claude Code and agent skill by freepeak/leankg
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Query LeanKG knowledge graph for code understanding. Use when exploring a codebase, finding functions, tracing dependencies, or calculating impact radius.
Install
npx vskill@latest install freepeak/leankg/usageSKILL.md
Use LeanKG tools to explore and understand code:
mcp_status- Check if LeanKG is initializedmcp_init- Initialize LeanKG for a project:mcp_init { path: "<project>/.leankg" }mcp_index- Index a directory:mcp_index { path: "<project>/src" }search_code- Find code elements:search_code { query: "<function_name>" }find_function- Locate a function:find_function { name: "<name>" }query_file- Find files:query_file { query: "<filename>" }get_impact_radius- Calculate blast radius:get_impact_radius { file: "<path>", depth: <n> }get_dependencies- Get imports:get_dependencies { file: "<path>" }get_dependents- Get dependents:get_dependents { file: "<path>" }get_context- Get file context:get_context { file: "<path>" }get_call_graph- Get call chains:get_call_graph { file: "<path>" }get_tested_by- Get test coverage:get_tested_by { file: "<path>" }
Rule: Use LeanKG first, before grep/ripgrep.
LeanKG auto-initializes on first use. If .leankg does not exist, it creates one automatically. If index is stale (>5 min since last git commit), it re-indexes automatically.
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 repositoryChecking.claude-plugin/skills/usage/SKILL.md
Popularity
- Repository stars
- 199
- Repository forks
- 19
- 7-day trend score
- 26
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/freepeak/leankg/usage)