Back to skills
SKILL.md
Aesirx Cmp Setup
ASecurityTitle: AesirX CMP Compliant Site Setup Keywords: aesirx, cmp, privacy-scan, cookie-consent, epd-5-3, gdpr, gpc, ccpa, myterms, verify-and-access, aesirx-cmp-mcp, wordpress, nextjs Agents: privacy-engineer, frontend, wordpress-specialist, security, client-onboarder When to use: When auditing a website repository (Next.js, React, HTML, or WordPress) for unblocked trackers or installing fail-closed AesirX CMP, ePD Art. 5(3) Disclosure Manifests, W3C GPC / CCPA opt-out handling, Verify & Access, ...
- 4 stars
- 0 votes
- 0 copies
- 0 views
- Added December 5, 2026
Works with
Security analysis
100/100npx -y skills add ronnikc/agent-os-protocol --skill aesirx-cmp-setup --agent claude-codeAre you the author of Aesirx Cmp Setup?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/ronnikc-aesirx-cmp-setup)Title: AesirX CMP Compliant Site Setup
Keywords: aesirx, cmp, privacy-scan, cookie-consent, epd-5-3, gdpr, gpc, ccpa, myterms, verify-and-access, aesirx-cmp-mcp, wordpress, nextjs
Agents: privacy-engineer, frontend, wordpress-specialist, security, client-onboarder
When to use: When auditing a website repository (Next.js, React, HTML, or WordPress) for unblocked trackers or installing fail-closed AesirX CMP, ePD Art. 5(3) Disclosure Manifests, W3C GPC / CCPA opt-out handling, Verify & Access, or IEEE 7012 agent consent negotiation.
Version: 1.1.0
Last updated: 2026-12-05
Audit a web repository for unblocked trackers and install fail-closed first-party AesirX CMP with ePD Art. 5(3) Disclosure Manifests, W3C GPC / CCPA opt-out handling, Verify & Access, and IEEE 7012 agent consent negotiation via `@agent-os/aesirx-cmp-mcp` (`agent-os cmp-mcp`). Follows a strict Scan → Preview → Confirm → Apply → Verify workflow with zero secret writes and clean rollback.
---
## Workflow
### Step 1 — Scan before proposing edits
Run `cmp_privacy_scan` against the workspace root. Record:
- Detected framework (`nextjs`, `react`, `html`, or `wordpress`).
- Unblocked third-party tracking scripts or pixels loading prior to consent.
- Presence and validity of the ePD Art. 5(3) Disclosure Manifest (`manifestValid`).
- Presence of `Sec-GPC: 1` / `navigator.globalPrivacyControl` handling (`gpcConfigured`).
### Step 2 — Preview every write (`apply: false`)
Invoke `cmp_install`, `cmp_configure_consent`, `cmp_enable_verify_and_access`, and `cmp_enable_agent_negotiation` with `apply: false` first. Present the exact `plannedWrites` paths, purposes, named recipients, retention periods, and rollback command to the site owner.
### Step 3 — Enforce disclosure specificity and secret hygiene
- Reject vague recipients (`"partners"`, `"third parties"`, `"various"`, `"affiliates"`). Enumerate exact named recipients and countries, or keep processing strictly first-party (`[]`).
- Never write private keys, API secrets, or wallet seeds into CMP configuration files.
- Keep `websiteIdSlot.status` set to `parked_pending_concordium_spec` until Concordium publishes its official Website ID specification.
### Step 4 — Apply, gate trackers, and re-verify
After explicit owner confirmation (`apply: true`), remove or consent-gate any flagged third-party scripts so nothing stores or reads non-essential browser storage pre-consent. Re-run `cmp_privacy_scan` and confirm `manifestValid: true` and `gpcConfigured: true`.
### Step 5 — Verify rollback readiness
Confirm `.aesirx-cmp-mcp/last-apply.json` rollback metadata is intact; if the owner requests reversion, call `cmp_rollback`.
---
## Input Schema
```yaml
input:
workspace_root:
type: string
required: true
description: "Absolute path to the target website repository"
framework:
type: string
required: false
enum: [nextjs, react, html, wordpress, auto]
default: auto
jurisdictions:
type: array
required: false
description: "Target legal regimes (e.g. EU-ePD-GDPR, US-CCPA-GPC)"
enable_verify_and_access:
type: boolean
required: false
default: false
enable_agent_negotiation:
type: boolean
required: false
default: true
```
## Output Schema
```yaml
output:
framework: { type: string }
scan_before:
type: object
properties:
unblocked_trackers: { type: integer }
manifest_valid: { type: boolean }
gpc_configured: { type: boolean }
planned_writes: { type: array }
applied: { type: boolean }
scan_after:
type: object
properties:
unblocked_trackers: { type: integer }
manifest_valid: { type: boolean }
gpc_configured: { type: boolean }
```
## Quality Gate
- `cmp_privacy_scan` executed both before and after edits.
- Every write tool previewed with `apply: false` before any file mutation.
- Zero vague recipient placeholders in Disclosure Manifests.
- Zero secrets or credentials written to CMP config files.
- `websiteIdSlot.status` preserved as `parked_pending_concordium_spec`.
- `npm run verify-cmp-mcp` green when modifying `@agent-os/aesirx-cmp-mcp`.
## Chain Metadata
```yaml
chain_metadata:
skill_slug: "aesirx-cmp-setup"
stage: "S4"
suggested_next:
- slug: "consent-negotiation-compliance"
stage: "S4"
reason: "Validate ePD 5(3), IEEE 7012 MyTerms, GPC precedence, and bilateral receipts"
- slug: "mcp-server-config"
stage: "S1"
reason: "Verify MCP client registration for agent-os cmp-mcp across IDEs"
```
## Error Handling
- Vague recipient string supplied → abort apply and require explicit legal entity name + country or `[]`.
- Secret-like value detected in CMP config → reject immediately; never persist credentials into site config.
- Unrecognized framework → fall back to `html` fail-closed snippet and document manual mount point.
- Owner rejects preview or post-apply check fails → invoke `cmp_rollback` and re-scan to confirm clean restore.
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.