Guides

Guides

Step-by-step how-tos with a shared CoolStore example (example/coolstore).

Vulnerability and OSV supply-chain analysis

vuln, deps, taint, security

OSV advisory triage, manifest scanning, call-path reachability, and OpenVEX.

Clone detection

clones

Exact (Type-1), bloom, and sub-function fragment clones.

Pull request review

review paths, review check

Structural before/after call-path inspection and PR gates.

Watch mode and incremental update

update, serve --watch

Keep the graph fresh without full rediscover.

Structured graph queries

find / callers / relations / …

Agent-facing graph exploration verbs.

Markdown context graph

discover -l markdown · export

Index docs, Obsidian/OKF export, fixture feature tour.

Agent pack

install --skill

Single skill install --skill; NL → CLI via references/workflows.md.

Blast radius analysis

blast-radius

Measure upstream impact before changing a function.

CI policy checks

check, pr-check

PR temporal gates and local policy checks.

Community detection

communities

Identify and label functional clusters in your codebase.

Discovering and indexing

discover

Build the knowledge graph from source code.

Exporting graphs

export

Serialize to JSON, GraphML, Graphviz, Mermaid, or Obsidian.

Graph metrics

metrics

PageRank, betweenness, and community detection analytics.

HTTP server and dashboard

serve

Run an HTTP API and browser-based dashboard.

Hybrid CPG

cpg

Combined call-graph + per-function CFG/PDG analysis.

Inspecting CFG, PDG, and dominance

inspect

Examine control flow, data dependence, and dominator trees.

Migration planning

discover --export-migration-hints

Generate a dependency-aware migration roadmap.

Program slicing

slice

Extract the minimal set of statements affecting a variable.

Semantic search

semantic

Natural-language search over function symbols.