/verifier:17-cowork-bash-mountfrom verifier
Cowork mounts the plugin install dir under /sessions/CODENAME/mnt/.remote-plugins/ read-only. Bundled scripts can be launched via relative path; CLAUDE_SKILL_DIR expands to a Windows path that fails directly. CLI baseline lets both patterns work. See research section 2.10.
Ships in verifier. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
§2.10 — bundled script の起動パターン 2 種 + 罠(mkdir -p ゴミ、tee silent fail)。
proj="${CLAUDE_PROJECT_DIR:-$PWD}"
ver="${VERIFIER_VERSION_DIR:-v-unknown}"
sid="${CLAUDE_SESSION_ID:-no-sid}"
out_dir="$proj/findings/$ver/$sid"
mkdir -p "$out_dir"
{
printf '[17-BODY %s] tag=alive-check\n' "$(date -Iseconds)"
printf '[17-BODY] CLAUDE_SKILL_DIR=[%s]\n' "${CLAUDE_SKILL_DIR-(unset)}"
printf '[17-BODY] CLAUDE_PLUGIN_ROOT=[%s]\n' "${CLAUDE_PLUGIN_ROOT-(unset)}"
} | tee -a "$out_dir/probe.log"
# Pattern A: find then cd
skill_dir=$(find /sessions -path '*/skills/17-cowork-bash-mount' -type d 2>/dev/null | head -1)
if [ -z "$skill_dir" ]; then
# CLI: SKILL_DIR is a Linux path so use it directly
skill_dir="${CLAUDE_SKILL_DIR}"
fi
echo "Pattern A: cd $skill_dir && bash scripts/say-hi.sh" | tee -a "$out_dir/probe.log"
( cd "$skill_dir" 2>/dev/null && bash scripts/say-hi.sh ) 2>&1 | tee -a "$out_dir/probe.log"
proj="${CLAUDE_PROJECT_DIR:-$PWD}"
ver="${VERIFIER_VERSION_DIR:-v-unknown}"
sid="${CLAUDE_SESSION_ID:-no-sid}"
out_dir="$proj/findings/$ver/$sid"
echo "Pattern B: bash \"${CLAUDE_SKILL_DIR}/scripts/say-hi.sh\"" | tee -a "$out_dir/probe.log"
bash "${CLAUDE_SKILL_DIR}/scripts/say-hi.sh" 2>&1 | tee -a "$out_dir/probe.log" || echo "[17-PATTERN-B exited non-zero (expected on Cowork)]" | tee -a "$out_dir/probe.log"
proj="${CLAUDE_PROJECT_DIR:-$PWD}"
ver="${VERIFIER_VERSION_DIR:-v-unknown}"
sid="${CLAUDE_SESSION_ID:-no-sid}"
out_dir="$proj/findings/$ver/$sid"
before_pwd_listing=$(ls "$PWD" 2>/dev/null | head -20)
mkdir -p "${CLAUDE_PLUGIN_DATA}" 2>&1
after_pwd_listing=$(ls "$PWD" 2>/dev/null | head -20)
{
printf '[17-BODY trap-mkdir] before=%s\n' "$(echo $before_pwd_listing | tr '\n' ' ' | head -c 200)"
printf '[17-BODY trap-mkdir] after=%s\n' "$(echo $after_pwd_listing | tr '\n' ' ' | head -c 200)"
} | tee -a "$out_dir/probe.log"
完了して exit、./scripts/assert.sh 17。
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub kazukinagata/analyzing-claude-plugin --plugin verifier24 skills in this plugin
/00-canaryObservation infrastructure canary. Verifies that plugin-level hooks fire (via session-start log), that skill frontmatter hooks register and fire after first invoke, and that bash tool subprocess can write to the findings directory. Run this BEFORE any other probe — if this FAILs, the verdict of every later probe is CANARY-FAILED./01-env-propagationProbe env propagation across 3 process tiers (§1.1). Compares which CLAUDE_* env vars are set in plugin-level hook vs skill frontmatter hook vs Bash tool subprocess./02-substitution-allowlistProbe ${VAR} substitution allowlist in skill body (§1.2). Tests CLAUDE_PLUGIN_ROOT/DATA/SKILL_DIR/SESSION_ID/PROJECT_DIR substitution at invoke time.Other plugins' skills for the same job