smart-rename

smart-rename is a skill for Claude Code from fernando-bertholdo/4-successful-AI-life. It costs 22 tokens per session (443 once invoked), scanned A, original, MIT.

A command-based tool for suggesting, setting, freezing, forcing, or explaining names for coding sessions.

In plain words
What is it for?
Use it to suggest a session name, set a domain anchor, freeze or unfreeze renaming, force a rename, or explain the current naming decision.
Why use it?
It helps keep session names useful and consistent as the work changes.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the smart-session-rename-cc plugin — 1 skill, 1 hook shipped together

Good fit Use it to suggest a session name, set a domain anchor, freeze or unfreeze renaming, force a rename, or explain the current naming decision.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add fernando-bertholdo/4-successful-AI-life
Claude Code
/plugin install smart-session-rename-cc

Made for: Claude Code.

Or install smart-session-rename-cc, the plugin that ships this one along with the rest of its 1 skill, 1 hook.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for smart-rename

README.md
[![agentmods](https://agentmods.dev/badge/skills/fernando-bertholdo/4-successful-ai-life/smart-rename/github.svg)](https://agentmods.dev/skills/fernando-bertholdo/4-successful-ai-life/smart-rename)
Your own site
<a href="https://agentmods.dev/skills/fernando-bertholdo/4-successful-ai-life/smart-rename"><img src="https://agentmods.dev/badge/skills/fernando-bertholdo/4-successful-ai-life/smart-rename/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for smart-rename

Your own site · 80×15
<a href="https://agentmods.dev/skills/fernando-bertholdo/4-successful-ai-life/smart-rename"><img src="https://agentmods.dev/badge/skills/fernando-bertholdo/4-successful-ai-life/smart-rename.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 443 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00022 $0.00443
Opus 5 $0.00011 $0.00221
Sonnet 5 $0.00004 $0.00089
Haiku 4.5 $0.00002 $0.00044

Measured 12d ago against content hash 6182cb49f744, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

smart-rename 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 12d 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.

plugins/smart-session-rename-cc/skills/smart-rename/SKILL.md · 49 lines

What it actually says

/smart-rename (v1.5)

When the user invokes /smart-rename [args], run the matching command via the Bash tool and report the output verbatim. Pass $CLAUDE_TRANSCRIPT_PATH as the last argument.

Subcommands

/smart-rename — suggest (consumes 1 budget slot)

IMPORTANT: This command calls an inner claude -p process that takes 30-90 seconds to complete (the child process must initialize its own plugin stack + create prompt cache). You MUST:

  1. Run this Bash command in foreground (NOT background)
  2. Set the Bash tool timeout to at least 120 seconds
${CLAUDE_PLUGIN_ROOT}/scripts/smart-rename-cli.sh "" "$CLAUDE_TRANSCRIPT_PATH" "${CLAUDE_PROJECT_DIR:-$PWD}"

/smart-rename <name> — set domain anchor

${CLAUDE_PLUGIN_ROOT}/scripts/smart-rename-cli.sh "<name>" "$CLAUDE_TRANSCRIPT_PATH"

/smart-rename freeze / unfreeze

${CLAUDE_PLUGIN_ROOT}/scripts/smart-rename-cli.sh freeze "$CLAUDE_TRANSCRIPT_PATH"
${CLAUDE_PLUGIN_ROOT}/scripts/smart-rename-cli.sh unfreeze "$CLAUDE_TRANSCRIPT_PATH"

/smart-rename force

${CLAUDE_PLUGIN_ROOT}/scripts/smart-rename-cli.sh force "$CLAUDE_TRANSCRIPT_PATH"

/smart-rename explain

${CLAUDE_PLUGIN_ROOT}/scripts/smart-rename-cli.sh explain "$CLAUDE_TRANSCRIPT_PATH"

/smart-rename unanchor

${CLAUDE_PLUGIN_ROOT}/scripts/smart-rename-cli.sh unanchor "$CLAUDE_TRANSCRIPT_PATH"

If the CLI exits non-zero, report the error message verbatim. Do not retry automatically.

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. 12d ago First seen · 49 lines · 22 tokens per session scan A 6182cb49f744

Subscribe to this mod's changes

smart-rename is a skill published in the GitHub repository fernando-bertholdo/4-successful-AI-life (2 stars, last pushed 2d ago), licensed MIT. It adds 22 tokens to every session and 443 once invoked, about $0.0001 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.

Related

Other skills, from other repositories

thinking-theory-of-constraints

When throughput or latency is pipeline-limited, identify the single binding constraint and exploit, subordinate, elevate, then recheck—ignore non-constraints.

tjboudreaux/cc-thinking-skills · 37 tokens

Vizra ADK Memory System

Implement persistent memory, session context, and vector memory (RAG) for AI agents.

vizra-ai/vizra-adk · 24 tokens

foundation-models

On-device LLM integration using Apple's Foundation Models framework. Use when implementing AI text generation, structured output, or tool calling.

rshankras/claude-code-apple-skills · 29 tokens

analytics-interpretation

Interpret app metrics and make data-driven decisions. Covers DAU/MAU, retention, LTV, ARPU, App Store Connect analytics, AARRR funnel analysis, cohort analysis, and diagnostic decision trees. Use when user wants to understand their metrics, diagnose problems, or build a data-driven growth plan.

rshankras/claude-code-apple-skills · 68 tokens

app-namer

Turn an app idea into validated, App-Store-ready name candidates. Use when the user says "name my app", "what should I call it", "app name ideas", "help me name this app", "is this name available", or needs to pick a brandable, ownable name before reserving it in App Store Connect.

rshankras/claude-code-apple-skills · 73 tokens

in-app-events

Generates In-App Event metadata templates for App Store Connect — event names, descriptions, badge types, image specs, and deep link configuration. Use when creating events for App Store visibility, engagement campaigns, or seasonal promotions.

rshankras/claude-code-apple-skills · 48 tokens