Tooluck logoTooluck
SKILL.md

consent-registry

Agent skill fromaaron-he-zhu/aaron-marketing-skills

Use when the user asks to "log this subscriber''s opt-in", record unsubscribes/complaints, or query lawful basis; curates pseudonymous consent facts through the append-only consent stream and applies suppression/erasure tombstones immediately. Not for SEND scoring — use email-quality-auditor; not for building segments — use list-segment-builder. 订阅同意台账/实时退订抑制/合法性依据登记

How to install consent-registry

install consent-registry
# install the aaron-marketing-skills pack with the skills CLI
npx skills add aaron-he-zhu/aaron-marketing-skills

# or add only this skill to Claude Code: copy the folder

protocol/consent-registry/

# into

~/.claude/skills/consent-registry/ (all projects)

.claude/skills/consent-registry/ (one project)

protocol/consent-registry/SKILL.md

Apache-2.0Full file
1# Consent Registry
2
3The canonical consent and live-suppression authority. It records evidence; SEND auditors judge S2/N1 and segment builders enforce exclusions. A withdrawal must never wait as a pending proposal.
4
5## Quick Start
6
7```text
8Record opt-in for subject sha256-7d9f with basis/proof references and timestamp.
9Immediately suppress sha256-7d9f from unsubscribe webhook evt-882.
10Is sha256-7d9f suppressed right now?
11```
12
13## Skill Contract
14
15**Unit:** one pseudonymous subject ID supplied by the user's system. **Reads:** `memory/events/consent.ndjson` by replay, its projection, and minimum proof references. **Writes:** consent events only through `registry-events.py`; human records are projections. **Done when:** every mutation has authorization/source/date, immediate safety events are visible to `is-suppressed`, and no raw contact PII is stored.
16
17Opt-in/upsert/restore approval requires a request-bound host-capability `consent-registry` principal. `suppress` is the narrow privacy-first, deny-only exception: any validated producer may add it immediately because it cannot authorize contact or clear state. `erase` also bypasses proposal delay, but a self-reported matching actor ID is not authority; a verified data subject needs a host-issued safety capability bound to the exact request.
18
19### Handoff Summary
20
21Use the shared handoff. Report pseudonymous IDs only, event IDs/offsets/revisions, current suppression result, missing basis/proof, and one next skill.
22
23## Data Sources
24…

Excerpt shown under the repository's Apache-2.0 license.

More skills in aaron-marketing-skills

Keep exploring

Similar skill repositories

nexu-io /

open-design
107k

The 1st Collaborative AI Design Agent Workspace. Local-first and open source. Create motion, prototypes, websites, apps, dashboards, presentations, images, and videos with your team and AI agents. Share work, exchange feedback, and iterate together in one workspace.

40 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates