Stats
Actions
Tags
Knowledge graph operations — extract entities, traverse relations, and search the graph
How this command is triggered — by the user, by Claude, or both
Slash command
/ruflo-knowledge-graph:kgThe summary Claude sees in its command listing — used to decide when to auto-load this command
Knowledge graph commands: **`kg extract <path>`** -- Extract entities and relations from source files at the given path. 1. Scan files at `<path>` recursively for classes, functions, modules, types, and config references 2. For each entity, record its type, name, file location, and description 3. Map relations between entities: imports, extends, implements, depends-on, calls, references 4. Store entities via `mcp__claude-flow__agentdb_hierarchical-store` in the `knowledge-graph` namespace 5. Create causal edges via `mcp__claude-flow__agentdb_causal-edge` for each relation 6. Report: total ...
Knowledge graph commands:
kg extract <path> -- Extract entities and relations from source files at the given path.
<path> recursively for classes, functions, modules, types, and config referencesmcp__claude-flow__agentdb_hierarchical-store in the knowledge-graph namespacemcp__claude-flow__agentdb_causal-edge for each relationkg traverse <entity> -- Pathfinder traversal starting from the named entity.
mcp__claude-flow__agentdb_hierarchical-recallrelevance = edge_weight * semantic_similarity(query, node)kg relations <entity> -- List all direct relations for the named entity.
<entity>kg visualize -- Generate an ASCII visualization of the knowledge graph.
knowledge-graph namespacekg search <query> -- Semantic search across the knowledge graph.
mcp__claude-flow__agentdb_pattern-search (the semanticRouter controller is enabled: false in current AgentDB builds — pattern-search is the available substitute; see ruvnet/ruflo#2049)mcp__claude-flow__embeddings_generate + manual cosine for higher-fidelity semantic similarity if needed)4plugins reuse this command
First indexed Jul 14, 2026
npx claudepluginhub meefs/claude-code-flow --plugin ruflo-knowledge-graph