Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

claude-code-config

Claude Code のカスタム設定スクリプト集。

statusline

Claude Code のステータスライン(画面下部のバー)に モデル名effortコンテキスト使用率 を表示するスクリプト。

Opus 4.6 | high | 42%

セットアップ

~/.claude/settings.json に以下を追加:

{
  "statusLine": {
    "type": "command",
    "command": "/path/to/claude-code-config/statusline/statusline.py --threshold 70",
    "refreshInterval": 5
  }
}

スクリプトに実行権限を付与:

chmod +x statusline/statusline.py

オプション

オプション デフォルト 説明
--threshold <N> 70 コンテキスト使用率が N% 以上になると ! を表示

しきい値を変更する場合は command にオプションを追加:

"command": "/path/to/statusline.py --threshold 80"

表示フォーマット

<model> | <effort> | <context%>[!]
フィールド 備考
model Opus 4.6 モデルの表示名
effort high 未設定時は省略
context% 42% コンテキストウィンドウ使用率。--threshold(デフォルト70%)以上で ! 付与

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages