Skip to content
Back to skills

Privacy Analytics

ASecurity

Audit third-party embeds, add a fair consent banner only if needed, and wire analytics to the brief's success number.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 24, 2026
ai-agentsgonode

Security analysis

A100/100

Scanned November 24, 2026

npx -y skills add DevPatel128/lilac-plugin --skill privacy-analytics --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Privacy Analytics?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Privacy Analytics
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/devpatel128-privacy-analytics/badge)](https://www.skillsdirectory.com/skills/devpatel128-privacy-analytics)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: privacy-analytics
description: Audit third-party embeds, add a fair consent banner only if needed, and wire analytics to the brief's success number.
disable-model-invocation: true
---
# /lilac:privacy-analytics

Three steps. Never invent company details: unknown stays UNKNOWN.

1. **Consent audit.** Run `node "${CLAUDE_PLUGIN_ROOT}/scripts/consent.mjs" audit "${CLAUDE_PROJECT_DIR}"`. Every third-party script, embed or font must have a row in `privacy/cookies.md`. A banner is needed only when something sets non-essential cookies or trackers; cookieless analytics and no embeds need none.
2. **If rows are missing:** ask the law with AskUserQuestion (GDPR / DPDP / CCPA / LGPD), then run `consent.mjs init "${CLAUDE_PROJECT_DIR}" --law <law>`. It writes the cookie table, an equal Accept/Reject banner snippet and a policy outline. Ask the owner for each UNKNOWN (purpose, duration, vendor, lawful basis, company name, contact). Do not guess. Paste the banner into every page only when the audit says it is needed.
3. **Analytics.** Run `node "${CLAUDE_PLUGIN_ROOT}/scripts/analytics.mjs" plan "${CLAUDE_PROJECT_DIR}"` (add `--provider posthog` if asked). It reads the brief's Success number and wires the main action to one event, cookieless. If it says "success must be a number", go back to the brief and ask for one.

Payments: Stripe is the default. For India, use Razorpay (`features/server/payments/razorpay.mjs`): prices are set on the server, webhooks are signature-checked, test keys only.

Then ask with AskUserQuestion: Approve / Change something / Stop. Show the audit result and the files written. Not legal advice: say so and suggest a lawyer reviews the policy.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.