walkeros-create-cmp-so…
A CMP source is a specialized walkerOS source that listens to a consent management platform's events and translates consent…
Read [understanding-mapping](../walkeros-understanding-mapping/SKILL.md) first for core concepts.
Claude Code
$ npx -y skills add elbwalker/walkerOS --skill walkeros-mapping-configuration --agent claude-code
Codex
$ npx skills add elbwalker/walkerOS --skill walkeros-mapping-configuration -a codex -y
Cursor
$ npx skills add elbwalker/walkerOS --skill walkeros-mapping-configuration -a cursor -y
Gemini CLI
$ npx skills add elbwalker/walkerOS --skill walkeros-mapping-configuration -a gemini-cli -y
GitHub Copilot
$ npx skills add elbwalker/walkerOS --skill walkeros-mapping-configuration -a github-copilot -y
OpenCode
$ npx skills add elbwalker/walkerOS --skill walkeros-mapping-configuration -a opencode -y
Windsurf
$ npx skills add elbwalker/walkerOS --skill walkeros-mapping-configuration -a windsurf -y
name: walkeros-mapping-configuration description: Use when configuring walkerOS event mappings for specific use cases. Provides recipes for GA4, Meta, custom APIs, and common transformation patterns.
Read [understanding-mapping](../walkeros-understanding-mapping/SKILL.md) first for core concepts.
| I want to... | Use this pattern | | ------------------------------ | ---------------------------------------------------------------- | | Rename event | `{ name: 'new_name' }` | | Extract nested value | `'data.nested.value'` | | Set static value | `{ value: 'USD' }` | | Transform value | `{ fn: (value, { event }) => transform(event) }` | | Build object | `{ map: { key: 'source' } }` | | Process array | `{ loop: ['source', { map: {...} }] }` | | Gate by consent | `{ key: 'data.email', consent: { marketing: true } }` | | Gate one event type by consent | rule `consent: { marketing: true }` (on top of `config.consent`) | | First defined value (fallback) | `[{ key: 'data.sku' }, { key: 'data.id' }]` | | Add a field to a default rule | `{ extend: { data: { map: { x: 'path' } } } }` | | Drop a field from output | `{ remove: ['field.path'] }` |
**Product view → view_item:**
product: {
view: {
name: 'view_item',
data: {
map: {
currency: { key: 'data.currency', value: 'EUR' },
value: 'data.price',
items: {
loop: [
'this', // the product is the event itself
{
map: {
item_id: 'data.id',
item_name: 'data.name',
item_category: 'data.category',
price: 'data.price',
quantity: { key: 'data.quantity', value: 1 },
},
},
],
},
},
},
},
}**Order complete → purchase:**
order: {
complete: {
name: 'purchase',
data: {
map: {
transaction_id: 'data.id',
value: 'data.value',
currency: { key: 'data.currency', value: 'EUR' },
items: {
loop: [
'nested',
{
// only the products, not other nested entities
condition: (entity) =>
typeof entity === 'object' &&
entity !== null &&
'entity' in entity &&
entity.entity === 'product',
map: {
item_id: 'data.id',
item_name: 'data.name',
price: 'data.price',
quantity: { key: 'data.quantity', value: 1 },
},
},
],
},
},
},
},
}**Product view → ViewContent:**
product: {
view: {
name: 'ViewContent',
data: {
map: {
content_ids: { set: ['data.id'] },
content_type: { value: 'product' },
content_name: 'data.name',
value: 'data.price',
currency: { key: 'data.currency', value: 'EUR' },
},
},
},
}**Order complete → Purchase:**
order: {
complete: {
name: 'Purchase',
data: {
map: {
content_ids: {
loop: [
'nested',
{
condition: (entity) =>
typeof entity === 'object' &&
entity !== null &&
'entity' in entity &&
entity.entity === 'product',
key: 'data.id',
},
],
},
content_type: { value: 'product' },
value: 'data.value',
currency: { key: 'data.currency', value: 'EUR' },
num_items: {
fn: (value, { event }) =>
event.nested?.filter((entity) => entity?.entity === 'product')
.length ?? 0,
},
},
},
},
}**Transform to REST API format:**
'*': {
'*': {
// A computed name goes in policy: a rule's name is a fixed string
policy: {
name: { fn: (value, { event }) => `${event.entity}_${event.action}` }, // page_view
},
data: {
map: {
eventName: 'name',
eventData: 'data',
userId: 'user.id',
sessionId: 'user.session',
timestamp: 'timestamp',
metadata: {
map: {
consent: 'consent',
globals: 'globals',
},
},
},
},
},
}**Different mapping based on event data:**
order: {
complete: [
// High-value orders get extra tracking
{
condition: (value, { event }) =>
typeof event.data?.value === 'number' && event.data.value > 500,
name: 'high_value_purchase',
data: {
map: {
value: 'data.value',
priority: { value: 'high' },
notify: { value: true },
},
},
},
// Standard orders
{
name: 'purchase',
data: { map: { value: 'data.value' } },
},
],
}`@walkeros/transformer-ga4` ships default mapping rules in its `settings.mapping`. Normally a user rule at the same key replaces the default in full. Use `extend` or `remove` to patch instead.
Two layers, two keywords:
shipped default. A `null` value clears an inherited field. Onl
From browser to BigQuery and ad platforms - warehouse-native, and ready for AI agents via MCP.
A CMP source is a specialized walkerOS source that listens to a consent management platform's events and translates consent…
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 | | ---------------------------------- | ---------------------------- |…
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,…