/verifier:06-marketplace-cachefrom verifier
Compare CLAUDE_PLUGIN_ROOT with the marketplace cache path (§1.6). Docs say plugins run from cache; observation showed they run from source. This probe lets you classify the current behavior as PASS (finding holds) or DOC-ALIGNED (cache is now used).
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.
§1.6 — claude plugin install した plugin が cache から実行されるか、source から実行されるかを判定。
事前準備:./scripts/install-marketplace.sh で正式 install 経路を通していること(--plugin-dir の ephemeral では §1.6 の判定不可)。
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 '[06-BODY %s] tag=alive-check\n' "$(date -Iseconds)"
printf '[06-BODY] CLAUDE_PLUGIN_ROOT=[%s]\n' "${CLAUDE_PLUGIN_ROOT-(unset)}"
printf '[06-BODY] -- candidate cache dirs --\n'
find "$CLAUDE_CONFIG_DIR/plugins/cache" -name plugin.json -maxdepth 5 2>/dev/null | sort | head -10
printf '[06-BODY] -- candidate marketplaces --\n'
find "$CLAUDE_CONFIG_DIR/plugins/marketplaces" -name marketplace.json -maxdepth 5 2>/dev/null | head -5
# Compare
installed_plugin_json=$(find "$CLAUDE_CONFIG_DIR/plugins/cache" -path '*verifier*/plugin.json' -maxdepth 5 2>/dev/null | head -1)
if [ -n "$installed_plugin_json" ]; then
cache_dir=$(dirname "$installed_plugin_json")
printf '[06-BODY] cache_dir=[%s]\n' "$cache_dir"
if [ "$CLAUDE_PLUGIN_ROOT" = "$cache_dir" ]; then
printf '[06-BODY] VERDICT=DOC-ALIGNED (root == cache, cache is used at runtime)\n'
else
printf '[06-BODY] VERDICT=PASS (root != cache, finding holds: source path used at runtime)\n'
fi
else
printf '[06-BODY] VERDICT=UNKNOWN (no cache plugin.json found)\n'
fi
} | tee -a "$out_dir/probe.log"
完了して exit、./scripts/assert.sh 06。
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.