/verifier:16-cowork-path-formsfrom verifier
CLAUDE_PLUGIN_ROOT and CLAUDE_PLUGIN_DATA take three different forms across contexts in Cowork (Windows, MSYS, Linux mount); CLI baseline is a single Linux path (research sections 2.8 and 7.9).
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.
None: SKILL.md is the whole skill.
§2.8 — CLAUDE_PLUGIN_ROOT/DATA の 3 形式。
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 '[16-BODY %s] tag=alive-check\n' "$(date -Iseconds)"
printf '[16-BODY BODY_SUBST] ROOT=[${CLAUDE_PLUGIN_ROOT}] DATA=[${CLAUDE_PLUGIN_DATA}]\n'
printf '[16-BODY BODY_ENV] ROOT=[%s] DATA=[%s]\n' "${CLAUDE_PLUGIN_ROOT-(unset)}" "${CLAUDE_PLUGIN_DATA-(unset)}"
} | tee -a "$out_dir/probe.log"
echo
echo "=== 3 forms of ROOT/DATA in probe.log ==="
grep -E "BODY_SUBST|HOOK_SUBST|HOOK_ENV" "$out_dir/probe.log"
完了して exit、./scripts/assert.sh 16。
What SKILL.md sets; muted values are Claude Code's defaults
Bashsid="${CLAUDE_SESSION_ID:-no-sid}"; ver="${VERIFIER_VERSION_DIR:-v-unknown}"; out_dir="$CLAUDE_PROJECT_DIR/findings/$ver/$sid"; mkdir -p "$out_dir"; printf "[16-FM HOOK_SUBST] ROOT=[${CLAUDE_PLUGIN_ROOT}]\n[16-FM HOOK_ENV] ROOT=[%s] DATA=[%s]\n" "${CLAUDE_PLUGIN_ROOT:-(empty)}" "${CLAUDE_PLUGIN_DATA:-(empty)}" >> "$out_dir/probe.log"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