pablofontanilla/claude-next/tree/main/plugins/next
pablofontanilla@pablofontanilla
この mod について
next
セッションを新しいセッションへ引き継ぐ Claude Code プラグインです。
/next:go は短い引き継ぎメモ(目的、状態、決定事項、次のタスク)を書き込み、コンテキストをクリアして、メモを読んで次のタスクを続行する新しいセッションを開始します。確認は必要ありません。
インストール
/plugin marketplace add pablofontanilla/claude-next
/plugin install next@pablofontanilla
その後、Claude Code を再起動します。
要件:
- プラグインの function hooks に対応した Claude Code のバージョン(2.1.289 でテスト済み)。古いバージョンではメモは書き込まれ、次回の
/clearで読み込まれますが、自動クリアは実行されません。 python3がPATHにあること。
使い方
/next:go
/next:go rerun the failing e2e with the new fixture
任意のテキストで次のタスクを指定できます。
仕組み
- この skill はメモを
~/.claude/next/<key>.mdに書き込み(起動ディレクトリごとに 1 件)、60 分で期限切れになるよう設定します。 - ターンが終わると、プラグインは
/clearを実行し、"Starting from a new session" で始まるプロンプトを送信します。 SessionStartフックは新しいセッションにメモを注入し、<key>.consumed.mdへ移動します。これにより 1 回だけ実行されます。
リポジトリ内には何も書き込みません。
フィードバック
このリポジトリで issue を開いてください。
インストール
まず作者の README で marketplace とプラグイン名を確認してください。コマンドはリポジトリの構成によって変わる場合があります。
claude plugin marketplace add pablofontanilla/claude-next claude plugin install next
原文 / README
next
A Claude Code plugin that hands a session off to a fresh one.
/next:go writes a short handoff note (goal, state, decisions, next
task), clears the context, and starts a new session that reads the note
and continues with the next task. You do not confirm anything.
Install
/plugin marketplace add pablofontanilla/claude-next
/plugin install next@pablofontanilla
Then restart Claude Code.
Requirements:
- A Claude Code version that supports plugin function hooks
(tested on 2.1.289). On older versions the note is still written and
loads on your next
/clear, but the automatic clear does not happen. python3on yourPATH.
Use
/next:go
/next:go rerun the failing e2e with the new fixture
The optional text sets the next task.
How it works
- The skill writes the note to
~/.claude/next/<key>.md(one note per launch directory) and arms it with a 60-minute expiry. - When the turn ends, the plugin runs
/clearand then sends a prompt that starts with "Starting from a new session". - A
SessionStarthook injects the note into the new session and moves it to<key>.consumed.md, so it fires only once.
Nothing is written inside your repository.
Feedback
Open an issue in this repository.
