What is statusline?
statusline is a Claude Code mod by m-tababi that keeps the prompt cache warm with a tool-less fork shortly before it expires and shows the cache clock and a per-session switch in the prompt hint line (/keepalive on|off|status). It is listed under Cost & usage and has 1 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | m-tababi |
| Repository | m-tababi/statusline |
| Popularity | 1 GitHub stars |
| Category | Cost & usage |
| Security | Low risk (84/100) |
| Rank | #3,877 of 9,397 Claude Code mods; #656 in Cost & usage |
| License | MIT |
| Last commit | 2026-10-10 |
| Hooks | 9 events |
| Sees | classic hooks, compaction |
| Draws on | PromptHint |
Is statusline safe to install?
statusline scores 84/100 on the MCPMods security check: Low risk. Things to review: reads environment variables. It passed 6 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts no processes | Pass |
| Writes no files or config | Pass |
| Reads environment variables | Review |
| Only sees the events it hooks | Pass |
| Drives Claude (model calls, prompts) | Note |
| Passes claude plugin validate | Pass |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.after | |
$.clock.every | |
$.clock.now | |
$.command.register | |
$.env.get | reads env vars |
$.fs.read | reads files |
$.model.fork | drives Claude |
$.session.usage | |
$.settings.read | reads settings |
$.state.get | |
$.state.set | |
$.ui.invalidate | draws interface |
$.ui.resolve | draws interface |
$.ui.toast | draws interface |
How do I install statusline?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/m-tababi/statusline claude plugin validate ./statusline/.
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add m-tababi/statusline && claude plugin install statusline@statusline
Or ask Claude to set it up
Paste this into Claude Code and it installs statusline for you:
Install the "statusline" Claude Code mod from https://github.com/m-tababi/statusline. Run claude plugin validate on it first and show me what it can access before you enable it.