Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Claude loads one when your task matches it, or you run it by name.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Claude Code の MessageDisplay フック。アシスタントの出力を pairvoice の常駐サーバー
(接続先は pairvoice url で出る)で要約・音声化し、常駐サーバーが再生する。サーバー本体はこのプラグインに含まれないので、
先にリポジトリの README に沿って起動しておく。
フック本体は hooks/speak-summary.sh。bash curl jq と、接続先を引く pairvoice url を使う
(jq 以外は macOS に最初からある)。
プロンプトを送ったときにも UserPromptSubmit フックで常駐サーバーにモデルを読み込ませておく。
常駐サーバーは使われないモデルを 10 分で解放するので、間が空いた次の返事の読み上げが読み込み待ちで遅れないようにするため。
ミュート中は読み込まない。
/plugin marketplace add matzkoh/pairvoice
/plugin install pairvoice@pairvoice
手元の clone から入れるなら、matzkoh/pairvoice の代わりにリポジトリのパスを渡す。
以前 ~/.claude/settings.json の hooks.MessageDisplay に speak-summary.sh を直接登録
していた場合は、そちらを外す(両方あると二重に読み上げる)。hooks.UserPromptSubmit に /api/warmup を叩く
フックを登録していた場合も、プラグインが同じことをするので外す。
/pairvoice:tune で、studio のレビューを材料に要約の指示(prompt.txt)の改善案を作らせる。
エージェントは pairvoice eval で今の指示と比べてから提案し、了承を得たら pairvoice の API で書き込む。
要約のモデルを比べるときにも使う。
api スキルが、常駐サーバーの API(読み上げ・声・ミュート・辞書など)をエージェントに知らせる。
仕様は常駐サーバーが配る /openapi.json を引かせるので、スキルは API の版に追従する。
config スキルが、config.toml の書き換えと再起動をエージェントに任せる。
「Slack のハドルでは自動ミュートしないで」のように頼めば、ミュートのもとになっているプロセス名を調べて除外に足す。
フックは環境変数 PAIRVOICE_VOICE(プロファイルの名前か ID)と PAIRVOICE_STYLE(studio の「スタイル」画面で作ったスタイルの名前)を読む。
空なら使用中のプロファイルの声で、その caption のまま読む。
プロジェクトの .claude/settings.json の env に書けば、プロジェクトごとに声を変えられる。
{ "env": { "PAIRVOICE_VOICE": "落ち着いた声", "PAIRVOICE_STYLE": "ささやき" } }
| 場所 | |
|---|---|
要約プロンプト・口調・読み辞書・コーパス(prompt.txt tone.txt dict.tsv corpus.jsonl) | ~/Library/Application Support/pairvoice(PAIRVOICE_DATA_ROOT) |
| ログ | ~/Library/Logs/speak-summary.log |
| 重複排除マーカー | $TMPDIR/claude-speak-state |
プラグインのディレクトリは更新のたびに差し替わるので、実行時に生まれるものはすべて外に置く。
読み上げが来ないときは、まずログを見る。SKIP の理由がそのまま原因を指す。
tail -30 ~/Library/Logs/speak-summary.log
| ログの理由 | 原因 |
|---|---|
prompt.txt missing or empty | データの置き場所に prompt.txt が無い |
muted: <reason> | ミュート中(microphone なら会議中の自動ミュート、manual なら手動) |
server down | pairvoice の常駐サーバーが応答しない |
version mismatch: plugin <版> | プラグインと常駐サーバーの版が食い違い、API の道筋が合わない。README の手順で両方を上げる |
model downloading | 初回のモデルのダウンロード中(フックは待たない)。pairvoice warmup で先に済ませておく |
model loading | モデルの読み込みが長引き、待ちきれなかった |
timeout | サーバーは生きているが、要約か音声合成が時間内に終わらなかった |
no speakable text | 閉じタグやコードフェンスだけの断片で、読み上げる中身が無い |
no Japanese summary after retries | 何度要約させても日本語にならなかった |
superseded | 要約を待っている間に次の返事が来たので、古い方を捨てた |
model load failed | モデルのロードに失敗、または設定不備 |
profile missing | ref_audio に指定した参照音声が無い |
voice not found / style not found | PAIRVOICE_VOICE / PAIRVOICE_STYLE の名前のプロファイル・スタイルが無い |
QUEUED は音声を作って常駐サーバーに渡したところまで。鳴らなかった(ミュートが入った、止めた、
順番待ちが長すぎた)理由は常駐サーバーのログ(~/Library/Logs/pairvoice.log)に出る。
理由がログから絞れないときは pairvoice status で常駐サーバーの状態を見る。
同じ応答が二度読まれないよう $TMPDIR/claude-speak-state/seen-<message_id> にマークを置く。
手で動作確認するときは message_id を毎回変える(同じ ID の2回目は黙って何もしない)。
jq -n --arg id "manual-$(date +%s)" \
'{final: true, message_id: $id, delta: "動作確認です。"}' \
| bash plugin/hooks/speak-summary.sh
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub matzkoh/pairvoice --plugin pairvoicePlugins from other owners that cover similar ground