crystools-statusline — плагин для Claude Code: статус-строка сессии
Показывает расход контекста, состояние git, стоимость сессии и лимиты прямо в статус-строке Claude. Две строки вместо догадок о том, сколько ещё влезет.
/plugin marketplace add anthropics/claude-plugins-community
/plugin install crystools-statusline@claude-communityЧто делает crystools-statusline
Плагин заменяет стандартную статус-строку Claude на свою: контекстное окно, ветка и изменения git, цена текущей сессии, лимиты запросов, статистика кэша. Всё умещается в две строки, а набор мониторов можно посмотреть через help после команды.
После установки запустите /crystools-statusline — плагин пропишет statusLine и CRYSTOOLS_SL_ICONS в ~/.claude/settings.json. Claude спросит разрешение на чтение и правку этого файла, а ещё на find, чтобы найти statusline-command.sh в папке плагина. Иконки бывают трёх видов: nerd, emoji (по умолчанию) и none — простой текст.
Скрипту нужен jq для разбора JSON: на macOS это brew install jq, на Linux и WSL — sudo apt install jq. Для ветки, статуса и отставания от ветки нужен git. Windows в CMD или PowerShell не поддерживается — только Linux, macOS и WSL. Если ставите режим nerd, заранее настройте терминал на Nerd Font, иначе вместо иконок увидите мусор.
Какие задачи решает
- увидеть, сколько контекстного окна уже занято
- проверить ветку и незакоммиченные изменения, не выходя из сессии
- оценить стоимость текущей сессии
- следить за лимитами запросов
- посмотреть статистику попаданий в кэш
Примеры запросов агенту
- Настрой статус-строку: запусти
/crystools-statusline - Покажи список мониторов:
/crystools-statusline help - Переключи иконки на nerd через
CRYSTOOLS_SL_ICONS
Как установить crystools-statusline
Через маркетплейс плагинов
/plugin marketplace add anthropics/claude-plugins-community/plugin install crystools-statusline@claude-communityПо шагам, с командами для каждой платформы: Плагины Claude Code: маркетплейсы, установка и как собрать свой
Вопросы о crystools-statusline
Как установить crystools-statusline в Claude Code?
Сначала добавьте маркетплейс: /plugin marketplace add anthropics/claude-plugins-community, затем установите плагин: /plugin install crystools-statusline@claude-community. После этого внутри Claude выполните /crystools-statusline, чтобы настроить статус-строку.
Что делает crystools-statusline?
Заменяет статус-строку Claude на две строки с расходом контекста, состоянием git, стоимостью сессии, лимитами и статистикой кэша. Набор мониторов выводится командой help.
Что нужно для работы плагина?
jq для разбора JSON и git для данных о ветке и изменениях. Поддерживаются Linux, macOS и WSL; Windows в CMD или PowerShell — нет.
Исходный текст
SKILL.md · MIT
# Crystools-StatusLine Claude Code plugin with productivity tools: status line, utilities, and workflow enhancements.  ## Install ```bash claude plugin marketplace add crystian/mia-marketplace claude plugin install crystools-statusline@mia-marketplace ``` Then inside Claude Code, run `/crystools-statusline` to set up the status line. ### Status Line Preview Supports three icon modes: **nerd**, **emoji** (default), and **none** (plain text).  ### Help There are these monitors (use `help` after the command to see it):  ### Permissions During setup, Claude Code will ask for permission to: - **Read** `~/.claude/settings.json` — to check if the status line is already configured - **Edit** `~/.claude/settings.json` — to add the `statusLine` and `CRYSTOOLS_SL_ICONS` configuration - **Bash (find)** — to locate the [`statusline-command.sh`](./scripts/statusline-command.sh) script in the plugin installation directory ## Platform Support | Platform | Status | |----------|--------| | **Linux** | Supported | | **macOS** | Supported | | **WSL** | Supported (developed on WSL) | | **Windows (CMD/PowerShell)** | Not supported | ## Requirements ### jq The status line script requires [jq](https://jqlang.github.io/jq/) to parse JSON input. | Platform | Command | |----------|---------| | **macOS** | `brew install jq` | | **Linux / WSL** | `sudo apt install jq` | ### git Required for branch, status, and ahead/behind info. ## Nerd Font Install some Nerd Font from the [Nerd Font](https://www.nerdfonts.com/) on your system, and configure your terminal to use it. The status line will automatically use the appropriate icons when `CRYSTOOLS_SL_ICONS` is set to `nerd`. ## License MIT --- Made with <3 by [Crystian](https://github.com/crystian)
© crystian · MIT · crystian/crystools-statusline