snr-privacy

snr-privacy is a command for Claude Code from Kin9Zeus/senior-engineer-skills. It costs 28 tokens per session (1,157 once invoked), scanned A, original, MIT.

A privacy and compliance workflow that builds a data inventory from the code, drafts a privacy policy, adds cookie consent, and creates automated data export and deletion steps.

In plain words
What is it for?
Use it to identify personal data, document how it is handled, control tracking scripts, process deletion requests, and manage retention and third-party records.
Why use it?
It connects privacy documents to the system’s real data flows and reduces the risk of promising controls that do not work.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the senior-engineer-skills plugin — 15 skills, 7 commands, 4 agents shipped together

Good fit Use it to identify personal data, document how it is handled, control tracking scripts, process deletion requests, and manage retention and third-party records.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/kin9zeus/senior-engineer-skills/snr-privacy
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/Kin9Zeus/senior-engineer-skills

Made for: Claude Code.

Or install senior-engineer-skills, the plugin that ships this one along with the rest of its 15 skills, 7 commands, 4 agents.

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 snr-privacy

README.md
[![agentmods](https://agentmods.dev/badge/commands/kin9zeus/senior-engineer-skills/snr-privacy/github.svg)](https://agentmods.dev/commands/kin9zeus/senior-engineer-skills/snr-privacy)
Your own site
<a href="https://agentmods.dev/commands/kin9zeus/senior-engineer-skills/snr-privacy"><img src="https://agentmods.dev/badge/commands/kin9zeus/senior-engineer-skills/snr-privacy/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 snr-privacy

Your own site · 80×15
<a href="https://agentmods.dev/commands/kin9zeus/senior-engineer-skills/snr-privacy"><img src="https://agentmods.dev/badge/commands/kin9zeus/senior-engineer-skills/snr-privacy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,157 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.01157
Opus 5 $0.00014 $0.00579
Sonnet 5 $0.00006 $0.00231
Haiku 4.5 $0.00003 $0.00116

Measured 11d ago against content hash 9942d2cf9b9c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

snr-privacy 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 11d 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.

commands/snr-privacy.md · 115 lines

How it starts

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

Privacy and Compliance Pack

Scope: $ARGUMENTS (default: the whole project, all four artefacts).

Load privacy-compliance. Load database-engineering for the erasure plan and retention jobs.

Say once, plainly: this produces technical controls and a policy drafted from real data flows. It is not legal advice. For a regulated sector, children's data, or special-category data, recommend a qualified privacy lawyer review the output — then build the controls anyway, because they are the same either way.

The order is fixed

Each artefact depends on the one above it. Drafting a policy before the inventory means describing a system you have not read.

1 DATA INVENTORY   from the CODE — schema, routes, third parties
2 POLICY           generated from the inventory
3 CONSENT          a mechanism that genuinely gates the scripts
4 RIGHTS PIPELINE  export and deletion, automated end to end
5 GOVERNANCE       DPAs, subprocessor list, retention jobs, breach plan

1 · The inventory — from the code, never from an interview

# Personal data in the schema
grep -rEni '(email|phone|address|birth|dob|ssn|passport|ip_?addr|location|gender|name)' \
  --include='*.prisma' --include='*.sql' --include='models*.py' --include='schema.rb' . | head -40

# EVERY third party that receives data — the highest-yield check in a privacy audit
grep -rhoE 'googletagmanager|google-analytics|gtag\(|connect\.facebook\.net|hotjar|segment|mixpanel|posthog|intercom|clarity\.ms|sentry\.io|stripe|paypal|fonts\.googleapis|recaptcha|youtube\.com/embed' \
  . --exclude-dir={node_modules,.git,dist} | sort -u

Every third party present in the code and absent from the policy is a P1. It is a misrepresentation to users, not a documentation gap. Note that a font CDN receives every visitor's IP address.

Then tag the schema so the inventory stays current rather than going stale in month two.

2 · The policy

Use templates/privacy-policy.md (EN) or templates/privacy-policy.es.md (ES). Fill it from the inventory, delete every inapplicable section, and never: claim a certification you do not hold, describe processing you do not do, promise deletion you cannot perform, or state a retention period nothing enforces.

Read the full file on GitHub · 115 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. 11d ago First seen · 115 lines · 28 tokens per session scan A 9942d2cf9b9c

Subscribe to this mod's changes

snr-privacy is a command published in the GitHub repository Kin9Zeus/senior-engineer-skills (3 stars, last pushed 17d ago), licensed MIT. It adds 28 tokens to every session and 1,157 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.