
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-codeInstalls 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- Browser Login730
- Cost Report730
- Federation Audit730
- Federation Init730
- Migrate Create730
- Sparc Refine730
- Iot Witness Verify729
- Migrate Validate729
- Vector Cluster729
- Kg Traverse728
- Cost Compact Context726
- Market Ingest726
- Vector Hyperbolic725
- Browser Replay721
- Browser Record719
- Browser Form Fill718
- Dossier Collect702
- Browser Extract698
- Browser Screenshot Diff697
- Cost Budget Check693
- Browser Auth Flow690
- Adr Verify688
- Cost Track685
- Cost Booster Route684