newtonmunene99/claudekit/tree/main/plugins/autoname
autoname
이름 없는 세션을 Haiku가 생성한 kebab-case slug로 /rename하고 일치하는 /color를 설정하는 Claude Code plugin입니다. 세션마다 한 번 백그라운드에서 실행됩니다.
이 mod 소개
이름 없이 남은 Claude Code 세션의 이름을 지정하므로 /rename과 /color를 직접 실행할 필요가 없습니다. 이름이 없는 세션의 주 턴이 끝나면 대화 기록(처음 세 프롬프트와 최신 프롬프트, 슬래시 명령과 이미지 placeholder 제외, 약 300 tokens)에서 2-4단어 kebab-case slug를 만들도록 Haiku에 요청합니다. 텍스트가 충분한 턴을 기다린 다음 /rename <slug>와 /color <colour>를 실행하고 slug에서 색상을 결정적으로 고릅니다. 백그라운드에서 실행되며 세션이 idle 상태가 될 때까지 명령을 대기열에 넣습니다. 이미 이름이 있는 세션은 바꾸지 않고, subagent 턴은 건너뛰며, 세션마다 한 번만 시도합니다. mod 지원(function hooks)이 있는 Claude Code 빌드가 필요합니다. 옵션 color(기본값 켜짐)는 세션 색상도 설정합니다.
설치
먼저 작성자의 README에서 marketplace와 플러그인 이름을 확인하세요. 저장소 구조에 따라 명령어가 달라질 수 있습니다.
claude plugin marketplace add newtonmunene99/claudekit claude plugin install autoname
원문 / README
autoname
Names a Claude Code session that was left unnamed, so you don't have to /rename and /color by hand.
After a main turn of a session with no name, it asks Haiku for a 2–4 word kebab-case slug from the transcript: your first three prompts and the latest, without slash commands or image placeholders (about 300 tokens). It waits for a turn with enough text to name from. Then it runs /rename <slug> and /color <colour>. The colour is picked from the slug, so the same name always gets the same colour. It runs in the background; the commands queue until the session is idle and show in the transcript like typed ones.
It never renames a session that already has a name (from /rename, or a name Claude Code reports at session start or with a prompt), it skips subagent turns, and it tries once per session.
Needs a Claude Code build with mod support (function hooks).
Options
| Option | Default | What it does |
| :----- | :------ | :----------- |
| color | on | Also set the session colour with /color |
Set with /config or /plugin configure autoname@claudekit.
