How this command is triggered — by the user, by Claude, or both
Slash command
/EmotionPulse:setupThe summary Claude sees in its command listing — used to decide when to auto-load this command
# EmotionPulse Setup Command ## Metadata - Name: setup - Description: EmotionPulseの対話式セットアップ(hook登録 + statusline設定 + display config) - User invocable: true ## Instructions You are setting up the EmotionPulse plugin. This plugin displays the model's emotion vector in Claude Code's statusline. ### Architecture ### Step 1: Verify plugin location Check that the EmotionPulse plugin exists by reading: - `~/DEV/plugins-weave/EmotionPulse/scripts/domain/constants.py` If not found, also try: - `~/.claude/plugins/marketplaces/plugins-weave/EmotionPulse/scripts/domain/constants.py` Store the...
You are setting up the EmotionPulse plugin. This plugin displays the model's emotion vector in Claude Code's statusline.
[Stop hook fires after each response]
→ stop_hook_handler: block + systemMessage注入
→ メインエージェントが自己評価
→ python emotion_writer.py '{"calm":2,...}'
→ emotion_state.json書き出し
→ statuslineが読んで絵文字表示
Check that the EmotionPulse plugin exists by reading:
~/DEV/plugins-weave/EmotionPulse/scripts/domain/constants.pyIf not found, also try:
~/.claude/plugins/marketplaces/plugins-weave/EmotionPulse/scripts/domain/constants.pyStore the found path as <plugin_dir>. If neither found, inform the user and stop.
Ask the user (use AskUserQuestion):
EmotionPulse display設定:
- ラベル表示: ON / OFF
- 言語: ja (日本語) / en (English)
デフォルト: labels=ON, lang=ja →
落ち着き:🔵🔵, 知的興奮:🟢🟢🟢, 遊び心:🟡Enter to accept defaults, or specify your preference:
Write the config file to ~/.claude/plugins/.emotionpulse/config.json:
{
"version": "1.2.0",
"display": {
"show_labels": true,
"language": "ja"
}
}
Adjust show_labels and language based on user's answer from Step 2.
Copy the Stop hook launcher to the user hooks directory:
cp "<plugin_dir>/hooks/stop_handler.py" ~/.claude/hooks/emotion_pulse_stop.py
Read the current project settings from .claude/settings.json (in the user's working directory).
Add (or merge) the Stop hook entry into settings.json:
{
"hooks": {
"Stop": [{
"hooks": [{
"type": "command",
"command": "python \"~/.claude/hooks/emotion_pulse_stop.py\"",
"timeout": 5000
}]
}]
}
}
IMPORTANT: Preserve any existing hooks in the file. Merge, don't overwrite.
Use the /statusline command or the statusline-setup agent to configure the statusline script. The script command is:
cd <plugin_dir> && python -m scripts statusline
Where <plugin_dir> is the EmotionPulse plugin root found in Step 1.
Display a summary to the user:
EmotionPulse setup complete!
Hook: Stop (command) → stop_handler.py → systemMessage → 自己評価
Writer: python emotion_writer.py '{"calm":N,...}'
Statusline: python -m scripts statusline
Config: ~/.claude/plugins/.emotionpulse/config.json
Display: labels=ON, lang=ja
Each response will show emotion indicators in the statusline:
落ち着き:🔵🔵, 知的興奮:🟢🟢🟢, 遊び心:🟡
/setupInitializes or resumes project setup via interactive Q&A, creating conductor/ artifacts for product definition, guidelines, tech stack, workflow, and style guides.
/setupWalks an enterprise admin through configuring the Claude Office add-in to call their own cloud (Vertex, Bedrock, Foundry, or gateway), producing a customized manifest.xml for M365 deployment.
/setupChecks local Codex CLI readiness, prompts to install if unavailable via npm, and optionally toggles stop-time review gate.
/setupInteractive setup wizard that detects installed AI providers, configures authentication, and optimizes token usage. Auto-runs on first install and surfaces a status dashboard on manual invocation.
npx claudepluginhub bizuayeu/plugins-weave --plugin EmotionPulse