Python-native code intelligence graph. Replaces GitNexus with a lightweight, stable indexing engine built on the ast module.
- Tests: 96 passing (
pytest tests/ -q, ~1.5s) - CI:
(placeholder — wire up GitHub Actions)
- Maturity tier: 2 / 3 (Beta — v0.6.x, multi-iteration, large test surface)
- Last commit: 2026-06-06
This tool is exposed in the unified sin code hub:
sin code sckg index . # alias of: sckg index .
sin code sckg query . "main" # alias of: sckg query . "main"
sin code sckg dashboard # alias of: sckg dashboardSee AGENTS.md for the full agent-engineering surface (boundaries, key files, verification steps).
# Build graph from a repo
sckg index ./my-project --output graph.json
# Query for symbols
sckg query ./my-project "helper function"
# Generate interactive HTML graph
sckg graph ./my-project --output graph.htmlpip install -e .
symlink sckg to ~/.local/bin/ (or use pipx)pytest tests/ -qparser.py— AST visitor extracting symbols and edgesgraph.py— adjacency-list graph with community detectionhtml_generator.py— D3.js force-directed single-file HTMLcli.py— Typer CLI (index,query,graph, …)
See AGENTS.md for the full key-files map (14 subcommands + 96 tests).
MIT