Pathfinder traversal of the knowledge graph starting from a seed entity
Install
npx skills add https://github.com/ruvnet/ruflo --skill kg-traverseSKILL.md
KG Traverse
Perform pathfinder graph traversal starting from a seed entity. Expands outward through causal edges, scores paths by relevance, and prunes low-similarity branches.
When to use
When you need to explore the knowledge graph starting from a specific entity -- finding what depends on it, what it depends on, or discovering indirect relationships. Useful for impact analysis, dependency chains, and understanding code structure.
Steps
- Seed -- call
mcp__plugin_ruflo-core_ruflo__agentdb_hierarchical-recallto look up the target entity by name - Expand -- call
mcp__plugin_ruflo-core_ruflo__agentdb_causal-edgeto find all edges connected to the seed entity, then recursively expand outward to the specified depth (default: 3) - Score -- for each path, compute relevance:
cumulative_score = product(edge_weight * keyword_similarity(query, node))usingmcp__plugin_ruflo-core_ruflo__agentdb_pattern-search(thesemanticRoutercontroller isenabled: falsein current AgentDB builds; pattern-search is the available substitute and works fine for entity-name + relation-type keyword matches — see ruvnet/ruflo#2049). For higher-fidelity semantic similarity, callers can fall back tomcp__plugin_ruflo-core_ruflo__embeddings_generate+ manual cosine, but that's not required for step 3 to function. - Prune -- remove paths with cumulative score below 0.3
- Rank -- sort remaining paths by cumulative score descending
- Synthesize -- call
mcp__plugin_ruflo-core_ruflo__agentdb_context-synthesizeto combine the top paths into a coherent summary - Report -- display the top 10 paths with: path (entity chain), relation types, cumulative score, and synthesized context
CLI alternative
npx @claude-flow/cli@latest memory search --query "relations for ENTITY_NAME" --namespace knowledge-graph
Related skills
find-skillsvercel-labs3.6MHelps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.handoffmattpocock883KCompact the current conversation into a handoff document for another agent to pick up.microsoft-foundrymicrosoft618KBuild, deploy, evaluate, optimize, fine-tune, and manage Microsoft Foundry agents, models, and resources end to end. USE FOR: foundry, azd ai agent, azd provision/deploy, hosted agent scaffold/develop/run/deploy/troubleshoot, prompt agent create, create agent, update agent, add tool to agent, invoke agent, agent.yaml, agent insights, pull agent insights, evaluate agent, batch eval, continuous eval, continuous monitoring, agent CI/CD, optimize prompt, improve prompt, prompt optimizer, optimize agcavemanjuliusbrussee544KUltra-compressed communication mode that cuts output tokens while keeping technical accuracy. Levels: lite, full, ultra and the wenyan variants. Use for /caveman, "caveman mode", "talk like caveman", "be brief" or "less tokens".