leaked

leaked is a skill for Claude Code from sonomoshq/Canary. It costs 28 tokens per session (666 once invoked), scanned A, original, MIT.

A command for viewing the Sonomos leak counter, which records possible personal-information leaks from Claude Code, in a browser dashboard or text summary.

In plain words
What is it for?
Opening the leak dashboard, viewing sample data, checking text-only statistics, and resetting the counter.
Why use it?
It gives you a way to inspect exposure without searching log files manually, and to clear the recorded history after confirmation.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the canary plugin — 5 skills, 1 agent, 3 hooks shipped together

Good fit Opening the leak dashboard, viewing sample data, checking text-only statistics, and resetting the counter.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add sonomoshq/Canary
Claude Code
/plugin install canary

Made for: Claude Code.

Or install canary, the plugin that ships this one along with the rest of its 5 skills, 1 agent, 3 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for leaked

README.md
[![agentmods](https://agentmods.dev/badge/skills/sonomoshq/canary/leaked.svg)](https://agentmods.dev/skills/sonomoshq/canary/leaked)
Your own site
<a href="https://agentmods.dev/skills/sonomoshq/canary/leaked"><img src="https://agentmods.dev/badge/skills/sonomoshq/canary/leaked.svg" alt="Measured on agentmods" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 666 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00028 $0.00666
Opus 5 $0.00014 $0.00333
Sonnet 5 $0.00006 $0.00133
Haiku 4.5 $0.00003 $0.00067

Measured 7d ago against content hash 89b52c63b582, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

leaked scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

canary/skills/leaked/SKILL.md · 71 lines

How it starts

The opening of the file, as written. The whole thing — 71 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Sonomos Leak Counter — Dashboard

Handle the subcommand from $ARGUMENTS:

dashboard or no argument (default)

Generate and open the interactive HTML dashboard:

python3 "${CLAUDE_PLUGIN_ROOT}/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

demo

Show the dashboard populated with sample data, so the user can see what it looks like before any real detections exist:

python3 "${CLAUDE_PLUGIN_ROOT}/scripts/dashboard.py" --demo

stats

Text-only summary without opening a browser. Prefer the bundled tool over inline jq:

bash "${CLAUDE_PLUGIN_ROOT}/bin/canary-stats"

reset

Ask for confirmation first. If confirmed:

SONOMOS_DIR="${CLAUDE_PLUGIN_DATA:-$HOME/.sonomos}"
rm -f "$SONOMOS_DIR/leaks.jsonl" "$SONOMOS_DIR/.hud_cache" "$SONOMOS_DIR/.state" \
      "$SONOMOS_DIR/.filescan_index" "$SONOMOS_DIR/.cursor_"*
echo "Leak counter reset to 0."

Detection Architecture

  • Regex detectors (automatic): checksum-validated pattern matching runs silently on every Stop hook and on every file write/edit. Catches structured PII: credit cards, SSNs, emails, IBANs, crypto addresses, vendor API keys, phone numbers, and more.
  • Claude self-scan (automatic): Claude scans each new user message for the semantic categories regex can't catch — names, addresses, legal IDs, medical records, trade secrets — on every Stop hook. Run /canary:scan for a deeper scan of the full conversation. No API key needed — Claude is the detector.
  • Extension audit (on demand): /canary:audit scans installed skills, agents, plugins, and MCP configs for leaked secrets and suspicious exfiltration patterns.

Never display raw PII values. Always show the redacted value field from the leaks file.

Read the full file on GitHub · 71 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 71 lines · 28 tokens per session scan A 89b52c63b582

Subscribe to this mod's changes

leaked is a skill published in the GitHub repository sonomoshq/Canary (2 stars, last pushed 7d ago), licensed MIT. It adds 28 tokens to every session and 666 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

second-thought

Use when an idea, decision, design, plan, response, tool call, or action is about to be accepted or executed, especially during brainstorming, convergence, and pre-execution where shallow agreement or goal drift may occur.

gg-mo/second-thought-agent-skill · 49 tokens

using-second-thought

Use when starting any conversation and before major decisions to ensure second-thought critique is auto-applied before commitment, especially in brainstorming, convergence, and pre-execution phases.

gg-mo/second-thought-agent-skill · 39 tokens

docs-drift

Documentation-drift audit for this plugin monorepo. Audit either each scoped plugin's unreleased changelog claims or its latest shipped release from the previous reachable plugin-name--v tag, then verify that plugin READMEs, docs, CLAUDE.md or AGENTS.md files, and root documentation tell the truth for the matching…

gtapps/claude-code-hermit · 170 tokens

cco-tools

Show what tools actually cost in tokens — learned per-tool averages from observed results, replacing the hardcoded MCP/Agent guesses.

egorfedorov/claude-context-optimizer · 27 tokens

github-pr-creation

Creates GitHub Pull Requests with automated validation and task tracking. Use when user wants to create PR, open pull request, submit for review, or check if ready for PR. Analyzes commits, validates task completion, generates Conventional Commits title and description, suggests labels. NOTE - for merging existing…

fvadicamo/dev-agent-skills · 75 tokens

test-run

Run plugin test suites in this monorepo and report a concise pass/fail summary. Optional plugin slug arg; without arg, runs all plugins under plugins/.

gtapps/claude-code-hermit · 35 tokens