names
Choose the names above the chat's messages - the person's, their Claude's, a task's or another session's - by default their git name, Claude and each one's own. Use when the user wants another name for themselves, Claude or a gray message in the chat, or from `/repo:look`.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 3
- Forks
- 3
01 前言 Front Matter
- name
- names
- description
- Choose the names above the chat's messages - the person's, their Claude's, a task's or another session's - by default their git name, Claude and each one's own. Use when the user wants another name for themselves, Claude or a gray message in the chat, or from `/repo:look`.
- argument-hint
- [the person's name] [Claude's name]
03 SKILL.md 正文
Talk to the user in their language; nothing outside ~/.claude/ is touched.
The mod chat.tsx writes the person's name above their messages and Claude's above its replies.
It reads them from ~/.claude/chat-names.json ({"person": "...", "claude": "...", "others": {"task-notification": "..."}}, each key optional); a missing or empty key falls back to the real
name: git config user.name for the person, Claude for Claude, and for a message that came from
elsewhere (gray bar) the name it shows by itself (task-notification, a session's name…), the key
of others.
- Read
~/.claude/chat-names.json(absent:{}) andgit config user.name. - With
$ARGUMENTS, the first word is the person's name, the rest Claude's: go to 3. Otherwise ask both with the AskUserQuestion tool, in one call, two questions:- how the person wants to be called: their real name first, as
<git name> (Recommended), then the first name it holds when it differs (antoine-tenagivesAntoine), then the current choice if it is another one. "Other" takes any name typed. - how their Claude should be called:
Claude (Recommended)first, then the current choice if it is another one. "Other" takes any name typed. Only when the user asks for it, or names a gray message: ask, per name it shows by itself, the name it takes, its own name first as<name> (Recommended). Without$ARGUMENTSin that case, ask that alone.
- how the person wants to be called: their real name first, as
- Write
~/.claude/chat-names.json(python3 -Iwithjson, indent 2,ensure_ascii=False): a real name chosen is left out of the file, so a later change ofgit config user.namefollows; a gray message given back its own name leavesothers, emptyothersremoved. No key left: remove the file. Whenchezmoi source-path ~/.claude/chat-names.jsonanswers,chezmoi re-addit and say chezmoi's repo has it to commit. - The mod reads the names again within ten seconds: the next message shows them. Ask whether they suit; if not, back to 2.
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.
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`.
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
暂无简介