ClaudeMods
☰
JA
● 0 人がオンライン ・閲覧 0 回
スポンサー作品を投稿
GitHub リポジトリ · 投稿者 0xGondarxyz

session-title

プロンプトの下のフッター行の右端にセッションの内容を表す短いタイトルを表示する Claude Code mod。

0xGondarxyz@0xGondarxyz

0xGondarxyz/claude-code-mods/tree/main/session-title

翻訳済み

この mod について

session-title

プロンプト下のフッター行の右端に、セッションの内容を表す短いタイトルを表示する Claude Code mod。開いている複数の端末を一目で見分けられます。

インストール

/plugin marketplace add 0xGondarxyz/claude-code-mods
/plugin install session-title@claude-code-mods

インストールせずに試すこともできます。

git clone https://github.com/0xGondarxyz/claude-code-mods
claude --plugin-dir claude-code-mods/session-title

mod はサンドボックス化されていません。Claude Code と同じアクセス権で動作します。これを含め、mod をインストールする前にソースを読んでください。

表示内容

プロンプト下のフッター行の右端:

Checkout page bug

タイトルは 2~5 語です。最初のプロンプト、直近 8 個のプロンプト、最後の assistant の返信を Haiku に渡して作ります。新しいプロンプトがある各回の後と、セッション開始時に 1 回更新されるため、再開したセッションにもすぐタイトルが付きます。現在のタイトルが収まる場合はそのままです。

注意

  • 更新のたびに小さな Haiku 呼び出しを 1 回行います(出力 token は最大 30)。
  • 呼び出しが失敗またはタイムアウトすると、前のタイトルを保持します。
  • subagent の回では更新しません。

テスト

claude plugin test .

MIT

インストール

まず作者の README で marketplace とプラグイン名を確認してください。コマンドはリポジトリの構成によって変わる場合があります。

claude plugin marketplace add 0xGondarxyz/claude-code-mods
claude plugin install session-title
原文 / README

session-title

A Claude Code mod that shows a short title of what the session is about at the right end of the footer line under the prompt, so you can tell many open terminals apart at a glance.

Install

/plugin marketplace add 0xGondarxyz/claude-code-mods
/plugin install session-title@claude-code-mods

Or try it without installing:

git clone https://github.com/0xGondarxyz/claude-code-mods
claude --plugin-dir claude-code-mods/session-title

Mods are not sandboxed. They run with the same access as Claude Code. Read the source before you install any mod, including this one.

What it shows

Footer line under the prompt, at the right end:

Checkout page bug

The title has 2 to 5 words. It is made by Haiku from your first prompt, your last 8 prompts and the last assistant reply. It updates after each turn that has a new prompt, and once when the session starts, so resumed sessions get a title at once. If the current title still fits, it stays.

Notes

  • Each refresh makes one small Haiku call (30 output tokens at most).
  • If the call fails or times out, the previous title stays.
  • Turns from subagents do not trigger a refresh.

Tests

claude plugin test .

MIT

関連作品