Status Line Anywhere

Status line in Claude Desktop

·

source at 20874c7

·

MIT license

Shows the Claude Code status line you already have above the prompt in Claude Desktop, which doesn't draw custom status lines. The terminal is left as it is.

16 installs

What this mod can do

  • Reviewed at commit 20874c7
  • Runs programs
  • Reads environment variables
2 more things it can do
  • Reads your settings
  • Runs on a timer
Good to know (3)
  • You need a statusLine command set up already. The mod shows yours and doesn't come with one.
  • Not on Windows yet, since it runs your command through sh. Links in the output show as plain text.
  • Fields a plugin can't see (lines changed, PR, vim mode, prompt cache, effort, output style) stay blank.
Are mods safe?

Preview

Terminal

Draws nothing in the terminal.

Claude Desktop

Status Line Anywhere in Claude Desktop

What it does

In the author's words

Shows your Claude Code status line in the Claude Desktop app. Runs the statusLine command you already have and draws its output above the prompt. Changes nothing in the terminal.

What you see
Your status line above the prompt in Claude Desktop
Works in
Claude Desktop
Slash commands
None
Uses your tokens
No
Changes files
Only through programs it runs
Network access
None from the mod. Your own command may fetch data.
Reviewed commit
20874c7
Preview recorded with
Claude Code 2.1.309

How it works

  1. Runs when a session starts, after each reply, and every 60 seconds (or refreshInterval)
  2. Reads your statusLine command plus session facts such as model, cost and token counts
  3. Runs the command with sh -c, sending the same kind of JSON Claude Code sends on stdin
  4. Draws the output in color above the prompt, only outside the terminal

Common questions

Why doesn't my status line show in Claude Desktop?

Claude Desktop doesn't draw custom status lines (claude-code issue #41456). Status Line Anywhere runs the statusLine command from your settings and draws its output above the prompt in Desktop's Code sessions.

Does my status line script need changes to work in Claude Desktop?

No. The mod sends your command the same kind of JSON Claude Code sends on stdin, so the script you use in the terminal works as it is. A few fields a plugin can't see are left out: lines changed, PR, vim mode, prompt cache, effort and output style.

How often does the status line refresh in Claude Desktop?

When a session starts, after each reply, and every 60 seconds, or every refreshInterval seconds if you set one. The mod stops your command if it runs longer than 10 seconds.

Does it change my status line in the terminal?

No. It only draws outside the terminal, because Claude Code already shows your status line there.

Badge for your README

Own this listing? Add it to your README. The badge shows the install count as it grows.

Reviewed on statuslin.es
[![Reviewed on statuslin.es](https://statuslin.es/badge/mods/statusline-anywhere.svg)](https://statuslin.es/mods/statusline-anywhere?utm_source=readme-badge)

Or show the preview card:

Preview on statuslin.es
[![Preview on statuslin.es](https://statuslin.es/og/mods/statusline-anywhere.png)](https://statuslin.es/mods/statusline-anywhere?utm_source=readme-badge)