GoldDHacker

Codegraph Explorer Skill — AI skill for Claude Code

AI community

Claude Code skill: turn any codebase into a queryable knowledge graph, parsed once by a local script so the LLM never re-reads source to reason about architecture.

How to install Codegraph Explorer Skill

This entry records only its repository, not the path inside it, so there is no exact command to give. Open GoldDHacker/codegraph-explorer-skill and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Codegraph Explorer Skill does

Claude Code skill: turn any codebase into a queryable knowledge graph, parsed once by a local script so the LLM never re-reads source to reason about architecture.

Alternatives in AI

  • WeKnora — Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, an 26.9k ★
  • TokenTracker — Local-first AI token usage & cost tracker for 31 coding tools incl 1.4k ★
  • Graphmind — Local-first code intelligence for AI assistants 213 ★

README

🧠 CodeGraph Explorer — Script-First (v5.1)

*🇬🇧 English · [🇫🇷 Français](README.fr.md)*

A skill for Claude Code, inspired by **Graphify** and **Understand Anything**.

CodeGraph Explorer run on its own repository — two force-directed clusters (the builder script and the test suite), function nodes in blue, files in grey, entry points in green
CodeGraph run on its own source tree — graph.html, the self-contained interactive view (SVG).

🎯 Philosophy: Zero Token Waste

**Claude never parses source code. It runs a local Python script once, then reads the JSON.**

Before (v2, broken) After (v3)
codegraph_builder.py had a 5-line Python syntax error and crashed before it even started The script compiles and runs, tested on a small multi-language project and on 206 real files from the Python stdlib
Watch mode duplicated every edge on each rebuild State rebuilt from scratch from a per-file cache on every build — never any duplicates
--report and --update did nothing different from a full build --update only re-parses changed files; --report regenerates the report without touching sources
calls edges scanned the whole file, attributing every call in a file to every function in it Each function is scanned only within its own body, and the edge's confidence reflects name ambiguity
C/C++/Ruby/PHP/Swift/Kotlin advertised but no real extraction Real support for the 12 languages listed below
.gitignore, secret redaction, custom_patterns.json documented but never implemented Implemented (see exact scope in SKILL.md)
"Claude reads graph.json" presented as ~200 tokens regardless of project size Measured: 31.7 MB for 206 stdlib files (~10,500 nodes) — hence --explain/--callers/--find-path script-side (v3.1, below), which answer in < 1s without ever