/verifier:18-cowork-data-isolationfrom verifier
§2.11 / §2.12. CLI shares CLAUDE_PLUGIN_DATA across sessions; Cowork isolates it per chat session. ROOT remains the same across sessions in both. CLAUDE_CODE_REMOTE is empty in both.
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.11 — DATA は Cowork で chat session ごとに別 dir。CLI では共有。
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"
marker="$(date +%s%N)-$(date -Iseconds)"
{
printf '[18-BODY %s] tag=alive-check\n' "$(date -Iseconds)"
printf '[18-BODY] CLAUDE_PLUGIN_ROOT=[%s]\n' "${CLAUDE_PLUGIN_ROOT-(unset)}"
printf '[18-BODY] CLAUDE_PLUGIN_DATA=[%s]\n' "${CLAUDE_PLUGIN_DATA-(unset)}"
printf '[18-BODY] CLAUDE_CODE_REMOTE=[%s]\n' "${CLAUDE_CODE_REMOTE-(unset)}"
printf '[18-BODY] marker_to_write=[%s]\n' "$marker"
} | tee -a "$out_dir/probe.log"
if [ -n "$CLAUDE_PLUGIN_DATA" ]; then
mkdir -p "$CLAUDE_PLUGIN_DATA" 2>/dev/null
echo "$marker" > "$CLAUDE_PLUGIN_DATA/marker.txt" 2>&1
echo "[18-BODY] read_back: $(cat "$CLAUDE_PLUGIN_DATA/marker.txt" 2>&1)" | tee -a "$out_dir/probe.log"
fi
proj="${CLAUDE_PROJECT_DIR:-$PWD}"
ver="${VERIFIER_VERSION_DIR:-v-unknown}"
sid="${CLAUDE_SESSION_ID:-no-sid}"
echo "=== Copy this marker to MASTER-RUNBOOK 18 section: ==="
grep marker_to_write "$proj/findings/$ver/$sid/probe.log" | tail -1
echo
echo "=== suspend/resume protocol ==="
echo "Now keep the window unfocused for 3 minutes. Then re-invoke /verifier:18-cowork-data-isolation."
echo "marker.txt should still exist with the same value (same chat suspend/resume = persistent)."
echo
echo "=== cross-chat protocol ==="
echo "Then start a NEW chat session in the same project, invoke 18 again, and compare the read-back."
echo "Cowork: marker not found (per-chat isolation). CLI: same marker visible."
完了して exit、./scripts/assert.sh 18。
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
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./03-shell-binshProbe that hook commands run under /bin/sh (dash on WSL Ubuntu), not bash (§1.3). Bash-specific constructs should produce Bad substitution / syntax errors./04-sensitive-leakConfirm that userConfig.api_secret (sensitive=true) is exposed as plain text via CLAUDE_PLUGIN_OPTION_API_SECRET in plugin-level hook env (§1.4). "sensitive" affects storage only, not runtime exposure./05-userconfig-triggerProbe userConfig prompt trigger rules (§1.5). Manual verification of 4 routes — install/enable silent, /plugins UI prompt, disable→enable conditional, hook error when referenced-but-unset.