Public repository for Agent Skills
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
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)
1# Consent Registry23The 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.45## Quick Start67```text8Record 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```1213## Skill Contract1415**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.1617Opt-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.1819### Handoff Summary2021Use the shared handoff. Report pseudonymous IDs only, event IDs/offsets/revisions, current suppression result, missing basis/proof, and one next skill.2223## Data Sources24…
Excerpt shown under the repository's Apache-2.0 license.
More skills in aaron-marketing-skills
Similar skill repositories
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
The open-source app everyone uses to manage agents at work
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.
A curated list of awesome Claude Skills, resources, and tools for customizing Claude AI workflows
OmO: Just type "mass ulw" keyword with your prompt. Now you are the master of graph engineering.
