Skip to main content

Kg Extract

Skill Verified Active

Extract entities and relations from source files to build a knowledge graph

Purpose

To automatically build and update a knowledge graph from source code, aiding in codebase understanding, dependency analysis, and impact assessment.

Features

  • Extracts entities like classes, functions, and modules
  • Identifies relations such as imports, extends, and calls
  • Stores extracted data as a knowledge graph in AgentDB
  • Provides CLI alternatives for direct interaction

Use Cases

  • Building a knowledge graph for a new codebase
  • Updating an existing knowledge graph with new code
  • Analyzing codebase dependencies and structure
  • Assessing the impact of code changes

Non-Goals

  • Executing code
  • Performing static analysis beyond entity and relation extraction
  • Managing the AgentDB instance itself

Installation

First, add the marketplace

/plugin marketplace add ruvnet/ruflo
/plugin install ruflo-knowledge-graph@ruflo

Quality Score

Verified
99 /100
Analyzed about 20 hours ago

Trust Signals

Last commitabout 22 hours ago
Stars50.2k
LicenseMIT
Status
View Source

Similar Extensions

Understand Domain

100

Extract business domain knowledge from a codebase and generate an interactive domain flow graph. Works standalone (lightweight scan) or derives from an existing /understand knowledge graph.

Skill
Lum1104

Understand

100

Analyze a codebase to produce an interactive knowledge graph for understanding architecture, components, and relationships

Skill
Lum1104

Understand Knowledge

100

Analyze a Karpathy-pattern LLM wiki knowledge base and generate an interactive knowledge graph with entity extraction, implicit relationships, and topic clustering.

Skill
Lum1104

Agentdb Query

99

Query AgentDB through the controller bridge -- semantic routing, hierarchical recall, causal graphs, context synthesis, pattern store/search

Skill
ruvnet

Metal

100

Extract the conceptual essence of a repository as skills, agents, and teams — the project's roles, procedures, and coordination patterns expressed as agentskills.io-standard definitions. Reads an arbitrary codebase and produces generalized definitions that capture WHAT the project does and WHO operates it, without replicating HOW it does it. Use when onboarding to a new codebase and wanting to understand its conceptual architecture, when bootstrapping an agentic system from an existing project, when studying a project's organizational DNA for cross-pollination, or when creating a skill/agent/team library inspired by a reference implementation.

Skill
pjt222

Lean Ctx

100

Context Runtime for AI Agents — 59 MCP tools, 10 read modes, 95+ shell patterns, tree-sitter AST for 18 languages. Compresses LLM context by up to 99%. Use when reading files, running shell commands, searching code, or exploring directories. Auto-installs if not present.

Skill
yvgude

© 2025 SkillRepo · Find the right skill, skip the noise.