YAS! (Yet Another Statusline)
🌈 Check out the official landing page here: YAS! Yet Another Statusline
Most common form is displaying the first few rows, which include the loaded plugins & skills. Extra sections appear below them as needed
Install/Update
Requires Python 3.10+, and a Nerd Font to render the icons.
curl -fsSL https://raw.githubusercontent.com/tmck-code/yet-another-statusline/main/ops/install.sh | bash
YAS also runs a UserPromptSubmit hook (yas-prompt-hook.py) that records
per-session prompt timestamps, enabling accurate turn-scoped subagent display.
A plugin install registers it through the plugin's own hooks/hooks.json, so the
installer keeps it out of settings.json (and removes a copy an older installer
wrote there). For a git-clone install, or with the plugin disabled, the installer
upserts it into settings.json instead: foreign hooks are preserved, stale paths
are rewritten on upgrade, and it is removed on uninstall.
Or install manually:
claude plugin marketplace add tmck-code/yet-another-statusline#main
claude plugin install yas@yet-another-statusline
claude -p "/yas:init"
If you need to install non-interactively (e.g. in CI/docker)
curl -fsSL https://raw.githubusercontent.com/tmck-code/yet-another-statusline/main/ops/install.sh | YAS_NO_TTY=1 bash
# install with specific python version e.g. 3.15
curl -fsSL https://raw.githubusercontent.com/tmck-code/yet-another-statusline/main/ops/install.sh | YAS_NO_TTY=1 YAS_PYTHON=3.15 bash
Upgrading — the yas/ layout move
Everything YAS writes except yas.toml now lives under a single
$CLAUDE_CONFIG_DIR/yas/ subtree (yas/cache/ and yas/state/). The migration
runs automatically — eagerly when you re-run ops/install.sh, lazily on the
first render otherwise — and is a one-off; afterwards the check costs one
stat().
Day-total token counts and the last-prompt handshake are moved and survive
the upgrade. Rate-limit history, render timings, the transcript parse cache and
mon's per-session payloads are regenerated rather than moved, so expect a
brief cold start after the first upgrade: the t/m rate and sparkline, the
render-time figure and mon's session list start out empty and refill within
one render tick to about five minutes, depending on the item.
Reconfigure later — /yas:config
Run /yas:config any time to re-run the wizard against the already-installed
plugin — switch theme/glyph mode, toggle labels, change the soft limit, or move
to Python 3.15. It re-wires settings.json without re-registering the
marketplace or reinstalling the plugin.
Demo
A dummy session to demonstrate the layout:
Widths
The statusline also renders differently according to available width
| mode | width | screenshot |
|---|
| "medium" | <=80 pixels |  |
| "narrow" | <=55 pixels |  |
Configuration
Every configurable knob resolves through one fixed precedence chain (highest wins):
CLI flag → canonical YAS_* env var → legacy-alias env var → yas.toml → built-in default
The first source in that chain that is present and valid wins; an absent or
invalid source falls through to the next (an empty-string env var counts as
absent). Canonical YAS_* env vars always win over their deprecated legacy
aliases when both are set — the aliases keep working but are deprecated.
Knobs