Borrowing it
Nothing to install: this file belongs to dancing-bear-show/dancing-bear. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/dancing-bear-show/dancing-bear/main/.claude/skills/rename-session/SKILL.mdgit clone --depth 1 https://github.com/dancing-bear-show/dancing-bearWrote 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.
[](https://agentmods.dev/skills/dancing-bear-show/dancing-bear/rename-session)<a href="https://agentmods.dev/skills/dancing-bear-show/dancing-bear/rename-session"><img src="https://agentmods.dev/badge/skills/dancing-bear-show/dancing-bear/rename-session/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.
<a href="https://agentmods.dev/skills/dancing-bear-show/dancing-bear/rename-session"><img src="https://agentmods.dev/badge/skills/dancing-bear-show/dancing-bear/rename-session.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00042 | $0.00476 |
| Opus 5.5 | $0.00017 | $0.00190 |
| Sonnet 5.5 | $0.00008 | $0.00095 |
| Haiku 4.5 | $0.00004 | $0.00048 |
Grade A, and why
rename-session 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 yesterday.
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.
What it actually says
Rename tmux Session
Generate a descriptive name for the current tmux session based on what we're working on right now, then apply it.
Generate and Apply Name
Look at the last few messages in context to understand the current task. Before choosing a name, check whether a PR exists for the current branch:
# Clear BOTH token variables: gh honours GH_TOKEN as well as GITHUB_TOKEN, so
# clearing only one leaves a stale token able to break PR detection — which
# fails silently here and just drops the pr-<N>- prefix.
pr_number=$(GITHUB_TOKEN= GH_TOKEN= gh pr view --json number -q .number 2>/dev/null)
- If
$pr_numberis non-empty, preferpr-<NUMBER>-<topic>(e.g.pr-42-gmail-filters). - If empty, use the topic alone (current behavior).
Then apply the name (the script validates the name, renames the session, and pushes the tab title — the guard hook rejects the inline form of this block, so the tab title would silently not update without the script):
bash .claude/skills/rename-session/rename.sh "<name>"
Naming rules:
- 2-4 words, lowercase, hyphens not spaces (no spaces in the name)
- Capture the topic, not the action —
gmail-label-syncnotsyncing-gmail-labels - Max 30 characters
- No punctuation other than hyphens
- When a PR exists on the current branch, prefix the name with
pr-<NUMBER>-
Good: pr-42-gmail-filters, mail-label-sync, calendar-scan, resume-render, whatsapp-search
Bad: branch names (too long), repo names (no context), edit-filter-yaml (too granular)
Report the new session name to the user.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- yesterday First seen · 49 lines · 42 tokens per session scan A 24ee63a43866
rename-session is a skill published in the GitHub repository dancing-bear-show/dancing-bear (7 stars, last pushed yesterday), licensed MIT. It adds 42 tokens to every session and 476 once invoked, about $0.0002 per session on Opus 5.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-11-07.
rename-session compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| rename-sessiondancing-bear-show/dancing-bear | Skill | 7 | yesterday | MIT | A | 42 | Claude Code |
| committartinerlabs/skills | Skill | 8 | yesterday | MIT | A | 49 | Claude Code |
| gogolafkfreund/nixos_config | Skill | 32 | yesterday | GPL-3.0 | A | 125 | Claude Code, Codex |
| autofix-prQwenLM/qwen-code | Skill | 29k | today | Apache-2.0 | A | 141 | Claude Code |
| cw-landHmbown/Codewhale | Skill | 41k | 1mo ago | MIT | A | 44 | Claude Code, Codex |
| atmos-gitcloudposse/atmos | Skill | 1.4k | today | Apache-2.0 | A | 82 | Claude Code |
| ratchet-filesdzhng/skills | Skill | 1.5k | today | MIT | A | 118 | Claude Code, Codex |