plugins/ruflo-knowledge-graph/commands/kg.md
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_semantic-route to find relevant entities