Skip to content

Custom Claude Code statusline configuration with installer

Notifications You must be signed in to change notification settings

writeAheadLog/wal-claude-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wal-claude-code

Personal Claude Code configuration: custom statusline and CLAUDE.md guidelines.

What's Included

CLAUDE.md

Global instructions for Claude Code covering:

  • TDD (Red/Green/Refactor) and Tidy First principles
  • SOLID, YAGNI, DRY, KISS design principles
  • Design pattern guidelines and anti-patterns
  • Language-specific conventions (Python, Rust, TypeScript)
  • Commit discipline (structural vs behavioral changes)

Installed to ~/.claude/CLAUDE.md (applies to all projects).

Custom Statusline

myproject main* [session] concise Claude Opus 4.6 ctx:15% total:24.5k↓/18.2k↑ msg:3.1k↓/2.4k↑ $0.0234 21:34:15
Item Color Example
Directory Blue myproject
Git branch + dirty Grey main*
Session name Grey [my-session]
Output style Orange concise
Model name White Claude Opus 4.6
Context usage Green / Red (<20% remaining) ctx:15%
Session total tokens Cyan total:24.5k↓/18.2k↑
Current message tokens Magenta msg:3.1k↓/2.4k↑
Estimated session cost Yellow $0.0234
Time (24h) Grey 21:34:15

Requirements

  • jq - JSON processor
  • bc - Calculator (usually pre-installed)
  • git - For git status display

Install

git clone https://github.com/writeAheadLog/wal-claude-code.git
cd wal-claude-code
zsh install.sh

Then restart Claude Code.

Uninstall

cd wal-claude-code
zsh uninstall.sh

Manual Install

  1. Copy CLAUDE.md to ~/.claude/CLAUDE.md
  2. Copy statusline-command.sh to ~/.claude/statusline-command.sh
  3. Run chmod +x ~/.claude/statusline-command.sh
  4. Add to ~/.claude/settings.json:
{
  "statusLine": {
    "type": "command",
    "command": "/YOUR/HOME/.claude/statusline-command.sh"
  }
}
  1. Restart Claude Code

About

Custom Claude Code statusline configuration with installer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages