walkeros-create-destin…
Use when creating a new walkerOS destination to send events to a vendor or API (GA4/gtag, Meta/Facebook Pixel, Mixpanel,…
A CMP source is a specialized walkerOS source that listens to a consent management platform's events and translates consent states into `elb('walker consent', state)` calls.
Claude Code
$ npx -y skills add elbwalker/walkerOS --skill walkeros-create-cmp-source --agent claude-code
Codex
$ npx skills add elbwalker/walkerOS --skill walkeros-create-cmp-source -a codex -y
Cursor
$ npx skills add elbwalker/walkerOS --skill walkeros-create-cmp-source -a cursor -y
Gemini CLI
$ npx skills add elbwalker/walkerOS --skill walkeros-create-cmp-source -a gemini-cli -y
GitHub Copilot
$ npx skills add elbwalker/walkerOS --skill walkeros-create-cmp-source -a github-copilot -y
OpenCode
$ npx skills add elbwalker/walkerOS --skill walkeros-create-cmp-source -a opencode -y
Windsurf
$ npx skills add elbwalker/walkerOS --skill walkeros-create-cmp-source -a windsurf -y
name: walkeros-create-cmp-source description: Use when creating a new walkerOS CMP (consent management platform) source. Structured fill-in-the-blanks workflow that turns any CMP's consent API into a walkerOS source package. Covers CookieFirst, Usercentrics, CookiePro/OneTrust patterns and generalizes to any CMP.
A CMP source is a specialized walkerOS source that listens to a consent management platform's events and translates consent states into `elb('walker consent', state)` calls.
Every CMP source follows the same skeleton with only 5-6 decision points that vary per CMP. This skill turns "build a new CMP source" into a structured fill-in-the-blanks workflow.
Before starting, read these skills:
fit in architecture
interface
workflow
Documentation standards (for Phase 8)
This skill includes reference files you can copy:
CMP
minimal, revocation)
mapping
createMockWindow, mockEnv)
template
paths + handleConsent
Types bundle)
createMockElb, createCmpSource)
describe blocks)
**Note:** These are generic templates for the skill. The actual CMP package's examples go in `packages/web/sources/cmps/[name]/src/examples/`.
**CookieFirst** at `packages/web/sources/cmps/cookiefirst/` is the canonical template. Copy its structure for every new CMP source.
**Note:** The CookieFirst package.json predates this skill and lacks the `walkerOS-source` keyword. New CMP sources MUST include it (the CookiePro and Cookiebot packages do).
1. Research -> Fill in the CMP research template 2. Examples -> Create input/output examples (full, partial, minimal, revocation, edge cases) 3. Mapping -> Define category map with sensible defaults 4. Scaffold -> Copy from CookieFirst template 5. Convention -> walkerOS.json, buildDev 6. Test -> Write tests FIRST (TDD): 25-32 tests across 8-9 describe blocks 7. Implement -> Wire up detection paths + handleConsent + destroy 8. Document -> README + docs page, registered with the other CMP sources
---
**Goal:** Fill in every field of this template before writing any code.
Fill in ALL of these fields for the target CMP:
| Field | Description | Example (CookieFirst) | | --------------------------------- | ---------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------ | | **CMP name** | Official product name | CookieFirst | | **Global window object** | `window.X` shape and key properties | `window.CookieFirst.consent` (boolean map) | | **SDK events** | Event names, `CustomEvent` detail structure | `cf_init` (Event), `cf_consent` (CustomEvent with consent detail) | | **Callbacks/hooks** | Function wrapping patterns | None | | **Category naming** | Human-readable vs opaque IDs | Human-readable (`necessary`, `functional`, `performance`, `advertising`) | | **Consent access pattern** | Is consent read from a property (`window.CMP.consent`) or an API method (`CMP.getConsent()`)? | Property: `window.CookieFirst.consent` | | **Explicit consent detection** | API or mechanism to check if user actively chose | `consent === null` means no explicit choice | | **"Already loaded" detection** | How to detect CMP loaded before source | `window.CookieFirst.consent` exists and is non-null | | **Official docs URL** | Link to CMP's developer/API documentation | CookieFirst Public API docs | | **npm packages / TS types** | Available type packages | None (define own types)
From browser to BigQuery and ad platforms - warehouse-native, and ready for AI agents via MCP.
Use when creating a new walkerOS destination to send events to a vendor or API (GA4/gtag, Meta/Facebook Pixel, Mixpanel,…
Use when creating a new walkerOS source to capture events (browser source, dataLayer interception, server/HTTP source, webhook…
| Symptom | Likely Cause | Check | | ---------------------------------- | ---------------------------- |…
Read [understanding-mapping](../walkeros-understanding-mapping/SKILL.md) first for core concepts.
You are an AI agent running inside a **code-execution host**, not issuing tool calls one at a time through the model. Examples:
Use this skill to extract structured Markdown/JSON from PDFs and document images—tables with cell-level precision, formulas as…
Estimates intracellular metabolic fluxes from steady-state carbon-13 isotope-tracing measurements using validated atom maps,…