CLI

larkx stats

See project size and AI token estimates.

Usage

bash
larkx stats

Output

example
Project Stats
  Files:        342
  Functions:    1,847
  Classes:      89
  Edges:        4,612
  Last indexed: 2 minutes ago
  Languages:    typescript (320), javascript (22)
  Frameworks:   next

AI Token Estimates (per get_project_index call)
  Level 1 (paths     ): ~1.2K tokens
  Level 2 (symbols   ): ~8.5K tokens
  Level 3 (signatures): ~16K tokens
  Level 4 (summaries ): ~24K tokens

  Reading all files would cost ~480K tokens (rough estimate).

Use it for

  • Sanity-checking that index ran correctly
  • Deciding which context level your AI should use
  • Confirming framework auto-detection worked