Extract entities and relations from source files to build a knowledge graph
How this skill is triggered — by the user, by Claude, or both
Slash command
/ruflo-knowledge-graph:kg-extract <path><path>This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Extract entities (classes, functions, modules, types, concepts) and their relations (imports, extends, implements, depends-on, calls) from source files, then store them as a knowledge graph in AgentDB.
Extract entities (classes, functions, modules, types, concepts) and their relations (imports, extends, implements, depends-on, calls) from source files, then store them as a knowledge graph in AgentDB.
When you need to build or update a knowledge graph from source code or documentation. Useful for understanding codebase structure, dependency analysis, and impact assessment.
Glob and Read to enumerate and read source files at the given pathimports: follow import/require statementsextends: class inheritanceimplements: interface implementationsdepends-on: constructor dependencies, injected servicescalls: function/method invocationsreferences: documentation mentions, commentsmcp__claude-flow__agentdb_hierarchical-store for each entity with metadata (name, type, file, line, description)mcp__claude-flow__agentdb_causal-edge for each relation with source, target, relation type, and weightnpx @claude-flow/cli@latest memory store --namespace knowledge-graph --key "entity-NAME" --value "METADATA_JSON"
npx @claude-flow/cli@latest memory search --query "entities in auth module" --namespace knowledge-graph
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub erfwn81/velora --plugin ruflo-knowledge-graph