cookie-audit

cookie-audit is a skill for Claude Code from capazme/mcp-legal-it. It costs 248 tokens per session (4,499 once invoked), scanned A, original, Apache-2.0.

A website cookie audit tool that checks the cookies and tracking services a public site actually loads before and after consent.

In plain words
What is it for?
Use it to inventory cookies and trackers, check GDPR and Italian cookie-law compliance, and prepare remediation materials or a report.
Why use it?
It reveals differences between a site's stated cookie policy and its real behaviour, including possible tracking before consent.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable.

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 legal-it plugin — 23 skills, 9 commands, 6 agents, 1 hook, 1 MCP server shipped together

Good fit Use it to inventory cookies and trackers, check GDPR and Italian cookie-law compliance, and prepare remediation materials or a report.

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 capazme/mcp-legal-it
Claude Code
/plugin install legal-it

Made for: Claude Code.

Or install legal-it, the plugin that ships this one along with the rest of its 23 skills, 9 commands, 6 agents, 1 hook, 1 MCP server.

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 cookie-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/capazme/mcp-legal-it/cookie-audit/github.svg)](https://agentmods.dev/skills/capazme/mcp-legal-it/cookie-audit)
Your own site
<a href="https://agentmods.dev/skills/capazme/mcp-legal-it/cookie-audit"><img src="https://agentmods.dev/badge/skills/capazme/mcp-legal-it/cookie-audit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cookie-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/capazme/mcp-legal-it/cookie-audit"><img src="https://agentmods.dev/badge/skills/capazme/mcp-legal-it/cookie-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 248 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,499 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.00248 $0.04499
Opus 5.5 $0.00099 $0.01800
Sonnet 5.5 $0.00050 $0.00900
Haiku 4.5 $0.00025 $0.00450

Measured 1mo ago against content hash fe8e2f985cf5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cookie-audit 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 1mo ago.

The scan reads SKILL.md. This mod also ships 5 executable files (scripts/generate_report.js, scripts/inspect_container.py, scripts/inspect_container.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

plugin/skills/cookie-audit/SKILL.md · 141 lines

How it starts

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

Produce un'analisi tecnico-legale degli strumenti di tracciamento di un sito pubblico e delle sue newsletter, con la rigorosità di un accertamento privacy: non ci si limita a leggere la cookie policy dichiarata (spesso auto-generata e imprecisa), ma si osserva il comportamento reale — nel browser, distinguendo ciò che accade prima e dopo il consenso, e nelle email effettivamente ricevute.

Cosa produce

  1. Tabella cookie unica — nome · fornitore/dominio · finalità · durata · categoria · stato (osservato / atteso / condizionale).
  2. Mappa dei pixel e dei tracciatori — sito e newsletter: strumento · dove · ID · eventi e dati inviati · momento (pre/post consenso, all'apertura, al clic) · stato. Comprende CMP, container GTM e regole di attivazione dei tag, Advanced Matching, tagging lato server, piattaforma di invio delle email.
  3. Valutazione di conformità — Provvedimento del Garante 10 giugno 2021 (cookie e altri strumenti di tracciamento), Linee guida del Garante sui tracking pixel nelle comunicazioni di posta elettronica (17 aprile 2026, adeguamento entro il 29 ottobre 2026), GDPR, art. 122 Cod. privacy (vedi references/compliance-checklist.md e references/newsletter-tracking.md).
  4. Report Word su richiesta (scripts/generate_report.js).
  5. Remediation su richiesta — bozza di cookie policy e di informativa allineate allo stack reale + checklist di adeguamento.

Principio cardine

Il test decisivo del diritto italiano/UE è: nessun cookie non tecnico, nessun pixel e nessuna chiamata a terze parti non necessarie prima di un consenso libero e specifico (art. 122 Cod. Privacy, che recepisce l'art. 5(3) Dir. ePrivacy). Il pixel è uno strumento di tracciamento anche quando non scrive cookie. Nelle email il pixel di apertura è un accesso al terminale del destinatario: serve sempre l'informativa e, salvo le deroghe delle Linee guida 2026, il consenso. Tutto il metodo ruota attorno a verificare empiricamente questi punti.

Read the full file on GitHub · 141 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. 1mo ago Changed fe8e2f985cf5
  2. 1mo ago Changed · +49 lines · -10 tokens per session 6d84f407446f
  3. 3mo ago First seen · 92 lines · 258 tokens per session scan A bd489e5a1877

Subscribe to this mod's changes

cookie-audit is a skill published in the GitHub repository capazme/mcp-legal-it (33 stars, last pushed 15d ago), licensed Apache-2.0. It adds 248 tokens to every session and 4,499 once invoked, about $0.0010 per session on Opus 5.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-30.

Related

cookie-audit compared with skills from other repositories

cookie-audit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cookie-auditcapazme/mcp-legal-itSkill3315d agoApache-2.0A248Claude Code
verified-researchsweetcornna/free-search-mcpSkill1946d agoMITA166Claude Code
blast-radiusserac-labs/seracSkill772d agoApache-2.0A39Claude Code
change-managementserac-labs/seracSkill772d agoApache-2.0A37Claude Code
incident-managementserac-labs/seracSkill772d agoApache-2.0A42Claude Code
fluent-developmentserac-labs/seracSkill772d agoApache-2.0A77Claude Code
mobile-developmentserac-labs/seracSkill772d agoApache-2.0A45Claude Code