ruvnet avatar

Kg Extract

Extracts entities like classes, functions, and modules from your source code and stores them as a knowledge graph in AgentDB, complete with weighted relationships. The real value is in how it handles TypeScript imports: it correctly distinguishes between type-only imports (which are compile-time only) and value imports, avoiding phantom runtime dependency cycles that can mess up impact analysis. Use it when you need to understand codebase structure, trace dependencies, or figure out what breaks when you change something. It scans files, identifies entities, maps their relationships with different weights, then stores everything so you can query it later. Beats manually grepping through imports to understand how your modules actually connect.

skills.sh installs
731
GitHub stars
81.4K
last updated
Aug 21, 2026

Install

$ npx -y skills add ruvnet/ruflo --skill kg-extract --agent claude-code

Installs into .claude/skills of the current project.

Files

KG Extract

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 to use

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.

Steps

Sponsors

Details

Repository
github.com/ruvnet/ruflo
Category
DevOps & CI/CD
First seen
Jun 3, 2026

More from ruvnet/ruflo

All 236
1alirezarezvani avatarepic-designalirezarezvani/claude-skillsBuild immersive, cinematic 2.5D interactive websites using scroll storytelling, parallax depth, text animations, and premium scroll effects — no WebGL required.728skills.sh installs
2manutej avatarfrontend-architecturemanutej/luxor-claude-marketplaceComponent architecture, design patterns, state management strategies, module systems, build tools, and scalable application structure728skills.sh installs
3alirezarezvani avatarcontent-productionalirezarezvani/claude-skillsFull content production pipeline — takes a topic from blank page to published-ready piece. Use when you need to execute content: write a blog post, article, or 726skills.sh installs
4aj-geddes avatarflutter-developmentaj-geddes/useful-ai-promptsBuild beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material725skills.sh installs
5ovachiever avatarreact-hook-form-zodovachiever/droid-tingsBuild type-safe validated forms in React using React Hook Form and Zod schema validation. Single schema works on both client and server for DRY validation with 724skills.sh installs
6hamelsmu avatargenerate-synthetic-datahamelsmu/evals-skillsCreate diverse synthetic test inputs for LLM pipeline evaluation using dimension-based tuple generation. Use when bootstrapping an eval dataset, when real user 723skills.sh installs