CCometixLine

# https://docs.claude.com/en/docs/claude-code/setup
curl -fsSL https://claude.ai/install.sh | bash
 
# fancy statusline
git clone https://github.com/Haleclipse/CCometixLine.git
cd CCometixLine
cargo build --release
 
mkdir -p ~/.claude/ccline
cp target/release/ccometixline ~/.claude/ccline/ccline
chmod +x ~/.claude/ccline/ccline
 
 
# then edit your `.claude/settings.json` https://docs.claude.com/en/docs/claude-code/statusline
{
  "statusLine": {
    "type": "command",
    "command": "~/.claude/ccline/ccline",
    "padding": 0
  },
  "env": {
    "CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1"
  }
}

Short-lived node process

CCometixLine calls npm view, which fetches the latest Claude Code version from the npm registry - this happens when the usage segment is enabled.

Config

  1. It’s recommended to disable auto-compact and “micromanage” the context window of each session, unless you need very long sessions in YOLO mode.
  2. Add "showClearContextOnPlanAccept": true to config to show the “clear context” option when exiting plan mode. This was made disabled by default because 1m context window had gone GA, but large context window burns tokens faster than before.

Keyboard shortcuts

  • Ctrl+R to search prompt history, and Esc to modify the selected prompt.

Reference system prompts

Never … unless it is absolutely and unambiguously relevant to the user’s query.

Links:

Reference prompts

System prompt evolution

https://github.com/marckrenn/claude-code-changelog (all-in-one)

https://github.com/asgeirtj/system_prompts_leaks/blob/4eb4701ae5bb21fddb3c0cb865e100eb52e2b96d/Anthropic/claude-code/claude-code-fable-5.1.md (per-model)