kg-traverse
하는 일
이 스킬은 지식 그래프에서 하나의 출발 항목으로부터 연결을 따라가며, 연결 관계와 가장 관련 있는 경로를 보여 줍니다. 영향 분석이나 의존성 추적을 하는 개발자를 위한 스킬입니다.
사용하는 경우
- ✓특정 클래스나 모듈에 무엇이 의존하는지 알고 싶을 때.
- ✓한 항목에서 시작하는 의존성 사슬을 보고 싶을 때.
- ✓코드의 한 부분을 바꿨을 때 영향을 판단해야 할 때.
스킬 링크
https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-knowledge-graph/skills/kg-traverse/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“결제 모듈을 바꾸면 무엇이 영향을 받나요? 코드 지도의 연결을 따라가 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
스킬은 그래프에서 출발 항목을 찾고, 설정된 깊이까지 연결을 확장한 뒤 각 경로에 관련도 점수를 매깁니다. 약한 경로는 버리고 상위 결과를 돌려줍니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
KG Traverse
Perform pathfinder graph traversal starting from a seed entity. Expands outward through the graph's edges, scores paths by relevance, and prunes low-scoring 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 (one word is the most reliable query: the recall matches the whole query as a substring). Graph node ids are domain-prefixed, for exampleentity:router-account. - Expand -- call
mcp__plugin_ruflo-core_ruflo__agentdb_graph-querywith{ nodeId: "entity:NAME", mode: "k-hop", depth: N }(default depth 3, the SQL path applies at most 3 and reportsappliedDepthandtruncated; addrelationto filter by relation type).agentdb_causal-edgeonly records an edge, never use it to read one. - Score and rank -- call
mcp__plugin_ruflo-core_ruflo__agentdb_graph-pathfinderwith{ seedNodeId: "entity:NAME", query: "<what the user wants to know>", depth: N, threshold: 0.3, topK: 10 }. It expands from the seed, scores each path by cumulative relevance, drops paths under the threshold and returns the top paths. If it returns nothing useful, score the k-hop neighbours yourself withmcp__plugin_ruflo-core_ruflo__agentdb_pattern-searchon entity names and relation types (thesemanticRoutercontroller isenabled: falsein current AgentDB builds; see ruvnet/ruflo#2049). - Synthesize -- write the summary yourself from the returned paths. Do not call
agentdb_context-synthesize: it summarizes validated task episodes and answersno-eligible-episodesfor entity records written bykg-extract. - Report -- display the top 10 paths with: path (entity chain), relation types, cumulative score, and your summary.
When the graph cannot be read
With CLAUDE_FLOW_ENCRYPT_AT_REST=1 the graph read tools answer graph_edges DB is encrypted at rest (RFE1) (#2889, #4135): edges recorded by kg-extract are stored but cannot be read back yet. Say so in the report. Your data is intact: do not run memory init. Fall back to the entity records only (agentdb_hierarchical-recall) and tell the user that relations are unavailable. An agentdb_causal-edge result with readable: false already warns about this at write time.
CLI alternative
npx @claude-flow/cli@latest memory search --query "relations for ENTITY_NAME" --namespace knowledge-graph
자주 묻는 질문
얼마나 멀리 연결을 따라가나요?
기본 깊이는 세 단계이며, 더 큰 값을 요청해도 세 단계에서 멈춥니다.
관계 유형으로 걸러낼 수 있나요?
네. 한 가지 관계 유형으로 탐색을 제한할 수 있습니다.
그래프를 바꾸나요?
아닙니다. 관계를 읽기만 하며 새 간선을 추가하지 않습니다.
상세 정보
인기도
- GitHub 스타
- 81k
- 순위
- #1640
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
agent-adaptive-coordinator
81k작업량이 바뀔 때 에이전트 무리를 나누고 재배치해, 작업에 맞는 배치를 고르도록 에이전트를 돕습니다.
agent-agent
81k큰 목표를 순서가 있는 행동 계획으로 나누고, 조건이 바뀌면 다시 계획하도록 에이전트를 가르칩니다.
agent-agentic-payments
81kAI 쇼핑을 위한 지출 위임장을 관리합니다. 지출 상한, 시간 창, 판매자 규칙, 서명된 승인을 포함합니다.
agent-analyze-code-quality
81k에이전트가 파일을 바꾸지 않고, 코드 품질 문제와 코드 냄새, 기술 부채, 리팩터링 아이디어를 찾아 검토하도록 돕습니다.
비슷한 스킬
gitcrawl
394k에이전트가 저장된 GitHub 이슈와 풀 리퀘스트 보관본을 검색하고, 중복 항목을 묶고, GitHub에서 현재 상태를 확인하도록 돕습니다.
slacrawl
394k에이전트가 로컬 Slack 보관본에서 메시지를 검색하고 개수를 세며, 보관본이 얼마나 최신인지 확인하고 필요할 때 새로 고치도록 돕습니다.
goplaces
394k에이전트가 Google Places로 장소를 검색하고, 세부 정보와 리뷰를 가져오고, 장소 이름을 확인하며, 스크립트용 JSON을 출력하도록 돕습니다.