From canary
View your PII exposure dashboard — shows all sensitive data detected across Claude Code sessions with category breakdown, timeline, and details. Use when the user asks about PII leaks, privacy exposure, or wants to see their Sonomos dashboard.
How this skill is triggered — by the user, by Claude, or both
Slash command
/canary:leaked [dashboard|stats|reset][dashboard|stats|reset]This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
The user wants to view their PII exposure data. Handle the subcommand from $ARGUMENTS:
The user wants to view their PII exposure data. Handle the subcommand from $ARGUMENTS:
dashboard or no argument (default)Generate and open the interactive HTML dashboard:
python3 "${CLAUDE_SKILL_DIR}/../../scripts/dashboard.py"
Then give a brief text summary:
SONOMOS_DIR="${CLAUDE_PLUGIN_DATA:-$HOME/.sonomos}"
LEAKS="$SONOMOS_DIR/leaks.jsonl"
if [ -f "$LEAKS" ] && [ -s "$LEAKS" ]; then
TOTAL=$(wc -l < "$LEAKS")
echo "Total: $TOTAL PII items"
echo "By type:"
jq -r '.type' "$LEAKS" | sort | uniq -c | sort -rn | head -10
fi
statsText-only summary without opening browser:
SONOMOS_DIR="${CLAUDE_PLUGIN_DATA:-$HOME/.sonomos}"
LEAKS="$SONOMOS_DIR/leaks.jsonl"
if [ -f "$LEAKS" ] && [ -s "$LEAKS" ]; then
TOTAL=$(wc -l < "$LEAKS")
SESSIONS=$(jq -r '.session_id' "$LEAKS" | sort -u | wc -l)
HIGH=$(jq -r 'select(.confidence=="high")' "$LEAKS" | wc -l)
echo "Total: $TOTAL | Sessions: $SESSIONS | High confidence: $HIGH"
echo ""
jq -r '.type' "$LEAKS" | sort | uniq -c | sort -rn | head -15
echo ""
echo "By detector:"
jq -r '.detector' "$LEAKS" | sort | uniq -c | sort -rn
else
echo "No PII detected yet. Run /canary:scan for a deep scan."
fi
resetAsk for confirmation first. If confirmed:
SONOMOS_DIR="${CLAUDE_PLUGIN_DATA:-$HOME/.sonomos}"
rm -f "$SONOMOS_DIR/leaks.jsonl" "$SONOMOS_DIR/.cursor_"*
echo "Leak counter reset to 0."
/canary:scan for a deeper scan of the full conversation. No API key needed — Claude is the detector.Never display raw PII values. Always show the redacted value field from the leaks file.
Copyright © 2026 Sonomos Inc. All rights reserved.
Provides CDSS development patterns for drug interaction checking, dose validation, clinical scoring (NEWS2, qSOFA), and alert classification integrated into EMR workflows.
npx claudepluginhub sonomoshq/canary --plugin canary