Individual skill
c15t-scripts
Set up, customize or debug c15t consent management with @c15t/scripts. Use when the project imports the deprecated `@c15t/scripts` vendor helpers, or loads analytics, pixels, tag managers or embeds that must wait for consent, or when a task mentions a cookie banner, consent dialog, GDPR or CCPA prompts, blocking analytics until consent, Google Consent Mode or IAB TCF.
packages/scripts/SKILL.md
Source commit fd6320a1ea2c206e9efe185314d0e28edd1c7b61
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- Yes
- Skill scan complete
- Yes
- Observed behavior
- Network or broad shell
- Last checked
- Nov 10, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 2,027
- Repository last updated
- Nov 6, 2026
- License
- Apache-2.0
Observed agent integration: codex
- cmp Repository topic
- cookie-banner Repository topic
- typescript Repository topic
- ccpa Repository topic
- consent-mode Repository topic
- cookie-consent Repository topic
- gdpr Repository topic
- iab-tcf Repository topic
- javascript Repository topic
- nextjs Repository topic
- data Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
AGENTS.mddoc · 28,943 bytesCHANGELOG.mddoc · 36,754 bytesREADME.mddoc · 6,555 bytesSKILL.mdcore · 2,637 bytes__tests__/compatibility.fixture.tsruns · 724 bytes__tests__/compatibility.test.tsruns · 1,768 bytesbuild-compat.tsruns · 1,529 bytesdocs/README.mddoc · 28,263 bytesdocs/integrations/building-integrations.mddoc · 9,593 bytesdocs/integrations/cloudflare-zaraz.mddoc · 14,973 bytesdocs/integrations/google-maps.mddoc · 13,849 bytesdocs/integrations/google-tag-manager.mddoc · 23,048 bytesdocs/integrations/google-tag.mddoc · 16,959 bytesdocs/integrations/intercom.mddoc · 12,678 bytesdocs/integrations/meta-pixel.mddoc · 14,048 bytesdocs/integrations/openai-pixel.mddoc · 14,793 bytesdocs/integrations/overview.mddoc · 30,596 bytespackage.jsonruns · 1,179 bytesreadme.jsonasset · 831 bytestsconfig.jsonasset · 301 bytesvitest.config.tsruns · 153 bytes
Read excerpt
# c15t with @c15t/scripts
The Markdown under `./docs` matches the installed version. Read it before writing code: v3 renamed most v2 APIs, so remembered examples are usually wrong.
## Before writing code
1. Find the framework, router, rendering mode (server, static, cached or single-page) and host in the project. Check the framework config and route files for settings that prerender or cache pages.
2. Pick the matching row in [Choose your setup](./docs/concepts/choose-your-setup.md).
## Rules
- Install with `npm install @c15t/integrations` alongside `c15t`, replacing the deprecated `@c15t/scripts`. Keep every c15t package on the same release.
- The backend URL comes from the user's Inth project or self-hosted backend. It is public configuration. Never invent one; ask for it or read it from the environment.
- Register analytics, pixels and embeds through c15t and remove the vendor's own loader or plugin. With a bundler, use `@c15t/integrations` helpers and `ConsentGate`. On a plain HTML page, change the vendor's `<script>` to `type="text/plain"` with `data-c15t-category`. A banner does not block code loaded elsewhere.