Documentation

CLI & MCP Commands

Zero-GPU Structural & Convention Tools (0.85 ms warm p50, 0 GB GPU RAM)

Zero-GPU structural CLI tools (defs/impact/route/schema/context/review) answer in 0.85 ms warm p50 (1.63 ms warm p95, 3.46 ms cold p95, 22.5 ms cold max across 750 runs; 0 MB GPU memory, v4.7.0-beta.1).

  • localctx defs "<Symbol>" & localctx refs "<Symbol>" — Exact 12-language syntax definitions and references with zero comment or substring noise.
  • localctx impact "<symbol|file:line>" --hops 3 — Transitive incoming production callers, covering tests, direct callees, and scoped CLAUDE.md / AGENTS.md rules.
  • localctx tests "<file|symbol>" --cmd — Covering test/spec files plus exact runnable command across Rails, RSpec, Cargo, Go, Pytest, and Vitest.
  • localctx route "POST /cards/:id/closure" & localctx schema Card — Full Rails route-to-controller-to-Stimulus trace and ActiveRecord db/schema.rb + concern inspector.
  • localctx review [--staged] — Pre-commit diff check for dangling references to deleted symbols, unupdated callers, untested edits, applicable CLAUDE.md / AGENTS.md rules, and stale file paths inside instruction docs.
  • localctx triage [error.log] & localctx context "<task>" --budget 8000 — Stack-trace root-cause pinpointing and token-budgeted context packing.
  • localctx remember "<note>", localctx recall "<query>", localctx why <file:line>, localctx dead, localctx eval <probes.jsonl> — Project notes, git blame provenance, unreferenced symbol cleanup, and team accuracy harnesses.
  • localctx map [path] [--tokens 2000], localctx search "<query>", localctx status, localctx alias, localctx sync [--all], localctx cache ls|prune|rm, localctx doctor — Repository map, freshness, convention health, and diagnostics.

Local GPU Answers (Apple Metal, Zero Python)

  • localctx ask "<question>" — Cross-file control-flow and bug trace returning verbatim path:Lx-Ly source blocks plus matching repo conventions (6.58 s E4B / 8.03 s 26B warm p50; 4.36 s p50 on 26B with 50 uncommitted file edits).
  • localctx ask --batch questions.txt — Shared-prefix multi-question batch mode (1.83 s per question on 26B-A4B).