statusline
by Erick Fuga · ★ 0 · updated 3 days ago
A vim-style status bar in the Claude Code footer: editor mode, permission mode, model, effort, git state, usage and cursor; numbers the draft's lines and keeps the prompt box taller.
Install
/plugin marketplace add thefuga/claude-x/plugin install statusline@claude-xThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
What it hooks into
From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.
- Events
session.startclassic.SessionStartclassic.UserPromptSubmitclassic.PostToolUseclassic.Stopclassic.PostModelSwitchsession.measureconfig.setclassic.ConfigChangecommand.runprompt.editui.statusui.renderui.message- API calls
$.clock.after$.clock.every$.clock.sleep$.command.register$.config.list$.env.get$.fs.exists$.process.run$.prompt.read$.session.id$.session.model$.session.root$.session.usage$.session.version$.settings.read$.state.get$.state.set$.store.get$.store.set$.ui.log$.ui.resolve- Draws
AbovePromptPromptHintSessionMode- Can see
classic hooks- Reach
- level 2 of 3 other: $.prompt.readother: $.state.getother: $.state.setruns processesreads filesreads env varsreads settingspersists statedraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/thefuga/claude-x
- Path in repo
mods/statusline- Source commit
bd85bacthe exact code the scan read- Author
- Erick Fuga @thefuga
- License
- MIT
- First published
- Last pushed
- First listed here
Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.
More from thefuga/claude-x
attachments
thefuga/claude-x
The draft's attachments as chips above the prompt: each pasted picture, pasted text, @-mentioned file or folder and, with the issues mod, @# issue, with a glyph for its type, its path and what it is, and a × to take it out of the draft.
issues
thefuga/claude-x
Finds the repository's GitHub issues as @# is typed in the prompt, as opencode.vim does: a list above the prompt filtered by number or title, picked with a click or Ctrl+X Tab, and each @#N sent with the issue for the model to read.
stfu
thefuga/claude-x
Drops the whimsical word from the line that runs while Claude works and from the one that closes a turn, leaving the elapsed time, tokens and duration where Claude Code draws them.
syntax
thefuga/claude-x
Colors the prompt's draft as it is typed: its markdown, the code in its fences, and in shell mode the command.
vim
thefuga/claude-x
A vim command line for Claude Code: :w and :e keep a draft per session, :q quits (! to force), and any other name runs that slash command, with Tab completion. Opened by the focus chord for the area above the prompt; drawn in the statusline mod's bar.