statusline
Change the look of the status line - its style, its colors, among them the chat's (the person's and Claude's) - each shown before it is chosen. Use when the user wants another status line, other colors for it, or from `/repo:look`.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 3
- Forks
- 3
01 前言 Front Matter
- name
- statusline
- description
- Change the look of the status line - its style, its colors, among them the chat's (the person's and Claude's) - each shown before it is chosen. Use when the user wants another status line, other colors for it, or from `/repo:look`.
- argument-hint
- [a style] [a palette]
03 SKILL.md 正文
Talk to the user in their language. The choice is made with ion-repo's machine settings, nothing else is touched.
The status line is plugins/repo/scripts/statusline.py of ion-repo. Its style and its palette
are machine settings (ion repo set statusline=… statusline_palette=…), read at each redraw: a
change shows within 5 seconds, no restart. ion repo set without a value, run in ~ (a repo
ion-repo did not generate refuses it), lists the choices and the current ones.
-
Read the current choices:
cd ~ && ion repo set(linesstatuslineandstatusline_palette). -
With
$ARGUMENTS, a known style and/or palette is the choice: go to 4. -
Ask both with the AskUserQuestion tool, in one call, two questions.
<script>is the path in thestatusLinecommand of~/.claude/settings.json;python3 <script> --helplists its options.The style. Options: the current one first, then the others of
plain,band,classic,classic-band(none: no status line;custom: their own, left as it is, both through "Other"). Each option'spreviewis the script's own drawing of this repo for a sample session, plain text sized for the preview box:python3 <script> --preview --style <style>.The colors, a choice of hue, since the person picks a color, not a theme. Options:
chatfirst (the person's color and Claude's from the chat), then three one-hue palettes that stand apart, the current one among them if it is one; the question names the others. One-hue palettes:red,orange,yellow,green,teal,blue,violet,pink, a gray then the hue from the least to the most striking. "Other" takes any of them, or any paletteion repo setlists (the terminal themes,nord,dracula…).- A palette's name says nothing to the person: offer it by its colors, from
python3 <script> --levels(each palette's four levels in the current theme,#rrggbb). - Label: a one-hue palette's is its hue (
Bleu); the others name their four colors in plain words, in the user's language (Gris, jaune, orange, rouge).(Recommended)after the first. - Description: what each color means, one level each: all well (the neutral one, most of the
line), to watch (not urgent), to handle (fairly urgent), urgent (in French:
Normal,À surveiller,À traiter,Urgent), then the palette's name forion repo set. - Preview: the four levels, one a line, each with its color's name and hex.
chatadds that the person's color is theirs in the chat, and Claude's color (orange unless/repo:colorchanged it) Claude's.
A preview has no colors (the question shows plain text): say so in the colors question, the real colors showing at step 5.
- A palette's name says nothing to the person: offer it by its colors, from
-
ion repo set statusline=<style> statusline_palette=<palette>(only what changed). -
Ask whether it suits, the status line being redrawn already in its real colors; if not, back to 3. With
chat, say it follows/repo:color: a new color for their messages is the status line's too.
04 同仓库更多 Skills
worktree
Create a work branch in a ready-to-use git worktree. The normal way to start a branch, so as not to cross another session in the main tree.
update
Update ion-repo - the ion-repo tool of the machine and its plugins, then the open repo (ion repo update, on a branch merged right away into develop). Use when the user asks to update ion-repo, or accepts the update offered at session start.
token
Set up a service's credentials (PyPI, Stripe, an API, a host…) in a `.<service>/` folder at the repo root (`token`, chmod 600, and `config` on its scope), with one command that pastes the token unseen. Use when a task needs an API key or a token, or when the user wants to give one.
skill
Write or sharpen a skill of an Ion tool's plugin - intent, SKILL.md in the right craft's plugin, one trigger case, docs; tested with `claude plugin eval` only on request. Use when the user wants a new skill, to fix one, or to check one fires and does its job.
review
暂无简介
resize
Move a repo up or down ion-repo's sizes (tiny, small, medium, large) - what the new size brings or removes shown before the merge, the settings that go with it, ion repo set on a branch, merged. Use when the user asks to change a project's size, or it outgrew its size or is heavier than it needs.