Skip to main content
All Features

Everything Vibgrate can do

From CLI scans and CI integration to interactive Vibgrate Cloud reports, migration tracking, and an AI Copilot — all your features in one place.

CLI

CLI features by role

Select your role to filter the CLI docs most relevant to you.

Developers
69 pages for this role
Filter by role
Developers: Understand your code's runtime health before it becomes a problem

Commands

All CLI commands and their options

49 pages

vg login

Sign the CLI into your Vibgrate workspace from the browser — no DSN to copy or paste.

CLI Docs

vg logout

Sign the CLI out of your Vibgrate workspace by clearing the stored login credential.

CLI Docs

vg init

Initialize Vibgrate in your project. Creates the .vibgrate directory and config file.

CLI Docs

vg scan

The primary CLI command. Scan for upgrade drift with multiple output formats and quality gates.

CLI Docs

vg scan --vulns

Detect known vulnerabilities in installed dependencies against the OSV database — online or air-gapped — with severity, CVSS, the fixing version, and git attribution.

CLI Docs

vg fix

Analyze drift and get ranked, risk-tiered upgrade plans. The report labels them Low-risk, Balanced, and Full; --plan takes safe, balanced, and aggressive. Scored on real-world exploitability. Preview with --no-apply or --dry-run; apply with --yes or --plan.

CLI Docs

vg code

VG Code — propose a minimal, graph-grounded code edit for a plain-language instruction, routed to a local or hosted model you choose. Dry-run by default; never writes without your consent.

CLI Docs

vg why

Trace a dependency through git history — who added it, every version since, and any open vulnerabilities it carries.

CLI Docs

vg bisect

Pinpoint the commit where a dependency crossed a version line — when a fix was adopted, or never was — and gate CI on it.

CLI Docs

vg baseline

Create drift baseline snapshots for delta comparison and fitness functions.

CLI Docs

vg report

Generate reports from scan artifacts in Markdown, text, JSON, or HTML.

CLI Docs

vg review

Vibgrate Review — architecture and security-control review of the change you just made, run locally from the code map. Produces a signed, versioned receipt, not model prose. Reports change integrity; it does not prove code is secure.

CLI Docs

vg sbom

Export CycloneDX or SPDX SBOMs, compare dependency deltas, and generate OpenVEX documents.

CLI Docs

vg evidence

Vibgrate Evidence — register products, freeze shipped-release manifests, and answer which shipped products contain a vulnerability as signed, offline-verifiable evidence. Jurisdiction-neutral (EU CRA first).

CLI Docs

vg locale

Vibgrate Localize — manage your application's translations from the command line. Push the locale files in your repo to Vibgrate Cloud, translate, then pull accepted translations back. Formatting and config are free on every plan.

CLI Docs

vg push

Upload scan results to Vibgrate Cloud for team visibility and trend analysis.

CLI Docs

vg dsn create

Generate HMAC-signed DSN tokens for authenticating dashboard uploads.

CLI Docs

vg update

Check for and install CLI updates.

CLI Docs

vg build

Build or update the code map incrementally. Maps source code into a graph artifact that powers all downstream queries — vg show, vg ask, vg impact, and more.

CLI Docs

vg show / vg show arch

Explain a single code node: what it is, what it calls, what calls it, and its architecture role. vg show arch opens the same graph as a local, interactive architecture map; vg show savings opens the live compression savings page.

CLI Docs

vg ask

Ask the code map a question using hybrid lexical + structural + semantic search. Returns a budget-bounded context block ready to paste into any AI assistant — fully offline after first use.

CLI Docs

vg impact

What breaks if you change a node? Deterministic structural blast radius using reverse reachability and decay confidence. With --tests, surfaces exactly the tests to run before shipping.

CLI Docs

vg path

Show how node A connects to node B — the shortest path in the call graph.

CLI Docs

vg tree

The call tree rooted at a node — callees by default, callers with --callers. Depth-bounded and cycle-safe.

CLI Docs

vg drift

What is outdated across your dependencies. Offline by default (inventory plus installed versions); --online queries the registry for the latest, and --fail-on gates CI on version or standards violations.

CLI Docs

vg guide

Cited, relevant standards and practices for a node in your code map — a free pack of guidance attached to the symbol you name.

CLI Docs

vg unknowns

What the code map cannot resolve, ranked by blast radius — so you can see exactly where the graph is incomplete and how much depends on those gaps.

CLI Docs

vg models

Code Modes (Spark / Flow / Forge) plus the local model fleet — Ollama, LM Studio, and gguf files. Fit-aware pack install for VG Code; install and pull run when you invoke them (pass --dry-run to preview).

CLI Docs

vg savings / vg show savings

A local, privacy-safe report of the tokens and dollars saved — the grep baseline for code-map queries, and context compression by window, model and client. vg show savings opens the same numbers as a live local page; --benchmark measures the compressors offline.

CLI Docs

Context compression

Shrink tool output and older turns before they reach the model, keep every original retrievable on your machine, and see what it saved. No new verbs: vg serve --compress, vg install <agent> --compress, and vg savings. Works with Claude Code, Codex, Cursor, Copilot, Aider, and more.

CLI Docs

vg bundle

Build a self-contained, air-gapped bundle — parser grammars, your code map, and the library catalog — so Vibgrate runs with no network at all.

CLI Docs

vg map / vg hubs / vg areas / vg oddities

Map-level insights: overview, most-depended-on hubs, natural code groupings (communities), and surprising cross-area links (architectural smells).

CLI Docs

vg lib

Usage docs for one library. The version label follows the lockfile pin when that file lists the package.

CLI Docs

vg serve

Start Vibgrate AI Context — the local, offline MCP server that serves your code map, drift, and version-correct library docs to any AI assistant. Add --compress and the same process also shrinks tool output and older turns before they reach the model. No account, nothing uploaded.

CLI Docs

vg install / vg uninstall

Add or remove Vibgrate AI Context on your AI assistant — skill, MCP wiring, advisory nudge, and optionally compression routing (--compress) and learned guardrails (--learn). Idempotent and repo-local. Detects assistants in use, or installs for all 20+ supported tools; vg uninstall is the single revert.

CLI Docs

vg share

Make the code map committable and auto-updating for your team. Installs a pre-commit hook, deterministic merge driver, and .gitignore.

CLI Docs

vg status

Graph freshness, node/edge counts, staleness, and resolver rungs used. Compares the committed graph against the current working tree.

CLI Docs

vg watch

Rebuild the code map when source files change (debounced). Useful for long agent sessions and live map freshness without a full rebuild each time.

CLI Docs

vg facts

Deterministic open facts for a node — contract, invariant, characterization. Epistemic-typed: declared/static through to observed/derived.

CLI Docs

vg tests

Which tests cover a node via call or coverage linkage. --missing shows untested nodes nearby. --run prints (or --exec runs) the minimal command to exercise exactly those tests.

CLI Docs

vg embed

Precompute the semantic index so the next vg ask is instant. Local ONNX model downloaded once into a shared cache — fully offline after first run.

CLI Docs

vg export

Export the code map in various formats: JSON, GraphML, Graphviz DOT, Neo4j Cypher, Markdown, HTML, CycloneDX SBOM, or SPDX.

CLI Docs

vg doctor

One read-only diagnostic pass: config file, credentials (redacted), map freshness, hosted catalog reachability, MCP launch shape, and telemetry opt-outs. Prints state; changes nothing.

CLI Docs

vg lsp

Start the Vibgrate language server over stdio — the shared engine behind Vibgrate for VS Code and other thin IDE clients. Editors spawn this; humans rarely run it by hand.

CLI Docs

vg daemon

Local workspace daemon for multi-root graph sessions used by IDE extensions and agents: start, ensure, register workspaces, publish the map, and query impact without mutating repos.

CLI Docs

vg policy

Show the production context-policy pin used by VG Code ranking, and verify a signed context-policy patch file before any release that would bump it.

CLI Docs

vg llm-host

Isolated inference host process for enterprise isolation: load weights and decode over a local socket. Code Modes and install stay on vg models; management never moves into the host.

CLI Docs

vg hcs

Holistic Code Specification: extract deterministic code facts from Rust, Ruby, PHP, Dart, Swift, Scala, C++, COBOL, and VB6, then render, map, gate, and validate that fact stream.

CLI Docs

vg module

Manage the optional local modules the CLI can load — relevance, the Architecture module, and the HCS engine. Install fetches an integrity-checked tarball into the Vibgrate cache; nothing in your project is touched.

CLI Docs

Scanners

How each scanner analyses your code

16 pages

Extended Scanners Overview

Beyond core drift scoring — platform matrix, dependency graph, security posture, and more.

CLI Docs

Platform Matrix Scanner

Collect platform and architecture signals that predict where builds will break.

CLI Docs

Dependency Risk Scanner

Risk classification for deprecated packages, native modules, and platform-specific dependencies.

CLI Docs

Dependency Graph Scanner

Lockfile analysis for duplicate packages, phantom dependencies, and workspace graphs.

CLI Docs

Tooling Inventory Scanner

Map your full technology stack by detecting packages across categories.

CLI Docs

Build & Deploy Scanner

Detect CI/CD systems, containerization, and infrastructure-as-code.

CLI Docs

TypeScript Modernity Scanner

Analyze tsconfig.json for strictness, module system, and ESM readiness.

CLI Docs

Breaking Change Exposure Scanner

Flag packages and patterns known to cause upgrade pain.

CLI Docs

File Hotspots Scanner

Lightweight complexity analysis using filesystem metadata only.

CLI Docs

Security Posture Scanner

Structural security hygiene — lockfiles, .gitignore coverage, audit counts.

CLI Docs

Security Scanners Scanner

Local security scanner orchestration and readiness analysis.

CLI Docs

Service Dependencies Scanner

Map external service and platform dependencies by detecting SDK packages.

CLI Docs

Architecture Layers Scanner

Classify source files into architectural layers and detect project archetypes.

CLI Docs

Code Quality Scanner

Fast AST-based quality checks for cyclomatic complexity and upgrade friction hotspots.

CLI Docs

OWASP Category Mapping

Map security findings into OWASP Top 10 categories for triage.

CLI Docs

Database Schema Scanner

Table and column structure from Prisma, SQL migrations, Drizzle, and TypeORM — never a query, a row, or a credential.

CLI Docs

Ready to start scanning?

Install the CLI in under a minute and run your first drift scan.