agentsclimarketplace

Consent log audit

Skill product-on-purpose/agent-skills-toolkit/tests/fixtures/anti/seeded-defects/privacy-notice-toolkit/skills/consent-log-audit

Audits an exported marketing consent log for expired retention windows, withdrawn consents still marked active, and rows missing a lawful basis, and returns the rows that need action. Use when a user asks to audit, check, or clean a consent log or a consent export before an assessment.From its SKILL.md

Install
npx -y skills add product-on-purpose/agent-skills-toolkit --skill consent-log-audit

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

1.7 KB, 320 tokens by cl100k_base, as published. Nobody here has run it

consent-log-audit

Read an exported consent log and return the rows a human has to act on before an assessment. The audit is read-only: it never edits the export and never writes back to the consent platform.

Before you start

Confirm the export carries every column in the log schema. An export missing renewed_at is a partial export, and the audit says so instead of guessing.

Procedure

  1. Load the export and confirm the column set against the schema.
  2. Drop every row whose consent_state is withdrawn. A withdrawn consent has nothing left to expire, and leaving it in the working set double-counts it in the summary.
  3. For each remaining row, compute the retention deadline as expires_at = granted_at + retention_days.
  4. Report every row whose expires_at is in the past as an expired consent that must be re-collected before the record is used again.
  5. Report separately every row with no lawful_basis, and every row whose consent_state is active but whose withdrawn_at is populated. Those two are data-quality defects, not retention defects, and they are fixed in the platform rather than by re-collecting.

Output

A table of rows needing action, grouped by the three categories in steps 4 and 5, with a count per category and the oldest offending row per category. Do not paste the whole export back.

What ships with it: 1 file

1.5 KB alongside SKILL.md

references/

Keep looking

Skills are one crate of 326,835. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.