Agent skill

Session Title

by kdeldycke in kdeldycke/dotfiles

Refresh the current Claude Code session's title (shown in /resume picker and terminal tab).

BSD-2-ClauseAuto-check passed

Install Session Title

skills CLI
$ npx skills add kdeldycke/dotfiles --skill session-title -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install kdeldycke/dotfiles session-title --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/kdeldycke/dotfiles.git skills-src && mkdir -p .claude/skills && cp -r skills-src/dotfiles/.agents/skills/session-title .claude/skills/session-title && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
session-title
GitHub stars
173
Token cost
~550 tokens
SKILL.md length
247 words
Files
1
Skills in repo
25
Repo updated
First seen
Licence
BSD-2-Clause

At a glance

Refresh the current Claude Code session's title (shown in /resume picker and terminal tab).

  • Works in 4 steps: Compose the summary myself, from… → Determine the session_id and transcript… → Apply via the helper. → …
  • Refresh session title
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Update tab title

What it does

Session Title is an agent skill from kdeldycke/dotfiles. Refresh the current Claude Code session's title (shown in /resume picker and terminal tab). Trigger on "rename session", "refresh session title", "update tab title", "set session title to ...".

Its SKILL.md is about 550 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: Designed for Claude Code. Recommended model: Sonnet.

The repository describes itself as: 🍎 macOS dotfiles for Python developers. The licence is BSD-2-Clause.

When your agent uses it

  • Refresh session title
  • Update tab title
  • Set session title to ...

Example prompts

  • “s title (shown in /resume picker and terminal tab). Trigger on”
  • “refresh session title”
  • “update tab title”
  • “/session-title”

Requirements

  • Compatibility (from SKILL.md): Designed for Claude Code. Recommended model: Sonnet.

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Compose the summary myself, from conversation context.
  2. Determine the session_id and transcript path.
  3. Apply via the helper.
  4. Confirm in one short sentence, e.g.

What it can do on your machine

Read from SKILL.md and the folder at commit 7947d0f. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Designed for Claude Code. Recommended model: Sonnet.

    From compatibility in the SKILL.md frontmatter.

Context cost

Session Title loads about 550 tokens when it runs. Until then it costs about 52 tokens; SKILL.md has 247 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~52
When it runs · the whole SKILL.md, loaded when a task matches
~550

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from kdeldycke/dotfiles at commit 7947d0f, republished under its BSD-2-Clause licence (© kdeldycke). 247 words, ~550 tokens.

Download SKILL.mdSave it as .claude/skills/session-title/SKILL.md (or your agent's skills folder).
name
session-title
description
Refresh the current Claude Code session's title (shown in /resume picker and terminal tab). Trigger on "rename session", "refresh session title", "update tab title", "set session title to ...".
compatibility
Designed for Claude Code. Recommended model: Sonnet.

When the user asks to refresh or rename the current session's title:

  1. Compose the summary myself, from conversation context. I already have the full conversation in context: pick a 3-7 word title (max 50 chars) that captures the current topic. Do not call any external generator: that would spawn a Haiku inference (slow), and a fresh summary I'd pass to it tends to drift away from what I already know.

    Use sentence case. Capitalize the first word and proper nouns only.

  2. Determine the session_id and transcript path.

    • session_id is in the env var CLAUDE_SESSION_ID if set, otherwise: take the basename (without .jsonl) of the most recently modified *.jsonl file directly under ~/.claude/projects/<sanitized-cwd>/ where <sanitized-cwd> is the current working directory with / replaced by -.
    • The transcript path is ~/.claude/projects/<sanitized-cwd>/<session_id>.jsonl.
  3. Apply via the helper. The helper auto-prepends the timestamp prefix (MM-DD@HH:MM) extracted from the first custom-title line in the transcript, so I should pass only the summary part:

    bash
    /Users/kde/code/dotfiles/dotfiles/.claude/hooks/session-title.py set "$session_id" "$transcript" "Refactor API client error handling"

    The helper sanitizes (strips control chars, rejects path-shaped values, caps at 80 chars), writes the sidecar at ~/.claude/session-titles/<session_id>, and writes OSC 0 to update the terminal tab immediately. The UserPromptSubmit hook applies the sidecar title at the next prompt through Claude Code's supported rename path (the same write /rename uses), which persists it in the transcript and re-applies it on every later start/resume: the new title lands one prompt after this step.

  4. Confirm in one short sentence, e.g.: Session title updated to: 04-29@10:14 Refactor API client error handling

© kdeldycke, BSD-2-Clause. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in dotfiles/.agents/skills/session-title of kdeldycke/dotfiles.

Open the folder on GitHubat commit 7947d0f

Compare with similar skills

Session Title next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Session Title compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Session Title this skillkdeldycke/dotfiles173—~550Automated safety check: PassBSD-2-Clause
Index Refreshpaperclipai/paperclip99k—~994Automated safety check: PassMIT
Meta Titlethedaviddias/Front-End-Checklist74k—~494Automated safety check: PassMIT
Frame Titlethedaviddias/Front-End-Checklist74k—~438Automated safety check: PassMIT
Meta Refreshthedaviddias/Front-End-Checklist74k—~434Automated safety check: PassMIT
Video Template Frame Glitch Titlenexu-io/open-design100k—~325Automated safety check: PassApache-2.0

Similar skills

  • Index Refresh

    paperclipai/paperclip

    A skill your agent uses when an LLM Wiki operation issue requests an index refresh.

    99k GitHub stars~994 tokensUpdated today
    Knowledge ManagementAuto-check passed
  • Meta Title

    thedaviddias/Front-End-Checklist

    A skill your agent uses when auditing page metadata or generating SEO-optimized titles.

    74k GitHub stars~494 tokensUpdated 2 days ago
    Frontend & DesignAuto-check passed
  • Frame Title

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing rendered HTML, interactive components, or design-system patterns related to Provide titles for iframes and frames.

    74k GitHub stars~438 tokensUpdated 2 days ago
    Frontend & DesignAuto-check passed
  • Meta Refresh

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing rendered HTML, interactive components, or design-system patterns related to Avoid meta refresh redirects.

    74k GitHub stars~434 tokensUpdated 2 days ago
    Frontend & DesignAuto-check passed
  • Use this plugin when the user wants a "Glitch Title Frame" HyperFrames motion video — Digital glitch, chromatic offset, and data-corruption title frame for video transitions or cyberpunk heroes.

    100k GitHub stars~325 tokensUpdated today
    Media & CreativeAuto-check passed
  • Wireframe Portal Title

    heygen-com/hyperframes

    HyperFrames title block with extruded wireframe letters that appear through a portal burst, then swap into a second phrase with a staggered settle glitch.

    59k GitHub starsUsed in 1 repo~1.1k tokens
    Media & CreativeAuto-check passed

More from kdeldycke/dotfiles

All 25 skills in this repo
  • Agent Config Self Tune

    kdeldycke/dotfiles

    Audit and tune the configuration of coding agents across Claude Code and pi - settings files (settings.json, settings.local.json), permission rules, instruction files (CLAUDE.md, AGENTS.md), skill…

    173 GitHub stars~3.4k tokensUpdated 3 days ago
    Auto-check: notes
  • Audit Repo Issues

    kdeldycke/dotfiles

    Analyze a GitHub repository's issues and PRs to find unaddressed feature requests, dismissed ideas, maintenance signals, and opportunities relevant to the current project.

    173 GitHub stars~2.5k tokensUpdated 3 days ago
    Auto-check passed
  • Brand Assets

    kdeldycke/dotfiles

    Create project logo and banner SVGs, then export them to light and dark PNG variants.

    173 GitHub stars~4.7k tokensUpdated 3 days ago
    Auto-check passed
  • Fill Web Form

    kdeldycke/dotfiles

    Fill a web form using data extracted from local documents (PDFs, images, spreadsheets).

    173 GitHub stars~2.3k tokensUpdated 3 days ago
    Auto-check passed
  • Rename With Dates

    kdeldycke/dotfiles

    Rename documents and files (PDFs, images, screenshots, etc.) by reading their content to extract the effective/publication date, then renaming them with a "YYYY-MM-DD - Clear descriptive title.ext"…

    173 GitHub stars~3.5k tokensUpdated 3 days ago
    Auto-check passed
  • Repomatic Test Matrix

    kdeldycke/dotfiles

    Choose what a repository's CI test matrix covers. An agent skill from kdeldycke/dotfiles.

    173 GitHub stars~2.2k tokensUpdated 3 days ago
    Auto-check: notes

Questions about Session Title

What does Session Title do?

Refresh the current Claude Code session's title (shown in /resume picker and terminal tab). Session Title is an agent skill from kdeldycke/dotfiles. Refresh the current Claude Code session's title (shown in /resume picker and terminal tab).

When should I use Session Title?

Session Title fits situations like: refresh session title; update tab title; set session title to ...

How do I install Session Title in Claude Code?

Run `npx skills add kdeldycke/dotfiles --skill session-title -a claude-code`. Or copy the skill folder (dotfiles/.agents/skills/session-title in kdeldycke/dotfiles) into .claude/skills/session-title in your project. Claude Code loads it when a task matches its description.

How do I install Session Title in Codex?

Run `npx skills add kdeldycke/dotfiles --skill session-title -a codex`. Or copy the skill folder (dotfiles/.agents/skills/session-title in kdeldycke/dotfiles) into .agents/skills/session-title in your project. Codex loads it when a task matches its description.

Can I use Session Title in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add kdeldycke/dotfiles --skill session-title -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/session-title, .gemini/skills/session-title, .github/skills/session-title and .opencode/skills/session-title in your project.

What does Session Title need to run?

SKILL.md names no scripts, command-line tools or credentials: Session Title is instructions for the agent only. Compatibility (from SKILL.md): Designed for Claude Code. Recommended model: Sonnet..

Does Session Title access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Session Title safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Session Title use?

Session Title is published under the BSD-2-Clause licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Session Title use?

About 550 tokens (SKILL.md is roughly 2.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Session Title?

Skills that share tags, products or a category with Session Title: Index Refresh (paperclipai/paperclip, 99k stars), Meta Title (thedaviddias/Front-End-Checklist, 74k stars), Frame Title (thedaviddias/Front-End-Checklist, 74k stars) and Meta Refresh (thedaviddias/Front-End-Checklist, 74k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Session Title?

kdeldycke (a GitHub user) maintains it in kdeldycke/dotfiles, which has 173 GitHub stars. The repository holds 25 skills in this directory. The repository was last updated on October 4, 2026.

Source: kdeldycke/dotfiles on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.