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

project-hop

Claude Code mod. すべてのプロジェクトが 1 つのフォルダにある場合に最適。そのフォルダから Claude を起動し、プロンプト上でプロジェクトを選択して、その場で新しいセッションを開くか最近のセッションを続行できます。ターミナルを離れる必要はありません。

aliemrevezir@aliemrevezir

aliemrevezir/mods/tree/main/plugins/project-hop

翻訳済み

この mod について

Claude Code mod。すべてのプロジェクトが 1 つのフォルダにある場合に最適です。そのフォルダから Claude を起動し、プロンプト上でプロジェクトを選択して、その場で新しいセッションを開くか最近のセッションを続行できます。ターミナルを離れる必要はありません。入力欄の上にキーボード駆動のバンドを追加し、サブフォルダを 📁 行として表示(最新アクティビティ優先、セッション数付き)。ctrl+x tab、矢印キー、名前入力、ページング で操作可能。プロジェクトを開くと、タイトルまたは最後のプロンプトで最近のセッションを列挙します。セッションを続行(通常)、新しいセッションを開始(n で /cd + /clear を実行)、最新のセッションを続行(c)、または戻る(b)ができます。/projects [folder] コマンドを含みます。/plugin marketplace add aliemrevezir/mods、その後 /plugin install project-hop@aliemrevezir-mods でインストール。あるいはクローンして claude --plugin-dir で実行。mod 対応の Claude Code ビルドと ls、stat、sed、grep を備えた POSIX shell が必要。~/.claude/projects からセッションを読み込みます。MIT ライセンス。

インストール

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

claude plugin marketplace add aliemrevezir/mods
claude plugin install project-hop
原文 / README

project-hop

A Claude Code mod for when you keep all your projects under one folder. Start Claude in that folder, pick a project above the prompt, then open a new session there or continue a recent one, without leaving the terminal.

What it does

Projects. When Claude starts in a folder that looks like a folder of projects, a band above the input lists its child folders as 📁 rows, newest activity first, with how many sessions each one has.

  • Press ctrl+x tab to give the band the keyboard, then ↑ ↓ to walk the folders and Enter to open one. Arrowing past the last row turns to the next page, past the first row to the previous one.
  • Or type a project's name and press Enter; a name that matches several filters the list.
  • ▲ / ▼ (k / j) also page through long lists; x closes the band.

Sessions. Opening a project shows its recent sessions by title or last prompt.

  • ↑ ↓ and Enter continue a session, or type its number.
  • n starts a new session in that project (/cd + /clear).
  • c continues the most recent one, b goes back to the projects.

Commands

| Command | What it does | | -------------------- | ---------------------------------------------------------------------------- | | /projects [folder] | Show the projects in folder; with no folder, here or the current project's parent |

Install

From inside Claude Code:

/plugin marketplace add aliemrevezir/mods
/plugin install project-hop@aliemrevezir-mods

Or load it straight from a clone:

git clone https://github.com/aliemrevezir/mods
claude --plugin-dir mods/plugins/project-hop

Requirements

  • A Claude Code build with mods (plugin hook modules).
  • A POSIX shell with ls, stat, sed and grep; sessions are read from ~/.claude/projects.

Development

claude plugin validate .
claude plugin test .

Folder and transcript scanning lives in hooks/scan.ts; the band, the picks and the hop itself live in hooks/register.tsx.

License

MIT

関連作品