Skip to main content

bsg Command

Render BSG outputs in multiple formats.

BSG Options​

FlagDefaultDescription
--modecompressedRendering mode: compressed, full, hierarchical
--budget12000Token budget for compressed mode

Examples​

# Generate full bsg with signatures
batho bsg --root . --mode full

# Generate hierarchical directory view
batho bsg --root . --mode hierarchical

# Generate compressed bsg for LLM injection
batho bsg --root . --mode compressed --budget 12000
ModeBest forOutput File
FullDeveloper reference with signatures + line numbersbsg_full.json
HierarchicalDirectory-tree overviewsbsg_hierarchical.json
CompressedLLM prompt injection (4K–40K tokens)bsg_compressed.json