Skip to content

health

Run /health (or /doctor) to print a diagnostic overview of the current session. The output renders inside a rounded border box as a tree-style layout covering seven sections:

SectionWhat it shows
SessionID, file, name, CWD, branch/entry counts
ModelProvider, ID, context window, max output, reasoning, thinking level, input modalities
ContextToken usage with percentage, OK / Warning / Critical status
ToolsActive vs total count, active tool names
CommandsRegistered count with per-source breakdown
ExtensionsActive theme name
EnvironmentTallow version, framework version, Node version, platform, install mode, build freshness, executable path, and home/package directories
CommandDescription
/healthShow session diagnostics
/doctorAlias for /health

Session health diagnostics showing session, model, context, tools, commands, extensions, and environment sections

The output adapts to terminal width:

  • < 80 columns — single column, sections stacked vertically
  • 80–159 columns — two columns side-by-side
  • ≥ 160 columns — three columns

Long values (e.g. tool lists) are truncated with to prevent overflow.

The Environment section also shows how the current CLI was launched:

  • Installpublished package, linked local checkout, or source checkout
  • Build — whether a local checkout is fresh or stale
  • Exec / Exec→ — the invoked executable path and its resolved realpath
  • Package / Package→ — the configured package directory and its resolved realpath

This is the quickest way to confirm whether tallow is running from an installed package or a linked local checkout with stale dist/ output.

StatusCondition
OK≤ 50% context used
Warning51–80%
Critical> 80%