/awesome-agent-skills:awesome-privacy-auditfrom awesome-agent-skills
Read-only privacy audit of a codebase: maps personal data, data flows, retention, deletion, consent gating, and exposure. Use for GDPR/CCPA readiness reviews, before launching in a new region, or after adding a tracker or SDK.
Ships in awesome-agent-skills. 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.
Find out what personal data a system holds and what happens to it: where each class enters, every place it is copied, who receives it, how long it stays, and whether a deletion ever reaches the copies. The primary database is rarely the problem; the problem is the cache, the search index, the analytics event, the error report and the nightly export that nobody counted.
Read-only: it reports a data map, ranked findings and a verdict, and never edits code, config or data. Works from source, schemas, migrations, infrastructure config and client code; a live system is not needed, and a check that would need one is named rather than run.
Jurisdiction-neutral. The tracks below follow principles that most data-protection regimes share — collect what a purpose needs, keep it no longer than that, tell the person and let them see, correct and remove it, protect it in proportion to its harm. A regime (the EU's GDPR, California's CCPA, Brazil's LGPD) is named only as an example of where a principle comes from. This audit is not legal advice: it states what the code does, and whether that is lawful for a given product, market and legal basis is a question for counsel. No finding says "non-compliant", and no report estimates fines.
Reference files (load the one you need):
references/data-classes.md — the data classes and their weights, the combinations that raise a class, where personal data hides beyond the schema, and the evidence each inventory row carries. Read it before Track 1.references/stores-and-deletion.md — the store catalogue, retention thresholds, the deletion-propagation walk, rights mechanics, consent gating and the blast-radius line. Read it before Track 2 and keep it open through Track 7.Zero hits is not absence. Search honours ignore files, generated clients hide calls, and an SDK configured by a remote tag manager shows nothing in source. Search with ignores off before concluding a class never reaches a store, and put what source cannot show under NOT ASSESSED.
Parallelizing (large scope). Tracks 3 to 7 are independent read-only lenses over one shared data map. Build the inventory and the map first, yourself — they are the frozen brief every lens needs, and two agents with two maps reach two verdicts. Then fan out one read-only sub-agent per track; merge at one barrier that owns severity, deduplication and the verdict. Resource preflight (before fan-out): keep a wave to a few sub-agents, fewer when each runs a browser, a language server or tests; go serial when the machine is already short on CPU or memory; where the runtime caps sub-agent concurrency itself, defer to it.
What personal data the system holds, by class, each row with its source. Classes and weights are in references/data-classes.md: credentials, special category (health, biometric and the like), children, government identifiers, financial, precise location, contact, identifiers, behavioural and telemetry, and user content.
file:line that defines it, the file:line that first writes it, and whether anything reads it.Done when: every layer listed above has been read for the scope, and each class found carries its definition and first write.
Where each class goes after it enters. Walk the store catalogue in references/stores-and-deletion.md: primary database, replicas and warehouses, caches, queues and event streams, search indexes, object storage, logs, analytics and telemetry, error tracking, backups and exports, webhooks and outbound APIs, email/SMS/push, model providers, client storage.
Referer header. Finding per route shape.Done when: every class from Track 1 has been followed to every store and recipient the code writes it to, and each row of the map cites its write call.
Each field has a reason in the code, and each recipient gets only what its feature needs.
Done when: every inventory row has been checked for a read, and every recipient's payload compared with what its feature uses.
Every store holding personal data has an enforced end, and an account deletion reaches every store in the map. Thresholds, the propagation walk and the backup rule are in references/stores-and-deletion.md.
Done when: every store in the map has a retention entry, and the deletion walk has a result for each of them.
Which mechanisms exist, and what they cover against the map. Present, manual or absent — never "compliant".
Per mechanism (access and export, correction, deletion, consent withdrawal and objection, restriction), the route or tool, what it covers and the gap definitions are in the Rights mechanics section of the reference; deletion is the Track 4 walk, reported once there.
A mechanism that exists only as a runbook step is "manual", cited; an absent one is "absent". The response deadline a regime sets is not checked here.
Done when: each mechanism has a status and a citation, and each present one has its coverage gaps listed against the inventory.
Consent is checked where it acts, not where the banner asks.
Per tracker, read load order, the gate on every send, auto-capture, withdrawal, the stored decision and the essential/optional split, as set out in the Consent gating section of the reference. Ratings: a tracker that loads or sends before consent, or a second ungated path to the same vendor, is High; auto-capture over a form that collects a Highest-weight class is High; an overwritten-boolean decision record is Medium.
Done when: every tracker found in Track 2 has its load order, gate and withdrawal path read.
How badly each store would hurt if it were read by the wrong party. This track describes exposure; it does not hunt for the vulnerability that would cause it.
Done when: every store in the map has a blast-radius line, and each Highest-weight class has its encryption and access read.
Lead with the verdict and scope, then the data map, then findings by severity.
Privacy Audit — <system / scope> — <date>
Not legal advice: this states what the code does, not whether it is lawful.
Verdict: SHIP | FIX | BLOCK
Data map:
| Class | Field(s) | Source | Stores and recipients | Retention | Deletion reaches | Blast radius |
Findings (most severe first):
- [Critical|High|Medium|Low] [track] <file:line or store> — <what the code does> — <evidence: definition, write call, payload, setting> — <fix direction>
Rights mechanics: access <present|manual|absent> · correction · deletion · withdrawal · restriction — with gaps
Needs verification: <medium-confidence item — the check that would settle it>
Not assessed: <deployed config, tag-manager rules, vendor-side retention, contracts, transfer safeguards — and why>
Critical / High / Medium / Low, on the class's weight, how many people it reaches, and how far outside the system it travels. Critical: a Highest-weight class exposed or sent where it must not go. High: a store no deletion reaches, a tracker with no consent gate, unexpired transient secrets. Medium: over-collection or over-sending of contact-level data, personal data in URLs, an overwritten consent flag. Low: an unread identifier field, a retention longer than needed on a low-weight store.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
privacy-audit, data-mapping, gdpr, ccpa, data-protection, consent
npx claudepluginhub khasky/awesome-agent-skills --plugin awesome-agent-skills49 skills in this plugin
/awesome-accessibility-auditRead-only WCAG audit of UI and markup with a concrete fix per finding. Use when asked to check accessibility, a11y, keyboard or screen-reader support, or contrast./awesome-agents-md-generatorMines a codebase's real commands, conventions and boundaries into an agent-agnostic AGENTS.md, nested per package in monorepos, every rule backed by counted evidence. Use when asked to write, generate or refresh AGENTS.md or agent instructions for a repo./awesome-api-designDesigns or reviews an HTTP API's shape before code: resources, versioning, pagination, idempotency, filtering. Use when asked to design an API or an endpoint./awesome-architecture-auditRead-only audit of a whole codebase's design: module boundaries, dependency direction, docs-vs-code drift, extensibility, with a verdict. Use when asked to audit the architecture./awesome-bug-fixFixes a bug through a runnable reproduction and its root cause. Use for errors, crashes, failing tests or builds, flaky behavior, or repeated failed fixes./awesome-claims-auditChecks public claims (site, README, store listing, privacy policy, structured data) against the code and config that decide them, then fixes drift. Use when asked whether the site still matches the product.Other plugins' skills for the same job