name-session

name-session is a skill for Claude Code from flurdy/agent-skills. It costs 46 tokens per session (1,062 once invoked), scanned A, original, MIT.

A helper that proposes a readable name for the current coding session from its branch ticket, active work item, pull request, and task context. It prints the command needed to rename the session in the current client.

In plain words
What is it for?
Use it when a session name does not describe the work and you want a paste-ready rename command for Pi or Claude Code.
Why use it?
It replaces generic session names with names that make ongoing work easier to identify in a list.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter; mentions Claude Code.

Good fit Use it when a session name does not describe the work and you want a paste-ready rename command for Pi or Claude Code.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/flurdy/agent-skills/name-session
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.

Any agent
npx skills add flurdy/agent-skills --skill name-session
Clone the repo
git clone --depth 1 https://github.com/flurdy/agent-skills

Made for: Claude Code.

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 name-session

README.md
[![agentmods](https://agentmods.dev/badge/skills/flurdy/agent-skills/name-session/github.svg)](https://agentmods.dev/skills/flurdy/agent-skills/name-session)
Your own site
<a href="https://agentmods.dev/skills/flurdy/agent-skills/name-session"><img src="https://agentmods.dev/badge/skills/flurdy/agent-skills/name-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.

agentmods 80×15 button for name-session

Your own site · 80×15
<a href="https://agentmods.dev/skills/flurdy/agent-skills/name-session"><img src="https://agentmods.dev/badge/skills/flurdy/agent-skills/name-session.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,062 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.00046 $0.01062
Opus 5.5 $0.00018 $0.00425
Sonnet 5.5 $0.00009 $0.00212
Haiku 4.5 $0.00005 $0.00106

Measured 4d ago against content hash 097c394bf7d9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

name-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 4d 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.

skills/name-session/SKILL.md · 87 lines

How it starts

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

Name session — propose a conventional session name

Build a <scope>-<descriptive> name from the current context and emit the active client's ready-to-paste rename command.

Important — client command and limitation

Harness selection comes from the current tool surface. Never use the shell, PATH, filesystem, process list, or installed binaries to detect another client. Treat the client as unknown when that surface does not conclusively identify Pi or Claude Code. These rules are shared with /wrap-up and /handoffs; command printing is a proposal, not execution.

  • It cannot rename the session for you. Slash commands emitted in model output are inert text; the user must enter the command in the client's command input.
  • Pi: use /name {session-name}. Never suggest /rename or /settings name in Pi.
  • Claude Code: use /rename {session-name}.
  • If the client is unknown, state both commands rather than guessing.

Convention

<scope>-<descriptive>
  • scope — the most specific identifier available, in priority order:
    1. Jira ticket from the branch name (e.g. AB-1505) — keep its natural Jira case.
    2. Active bead ID (e.g. bd-123) if no ticket.
    3. PR number (e.g. pr-6563) if neither.
    4. Omit the scope entirely if none apply — just use the descriptive part.
  • descriptive — kebab-case, ≤4 words, the most specific noun phrase for what this session is doing. rebase-pr-status beats git-stuff. Derive it from the conversation, not the branch (the branch already gives the scope).

Examples: AB-1505-rebase-pr-status, bd-412-flaky-test-hunt, pr-6563-review-comments, auth0-logout-investigation.

Instructions

1. Gather scope signals

Read the current branch with git rev-parse --abbrev-ref HEAD, using the repository wrapper where required. Extract a ticket with [A-Z]+-\d+; detached HEAD is not a branch/ticket signal.

Without a ticket, prefer the bead explicitly identified as this session's work. If tracker validation is needed, run ~/.agents/skills/next/scripts/next-select resolve <selector> and use the returned owner for bd -C <directory> show <id>. Unavailable/ambiguous ownership drops that signal; do not scan all in-progress claims and assume one belongs here. Existing known session context needs no fetch. If neither applies and a PR is clearly this session's topic, use its known identity or a scoped gh pr view --json number,title. No speculative PR request.

Read the full file on GitHub · 87 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. 4d ago Changed 097c394bf7d9
  2. 1mo ago Changed · +8 lines 95fedc500d7a
  3. 1mo ago Changed · -11 tokens per session 00456f6bf149
  4. 1mo ago First seen · 79 lines · 57 tokens per session scan A 5d8d5e3d1bc2

Subscribe to this mod's changes

name-session is a skill published in the GitHub repository flurdy/agent-skills (9 stars, last pushed yesterday), licensed MIT. It adds 46 tokens to every session and 1,062 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-08-31.

Related

Other skills, from other repositories

orbit-notion

Open Orbit briefing skill — selected by the Orbit pipeline when Notion is the user's only connected connector, or when the user explicitly scopes their daily digest to Notion. Pulls the past 24 hours of document edits, comments, mentions, and database row changes from the user's authenticated Notion connection and…

nexu-io/open-design · 117 tokens

agentmail

Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by your inbox assignment.

paperclipai/paperclip · 30 tokens

rowboat-spaces

How to work as a member of Rowboat Spaces, the team chat where people and agents work together. Load it once per session, before acting on any request that reaches you from Rowboat; it covers your setup, mentions and hand-offs, the tools, and files.

rowboatlabs/rowboat · 60 tokens

feishu

Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.

Hmbown/CodeWhale · 33 tokens

pinchtab-mcp

Use this skill when a task requires browser automation through PinchTab's MCP server connected to a remote browser instance. Covers navigation, element interaction, data extraction, form filling, multi-step flows, and session management via MCP tools.

pinchtab/pinchtab · 52 tokens

Cortex

Operate Cortex, the LifeOS memory system — the typed Knowledge Archive (People, Companies, Ideas, Research with typed related: links) plus recall of prior work sessions, ISAs, and conversations. Search, add, harvest, develop, ingest, distill, graph-navigate, recall. USE WHEN cortex, knowledge, knowledge base, search…

danielmiessler/LifeOS · 196 tokens