claude-rename-color
The rename-color mod for Claude Code: /rnc renames and colors a session in one command.
Safety scan
A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.
Check it deeper on your machine
It has changed since its scan on 18 Nov 2026.
As a Claude Code plugin, install it and then ask Claude Code:
/plugin marketplace add keithmackay/mackayi/plugin install scanskillsafety@mackayiDo a deep scan of https://github.com/luigiPinna/claude-rename-color with scanskillsafety
Or from a terminal, clone it and run it:
git clone https://github.com/keithmackay/scanskillsafety-skill ~/.claude/skills/scanskillsafetynode ~/.claude/skills/scanskillsafety/cli.cjs --deep 'https://github.com/luigiPinna/claude-rename-color'
It checks the exact commit: every file, its packages against OSV (api.osv.dev), how it compares with this page's scan (findsafeskills.com receives the repository's address), and, if you agree, Claude reading every file with your own Claude subscription. It never runs the code.
Badge for your README
Markdown
[](/listings/luigipinna--claude-rename-color)HTML
<a href="/listings/luigipinna--claude-rename-color"><img src="/api/listings/luigipinna--claude-rename-color/badge.svg" alt="findsafeskills safety rating" /></a>Install
Install instructions from the README
As written by the repo's author. findsafeskills has not verified these steps.
At the prompt of a Claude Code terminal session:
/plugin install rename-color --marketplace luigiPinna/claude-rename-color
Answer `y` to add the marketplace, then pick a scope (user scope loads it in every session).
From a shell:
claude plugin install rename-color --marketplace luigiPinna/claude-rename-color
What was scanned
The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.
.claude-plugin/marketplace.json · Manifest · 6 lines
- {
- "name": "claude-rename-color",
- "description": "The rename-color mod for Claude Code: /rnc renames and colors a session in one command.",
- "owner": { "name": "Luigi Pinna" },
- "plugins": [{ "name": "rename-color", "source": "./" }]
- }
README.md · README · 68 lines
- # rename-color
- A Claude Code mod that adds `/rnc`: `/rename` and `/color` in one command. With no arguments it names the session after the project folder and git branch, and picks a color from the folder, so every session in the same project gets the same color.
- <img src="docs/demo.gif" alt="/rnc names the session acme-web · feature/checkout in blue, then /rnc payments refactor purple renames it and turns it purple" width="720">
- ## Usage
- | Command | Name | Color |
- | --- | --- | --- |
- | `/rnc sky copswap blue` | `sky copswap` | `blue` |
- | `/rnc sky copswap` | `sky copswap` | fixed color for the project folder |
- | `/rnc` | `<folder> · <branch>` (just `<folder>` outside git) | fixed color for the project folder |
- | `/rnc blue` | unchanged | `blue` |
- If the last word is a color, it is used as the color; everything before it is the name.
- <img src="docs/rnc-manual.png" alt="/rnc payments refactor purple: the session is named payments refactor and colored purple" width="720">
- Colors: `red`, `blue`, `green`, `yellow`, `purple`, `orange`, `pink`, `cyan`, `default`.
- The branch is read straight from `.git/HEAD` (git worktrees included), without starting a git process.
- ## Auto name and color on new sessions
- The `autoOnStart` option (off by default) runs `/rnc` with no arguments when a new interactive session starts. Resumed sessions keep their name.
- You can turn it on when installing, or later from `/config` ("Auto name and color on new sessions").
- <img src="docs/auto-on-start.png" alt="A new session that named and colored itself on start, with nothing typed" width="720">
- ## Install
- At the prompt of a Claude Code terminal session:
- ```
- /plugin install rename-color --marketplace luigiPinna/claude-rename-color
- ```
- Answer `y` to add the marketplace, then pick a scope (user scope loads it in every session).
- From a shell:
- ```
- claude plugin install rename-color --marketplace luigiPinna/claude-rename-color
- ```
- ## Requirements
- A recent Claude Code with support for mods (plugins with a hooks module). Tested on Claude Code 2.1.326.
- ## How it works
- A `command.run` hook can't run other commands while it is still answering, because they would wait on the turn it is holding. So `/rnc` returns right away and schedules `/rename` and `/color` with `$.clock.after(0, ...)`.
- ## Development
- ```
- git clone https://github.com/luigiPinna/claude-rename-color
- claude --plugin-dir ./claude-rename-color
- claude plugin validate ./claude-rename-color
- ```
- Once Claude Code has loaded the mod, it writes its types to `.claude-plugin/types/`, and `tsc -p .` type-checks it.
- ## License
- [MIT](LICENSE)
Ratings and comments
Sign in to rate this skill.
Sign inFree to use. If it’s helped, pass it on.