Skip to content
Back to search

claude-rename-color

MarketplaceWorks with Claude CodeGitHub

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.

Checked today

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
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/luigipinna--claude-rename-color/badge.svg)](/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
  1. {
  2. "name": "claude-rename-color",
  3. "description": "The rename-color mod for Claude Code: /rnc renames and colors a session in one command.",
  4. "owner": { "name": "Luigi Pinna" },
  5. "plugins": [{ "name": "rename-color", "source": "./" }]
  6. }
README.md · README · 68 lines
  1. # rename-color
  2. 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.
  3. <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">
  4. ## Usage
  5. | Command | Name | Color |
  6. | --- | --- | --- |
  7. | `/rnc sky copswap blue` | `sky copswap` | `blue` |
  8. | `/rnc sky copswap` | `sky copswap` | fixed color for the project folder |
  9. | `/rnc` | `<folder> · <branch>` (just `<folder>` outside git) | fixed color for the project folder |
  10. | `/rnc blue` | unchanged | `blue` |
  11. If the last word is a color, it is used as the color; everything before it is the name.
  12. <img src="docs/rnc-manual.png" alt="/rnc payments refactor purple: the session is named payments refactor and colored purple" width="720">
  13. Colors: `red`, `blue`, `green`, `yellow`, `purple`, `orange`, `pink`, `cyan`, `default`.
  14. The branch is read straight from `.git/HEAD` (git worktrees included), without starting a git process.
  15. ## Auto name and color on new sessions
  16. The `autoOnStart` option (off by default) runs `/rnc` with no arguments when a new interactive session starts. Resumed sessions keep their name.
  17. You can turn it on when installing, or later from `/config` ("Auto name and color on new sessions").
  18. <img src="docs/auto-on-start.png" alt="A new session that named and colored itself on start, with nothing typed" width="720">
  19. ## Install
  20. At the prompt of a Claude Code terminal session:
  21. ```
  22. /plugin install rename-color --marketplace luigiPinna/claude-rename-color
  23. ```
  24. Answer `y` to add the marketplace, then pick a scope (user scope loads it in every session).
  25. From a shell:
  26. ```
  27. claude plugin install rename-color --marketplace luigiPinna/claude-rename-color
  28. ```
  29. ## Requirements
  30. A recent Claude Code with support for mods (plugins with a hooks module). Tested on Claude Code 2.1.326.
  31. ## How it works
  32. 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, ...)`.
  33. ## Development
  34. ```
  35. git clone https://github.com/luigiPinna/claude-rename-color
  36. claude --plugin-dir ./claude-rename-color
  37. claude plugin validate ./claude-rename-color
  38. ```
  39. Once Claude Code has loaded the mod, it writes its types to `.claude-plugin/types/`, and `tsc -p .` type-checks it.
  40. ## License
  41. [MIT](LICENSE)

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.