hs:gkg

Indexes codebases into a knowledge graph for go-to-definition, find-usages, and impact analysis.

Updated Jul 19, 2026
One-click install
npx skills add https://github.com/Dozyboy/VSF --skill hs-gkg-dozyboy
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: hs:gkg
Source: https://github.com/Dozyboy/VSF/tree/main/Day2_VSF/Demo1/harness/plugins/hs/disabled-skills/gkg
Command: npx skills add https://github.com/Dozyboy/VSF --skill hs-gkg-dozyboy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? AI assistants lack IDE-grade code navigation, making it hard to find symbol definitions, trace usages across files, or assess refactoring impact in large codebases. This Skill indexes repositories into a KuzuDB-backed knowledge graph so you can query semantic code relationships instead of grepping text. ## Core Features & Use Cases - Semantic Code Navigation: Go-to-definition and find-all-references for functions, classes, and methods across Ruby, Java, Kotlin, Python, TypeScript, and JavaScript projects. - Impact Analysis: Query all call sites of a symbol before refactoring to understand downstream effects. - Architecture Visualization: Generate repository maps and explore graph relationships via HTTP API and 7 MCP tools. - Use Case: Before renaming a core service class in a multi-repo Java workspace, index the workspace, then use get_references to list every call site that must be updated. ## Quick Start Ask the assistant to index the current repository with gkg and find all usages of a specific function or class.

Frequently Asked Questions about hs:gkg

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find all usages of a function across a codebase?▼

Index the project with gkg index, start the server with gkg server start, then call the get_references MCP tool with the symbol's definition ID. It returns every location where the symbol is referenced across the indexed project.

What languages does GitLab Knowledge Graph support?▼

Ruby, Java, and Kotlin have full support including cross-file references. Python, TypeScript, and JavaScript support definitions, imports, and intra-file references, but cross-file reference tracking is still in progress.

When should I use gkg instead of repomix?▼

Use gkg for semantic queries like go-to-definition, find-usages, and impact analysis on indexed repositories. Use repomix for quick context dumps, token counting, remote repositories, or languages without full gkg support.

Why does re-indexing fail with the gkg server running?▼

The gkg server must be stopped before re-indexing because it holds locks on the graph database. Run gkg server stop, then gkg index, then gkg server start to refresh indexed data.

Does gkg work without a Git repository?▼

No, gkg requires an initialized Git repository to index a project. It stores indexed data under ~/.gkg/ organized by workspace and project hashes.