rename-session

Rename Claude Code sessions by ID and append a /rename entry to history.jsonl.

2|Updated Mar 7, 2026
One-click install
npx skills add https://github.com/enkira-ai/claude-plugins --skill rename-session
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rename-session
Source: https://github.com/enkira-ai/claude-plugins/tree/main/plugins/session-manager/skills/rename-session
Command: npx skills add https://github.com/enkira-ai/claude-plugins --skill rename-session

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Renaming Claude Code sessions by ID without resuming them to keep session history tidy and avoid confusion.

Core Features & Use Cases

  • Rename a session by full or short (8-character) IDs.
  • Resolve short IDs to full IDs from the local history file.
  • Append a /rename entry to history.jsonl to record the new name and context.

Quick Start

Provide the target session ID and the new name to rename the session.

Frequently Asked Questions about rename-session

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I rename a Claude Code session by ID without resuming it?

To rename a Claude Code session without resuming it, provide the target session ID and the new name. The tool resolves short 8-character IDs to full IDs and applies the rename directly to the local session history.

Can I use a short session ID to rename a Claude Code session?

Yes, you can use a short 8-character session ID to rename a Claude Code session. The tool automatically resolves the short ID to the full session ID from the local history file before applying the new name.

How does renaming a Claude Code session keep history traceable?

Renaming a Claude Code session keeps history traceable by appending a /rename entry to history.jsonl. This entry records the new name alongside the session's project context and a timestamp for accurate tracking.

What is the best way to organize Claude Code session history without opening the session?

The best way to organize Claude Code session history without opening the session is to rename sessions by their IDs. This avoids resuming the session while keeping your history tidy and preventing context confusion.

Do I need to resume a Claude Code session to change its name?

No, you do not need to resume a Claude Code session to change its name. You can rename it directly by providing its full or short session ID, keeping your history tidy without triggering an active session resume.