en un clic
show-upe
// Surfaces UPE_PROBE_* marker lines to test whether the plugin-level UserPromptExpansion hook fires on Cowork. Invoking this skill via slash is itself the trigger; compares against UserPromptSubmit and SessionStart controls.
// Surfaces UPE_PROBE_* marker lines to test whether the plugin-level UserPromptExpansion hook fires on Cowork. Invoking this skill via slash is itself the trigger; compares against UserPromptSubmit and SessionStart controls.
| name | show-upe |
| description | Surfaces UPE_PROBE_* marker lines to test whether the plugin-level UserPromptExpansion hook fires on Cowork. Invoking this skill via slash is itself the trigger; compares against UserPromptSubmit and SessionStart controls. |
| user-invocable | true |
この skill を slash で起動した(/cowork-upe-probe:show-upe と入力した)こと自体が UserPromptExpansion hook のトリガーです(UserPromptExpansion は slash 経由でのみ発火する event)。直前の context(SessionStart / UserPromptSubmit / UserPromptExpansion hook の stdout として注入されたもの)から、次のプレフィックスで始まる行を一字一句そのまま貼ってください。見当たらないものは「無し」と明記してください。
UPE_PROBE_SESSIONSTART= — SessionStart hook(plugin がロードされ hook の stdout が surface する基盤確認)UPE_PROBE_PROMPTSUBMIT= — UserPromptSubmit hook(slash でも発火する control。stdout は context に入る)UPE_PROBE_EXPANSION= — UserPromptExpansion hook(今回の主目的。slash 起動で発火するか)UPE_PROBE_EXPANSION=fired が出た → UserPromptExpansion は Cowork でも発火する(従来「CLI のみ」とした結論の更新)UPE_PROBE_EXPANSION 無し かつ UPE_PROBE_PROMPTSUBMIT=ok は出る → UserPromptExpansion だけ発火しない(UserPromptSubmit は出るので「hook が surface しない」ではなく event 固有。従来結論「CLI のみ」が Cowork でも成立)UPE_PROBE_SESSIONSTART=ok も無し → plugin hook がそもそも surface していない(基盤側の問題。別 chat で再試行)Plugin validation failed で reject される可能性が高い(§2.3)。その場合は「install できなかった(validation failed が出た)」を Windows の結果として記録。発火検証はインストールできた場合のみ。報告フォーマット:3 マーカーの有無(出た値も)+ どの判定セルに該当したか+ install できたか(特に Windows)。
Mac Cowork で、plugin-level SessionStart hook(host 側)から $CLAUDE_PLUGIN_DATA に書いた値が「別の chat session を跨いで」残るかを検証する probe。書き込み&読み戻しは hook(persist.sh)側で行い、その結果は SessionStart の stdout として context に出る。この skill body は対比用に「VM Bash 側から DATA が見えるか/hook が書いたファイルを読めるか」を確認する。
Triggers the plugin-level PreToolUse hooks by running a sentinel bash command, to test (via session export) whether Cowork runs PreToolUse hook commands through cmd.exe or a POSIX shell, and whether the inline block pattern actually blocks the bash tool.
Surfaces the EXEC_* marker lines emitted by the plugin-level SessionStart hooks, which run hook commands in EXEC FORM (args present). Used to test whether exec form resolves ${CLAUDE_PLUGIN_ROOT} to a real path and exports it as an env var on Cowork, where shell form (§2.1/§2.2) failed both.
Shows what skill-body CLAUDE_PLUGIN_ROOT and friends substitute to on Mac Cowork, whether the VM Bash tool can use that path, and whether the Read tool can read a bundled file at that host path.
Proves whether a skill frontmatter PreToolUse Bash hook fires on Cowork by emitting only a block decision (no echo). A marked bash should be blocked even though no frontmatter stdout surfaces.
Surfaces the MP_DA_* marker lines emitted by the plugin-level SessionStart hooks, used to disambiguate between (a) shell-bypass and (b) bash -c with $-escape models of Cowork hook execution.