Skip to main content

Install Statusline

SessionStartsessionEnabled by default

Installs the tonone statusline into Claude Code settings, backing up any existing configuration.

Why use this

Claude Code updates can reset statusline settings. This hook re-applies the tonone statusline at every session start so you never lose visibility into what's running.

Lifecycle

Where in the Claude Code session this hook fires.

SessionStart
PreToolUse
PostToolUse
Stop
Notification
Session Start

Fires once when a Claude Code session opens.

How it works

Patches ~/.claude/settings.json to set the statusLine command to tonone-statusline.js. Creates a timestamped backup of any pre-existing statusline config before overwriting.

settings.json

What the hook configuration looks like in ~/.claude/settings.json after install.

~/.claude/settings.json
{
  "hooks": {
    "SessionStart": [
      {
        "hooks": [
          {
            "type": "command",
            "command": "bash ~/.claude/plugins/tonone-ai/tonone/install-statusline.sh"
          }
        ]
      }
    ]
  }
}

Install

This hook

Install Install Statusline

1. Add to marketplace

$ claude plugin marketplace add tonone-ai/tonone

2. Install this hook

$ claude plugin install install-statusline@tonone-ai

More session hooks

All hooks

Ready to use Install Statusline?