Meta pixel capi
Fail-closed Meta Pixel + Conversions API orchestration for Next.js, React, Shopify, WordPress, GoHighLevel, ClickFunnels, Webflow, and static HTML with strict source and security validation.From its SKILL.md
npx -y skills add rileyvibecodes/meta-pixel-capi --skill meta-pixel-capiAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 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
4.9 KB, 996 tokens by cl100k_base, as published. Nobody here has run it
Meta Pixel + CAPI Orchestrator (Fail-Closed)
Use this skill to produce implementation guidance only when source integrity, platform coverage, and security conditions are satisfied.
Purpose
- Standardize Meta Pixel + CAPI setup across Tier-1 platforms.
- Prevent insecure or unverifiable guidance.
- Guarantee deterministic response structure.
Non-Negotiables
- Fail closed if required source IDs are stale, missing, or unverified.
- Never output full secrets, tokens, private keys, or live credentials.
- Never provide wildcard CORS configuration.
- Use canonical Graph API major version from
manifests/source-registry.json. - Include explicit fallback for unsupported stacks using
references/core/unsupported-fallback.md.
Execution Flow
- Run source integrity check using
manifests/source-registry.jsonandmanifests/rule-registry.json. - Detect platform and map to
manifests/platform-matrix.json. - Load required reference files only.
- Apply platform-specific implementation steps.
- Return output in the exact response contract order.
- If any required input or source is unresolved, stop and return failure handling output only.
Deterministic Output Contract
Always return sections in this exact order:
- Detection
- Required Inputs
- Implementation
- Verification
- Failure Handling
- Security Notes
- Source IDs Used
No extra top-level sections are allowed.
Detection
- Detect one of the Tier-1 platforms:
next.jsreactshopifywordpressgohighlevelclickfunnelswebflowstatic-html
- If no Tier-1 match is available, set platform to
unsupportedand use fallback contract. - Output automation level from
manifests/platform-matrix.json.
Required Inputs
Require these fields before implementation:
meta_pixel_iddomainevent_map(business funnel steps mapped to Meta standard events)
Require these fields for server-side CAPI paths:
capi_access_token(store in env only; never echo)test_event_codefor validation phase
Do not ask users to paste secrets into chat history. Ask for confirmation that env vars are set.
Implementation
- Read baseline requirements from
references/core/capi-baseline.md. - Read platform recipe from
references/platforms/<platform>.md. - Apply all
required_checksin platform matrix. - Enforce shared
event_idfor Pixel + CAPI deduplication. - Enforce EMQ input collection rules and hashing normalization from baseline reference.
- For unsupported platforms, use
references/core/unsupported-fallback.md.
Verification
Minimum verification steps for all implementations:
- Browser Pixel event observed.
- Server CAPI event observed.
- Deduplication confirmed for paired events.
- Events Manager diagnostics reviewed.
- Test event code validation completed.
If verification evidence is incomplete, mark status UNVERIFIED.
Failure Handling
When any critical condition fails, return only:
status:BLOCKEDreason_codes: list of failing rule IDs or source IDsmissing_or_stale_sourcesmissing_inputsnext_actions
Critical blockers include:
- stale
meta_coresources (>14 days) - unresolved or unmapped normative rule
- missing Tier-1 platform reference file
- invalid configured Graph API major version
Security Notes
- Mask all secrets (
******except last 4 chars if needed for human debugging). - Do not include token literals in examples.
- Do not expose cookie values in plaintext logs.
- Do not use
Access-Control-Allow-Origin: *. - Keep token handling server-side only.
Source IDs Used
- Always list source IDs from
manifests/source-registry.json. - Do not cite non-allowlisted domains for normative requirements.
- If no valid source IDs are available for a requirement, fail closed.
Reference Map
- Core baseline:
references/core/capi-baseline.md - Unsupported fallback:
references/core/unsupported-fallback.md - iOS/AEM context:
references/core/ios-aem-context.md - Security policy:
references/security/secret-handling.md - Network safety:
references/security/safe-networking.md - Troubleshooting:
references/troubleshooting/common-failures.md
Platform references:
references/platforms/nextjs.mdreferences/platforms/react.mdreferences/platforms/shopify.mdreferences/platforms/wordpress.mdreferences/platforms/gohighlevel.mdreferences/platforms/clickfunnels.mdreferences/platforms/webflow.mdreferences/platforms/static-html.md
What ships with it: 37 files
109.0 KB alongside SKILL.md, 4 of them executable
evals/
- evals.json6.0 KB
- run-evals.pyruns21.0 KB
- stress-tests.json1.5 KB
- trigger-eval.json2.0 KB
manifests/
- platform-matrix.json3.3 KB
- rule-registry.json5.8 KB
- source-registry.json4.2 KB
references/
- core/capi-baseline.md4.5 KB
- core/contract.md300 B
- core/ios-aem-context.md1.9 KB
- core/unsupported-fallback.md2.0 KB
- platforms/clickfunnels.md1.4 KB
- platforms/gohighlevel.md1.7 KB
- platforms/nextjs.md1.6 KB
- platforms/react.md1.5 KB
- platforms/shopify.md1.8 KB
- platforms/static-html.md1.4 KB
- platforms/webflow.md1.4 KB
- platforms/wordpress.md1.4 KB
- security/safe-networking.md256 B
- security/secret-handling.md241 B
- troubleshooting/common-failures.md588 B
reports/
- eval-report.json10.7 KB
- latest.json1.3 KB
- verification-report.md7.9 KB
validator/
- fixtures/failures/secret-token-leak.md98 B
- fixtures/failures/wildcard-cors.jsruns83 B
- fixtures/platforms/clickfunnels.json144 B
- fixtures/platforms/gohighlevel.json142 B
- fixtures/platforms/nextjs.json132 B
- fixtures/platforms/react.json125 B
- fixtures/platforms/shopify.json147 B
- fixtures/platforms/static-html.json138 B
- fixtures/platforms/webflow.json141 B
- fixtures/platforms/wordpress.json132 B
- patterns.pyruns577 B
- validate.pyruns21.4 KB