PreToolUse
01Hook Claude Code
Runs before the agent uses a tool, executing leankg-pretooluse.mjs via node. From FreePeak/LeanKG.
13 tagged concise-context, measured the same way as everything else here.
Hook Claude Code
Runs before the agent uses a tool, executing leankg-pretooluse.mjs via node. From FreePeak/LeanKG.
Hook Claude Code
Runs after a tool call finishes for mcp__leankg__* tool calls, executing leankg-posttooluse.mjs via node. From FreePeak/LeanKG.
Plugin Claude Code
Lightweight knowledge graph for AI-assisted development. Impact analysis, code search, dependency tracking, and context generation.
Skill Claude CodeCodex
Query LeanKG knowledge graph for code understanding. Use when exploring a codebase, finding functions, tracing dependencies, or calculating impact radius.
Agent
Dispatches isolated subagents to worktree branches for independent parallel tasks. Use when 3+ tasks can work independently without shared state.
Agent
Before doing ANY codebase search, navigation, or analysis, you MUST use LeanKG tools.
Command
Check if LeanKG MCP server is connected and initialized.
Cursor rule
LeanKG is the DEFAULT search for code navigation and logic finding.
Skill Claude CodeCodex
Code search via LeanKG MCP when HTTP :9699 is healthy; otherwise skip LeanKG and use default Grep/Glob/Read. Invoke before code navigation when LeanKG may apply.
Instructions file CodexOpenCode
Instructions for FreePeak/LeanKG, covering leankg — agent context, build & test, cli quick reference, mandatory: docker mcp project paths and tool discovery prefer-order.
Instructions file
Instructions for FreePeak/LeanKG, covering leankg - ai agent context, project overview, quick start, index a codebase and calculate impact radius.
Instructions file Gemini CLI
Instructions for FreePeak/LeanKG, covering leankg - ai agent context, project overview, quick start, index a codebase and calculate impact radius.
Cursor rule
Graph-first agent workflow — query LeanKG before grep/Read when MCP HTTP is healthy.