/verifier:00-canaryfrom verifier
Observation 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.
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.
このスキルは観測基盤の生存確認です。後続のすべての probe の前提となるため、最初に走らせてください。
次の bash を1つずつ実行してください:
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 '[00-canary-body %s] tag=alive-check sid=%s\n' "$(date -Iseconds)" "$sid" | tee -a "$out_dir/probe.log"
proj="${CLAUDE_PROJECT_DIR:-$PWD}"
ver="${VERIFIER_VERSION_DIR:-v-unknown}"
sid="${CLAUDE_SESSION_ID:-no-sid}"
echo "=== hooks.log ($proj/findings/$ver/$sid/hooks.log) ==="
ls -la "$proj/findings/$ver/$sid/" 2>&1
echo
echo "=== probe.log ==="
cat "$proj/findings/$ver/$sid/probe.log" 2>&1
echo
echo "=== hooks.log (last 60 lines) ==="
tail -n 60 "$proj/findings/$ver/$sid/hooks.log" 2>&1
完了したら exit してください。./scripts/assert.sh 00 で観測基盤の生存判定が走ります。
What SKILL.md sets; muted values are Claude Code's defaults
Bashmkdir -p "$CLAUDE_PROJECT_DIR/findings/${VERIFIER_VERSION_DIR:-v-unknown}/${CLAUDE_SESSION_ID:-no-sid}" && printf "[00-canary-fm %s] tag=fm-registered ROOT=[%s] DATA=[%s] SESSION=[%s]\n" "$(date -Iseconds)" "$CLAUDE_PLUGIN_ROOT" "$CLAUDE_PLUGIN_DATA" "$CLAUDE_SESSION_ID" >> "$CLAUDE_PROJECT_DIR/findings/${VERIFIER_VERSION_DIR:-v-unknown}/${CLAUDE_SESSION_ID:-no-sid}/probe.log"24 skills in this plugin
/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.Other plugins' skills for the same job
npx claudepluginhub kazukinagata/analyzing-claude-plugin --plugin verifier