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
- It’s recommended to disable auto-compact and “micromanage” the context window of each session, unless you need very long sessions in YOLO mode.
- Add
"showClearContextOnPlanAccept": trueto 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+Rto search prompt history, andEscto modify the selected prompt.
Reference system prompts
Never … unless it is absolutely and unambiguously relevant to the user’s query.
Links:
Reference prompts
- https://code.claude.com/docs/en/prompt-library
- https://github.com/obra/superpowers
- https://github.com/addyosmani/agent-skills
System prompt evolution
https://github.com/marckrenn/claude-code-changelog (all-in-one)