Back to articles
[Claude Code] Super Simple Statusline
How-ToTools

[Claude Code] Super Simple Statusline

via Dev.toVarun D

Official documentation Tested on Mac 1. Install jq command line tool JQ makes json parsing easier JQ installation 2. Enable statusline in Claude Code settings Modify your settings.json file found in top level .claude folder ~/.claude/settings.json. If the file doesn't exist, create it . Enable statusline { "statusLine" : { "type" : "command" , "command" : "~/.claude/statusline.sh" , "padding" : 2 } } 3. Create statusline file and make it executable Create statusline.sh file in the same folder You can name it anything but make sure file path is the same in "command" in the settings. touch ~/.claude/statusline.sh Make it executable chmod +x ~/.claude/statusline.sh Write the statusline script to statusline.sh This Super Simple Statusline file shows Model Name, input token count, output token count and context % progress bar. #!/bin/bash # Read JSON data that Claude Code sends to stdin # Remember to install jq to extract data from json string, makes it easier # You can piple json in text f

Continue reading on Dev.to

Opens in a new tab

Read Full Article
3 views

Related Articles