identity

A command for viewing or changing a project's remembered coding-session identity, including its name, color, model, and effort setting. The settings are stored in a project JSON file and can also be applied to the current session by pasting commands.

In plain words
What is it for?
Use it to inspect or save identity settings, prepare rename and color commands, and choose the model or effort level used when launching the project.
Why use it?
It keeps session labels and launch settings consistent across future sessions while still letting you update the current session.

Command

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/florini/florians-claude-code-kit/identity
Clone the repo
git clone --depth 1 https://github.com/FlorinI/Florians-Claude-Code-Kit
Per session 61 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,644 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00061 $0.02644
Opus 5 $0.00030 $0.01322
Sonnet 5 $0.00012 $0.00529
Haiku 4.5 $0.00006 $0.00264

Measured 3d ago against content hash 32bc41d27c90, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

identity scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

home/commands/identity.md · 161 lines

How it starts

The opening of the file, as written. The whole thing — 161 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/identity

Manage the remembered session identity for this project — the name / color / model / effort stored in <project>/.claude/session-identity.json. The cc launcher (~/.claude/claude-launch.mjs) reads this file at launch to title and color the terminal tab and to apply per-project --model / --effort.

Four fields, three surfaces:

  • Remembered = the JSON file. Persists across sessions. Only a file edit changes it — that's what /identity writes.
  • Live (paste) = name, color, model, effort — each has a built-in slash command that applies to the running session immediately: /rename, /color, /model <id>, /effort <level>. These have no programmatic API (anthropics/claude-code#58588) and the model cannot invoke them — so /identity finishes by handing you the exact lines to paste. model/effort are also read by the cc launcher, which adds --model <id> / --effort <level> to claude at launch — so persisting them makes future cc launches start with that model/effort, while the paste-line changes this session now.

Arguments

$ARGUMENTS is free-form — parse it leniently:

  • show → read-only: report all four fields and the paste-lines. Change nothing.
  • empty (no args) → report what's set, then run Interactive setup (below) for each unset field. If all four are set, this collapses to show.
  • name ... → set/replace name (everything up to a /, ;, or a color/model/effort keyword; names may contain spaces).
  • color ... → set/replace color (one token).
  • model ... → set/replace model (one token — a Claude model id or alias passed verbatim to claude --model, e.g. opus, sonnet, claude-opus-4-8). Accept any non-empty token.
  • effort ... → set/replace effort. Validate against low | medium | high | xhigh | max; if it isn't one of those, don't persist it — list the levels and ask.
  • to clear a field: <field> none (or unset) → remove that key.
  • any combination, in any order, separated by /, ;, ,, or whitespace.

Read the full file on GitHub · 161 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 161 lines · 61 tokens per session scan A 32bc41d27c90

Subscribe to this mod's changes

identity is a command published in the GitHub repository FlorinI/Florians-Claude-Code-Kit (5 stars, last pushed 4d ago), licensed MIT. It adds 61 tokens to every session and 2,644 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.