Agent skill

Segment Cdp

by davila7 in davila7/claude-code-templates

Expert patterns for Segment Customer Data Platform including Analytics.js, server-side tracking, tracking plans with Protocols, identity resolution, destinations configuration, and data governance…

MITAuto-check passedData & Analytics

Install Segment Cdp

skills CLI
$ npx skills add davila7/claude-code-templates --skill segment-cdp -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install davila7/claude-code-templates segment-cdp --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/davila7/claude-code-templates.git skills-src && mkdir -p .claude/skills && cp -r skills-src/cli-tool/components/skills/web-development/segment-cdp .claude/skills/segment-cdp && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
segment-cdp
GitHub stars
32k
Used in
2 other repos
Token cost
~354 tokens
SKILL.md length
118 words
Files
1
Skills in repo
477
Repo updated
First seen
Licence
MIT

At a glance

Expert patterns for Segment Customer Data Platform including Analytics.js, server-side tracking, tracking plans with Protocols, identity resolution, destinations configuration, and data governance…

  • Customer data platform
  • SKILL.md covers Patterns, Anti-Patterns and ⚠️ Sharp Edges
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Tasks that involve Product analytics

What it does

Segment Cdp is an agent skill from davila7/claude-code-templates. Expert patterns for Segment Customer Data Platform including Analytics.js, server-side tracking, tracking plans with Protocols, identity resolution, destinations configuration, and data governance best practices. Use when: segment, analytics.js, customer data platform, cdp, tracking plan.

Its SKILL.md is about 350 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Data & Analytics, covering Product analytics, Backend development and Data governance. The repository describes itself as: CLI tool for configuring and monitoring Claude Code. The licence is MIT.

When your agent uses it

  • Customer data platform
  • Tasks that involve Product analytics
  • Tasks that involve Backend development

Example prompts

  • “/segment-cdp”

Requirements

  • Node.js

What it can do on your machine

Read from SKILL.md and the folder at commit 14680ec. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Segment Cdp loads about 354 tokens when it runs. Until then it costs about 75 tokens; SKILL.md has 118 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~75
When it runs · the whole SKILL.md, loaded when a task matches
~354

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from davila7/claude-code-templates at commit 14680ec, republished under its MIT licence (© davila7). 118 words, ~354 tokens.

Download SKILL.mdSave it as .claude/skills/segment-cdp/SKILL.md (or your agent's skills folder).
name
segment-cdp
description
Expert patterns for Segment Customer Data Platform including Analytics.js, server-side tracking, tracking plans with Protocols, identity resolution, destinations configuration, and data governance best practices. Use when: segment, analytics.js, customer data platform, cdp, tracking plan.
source
vibeship-spawner-skills (Apache 2.0)

Segment CDP

Patterns

Analytics.js Browser Integration

Client-side tracking with Analytics.js. Include track, identify, page, and group calls. Anonymous ID persists until identify merges with user.

Server-Side Tracking with Node.js

High-performance server-side tracking using @segment/analytics-node. Non-blocking with internal batching. Essential for backend events, webhooks, and sensitive data.

Tracking Plan Design

Design event schemas using Object + Action naming convention. Define required properties, types, and validation rules. Connect to Protocols for enforcement.

Anti-Patterns

❌ Dynamic Event Names
❌ Tracking Properties as Events
❌ Missing Identify Before Track

⚠️ Sharp Edges

IssueSeveritySolution
IssuemediumSee docs
IssuehighSee docs
IssuemediumSee docs
IssuehighSee docs
IssuelowSee docs
IssuemediumSee docs
IssuemediumSee docs
IssuehighSee docs

© davila7, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in cli-tool/components/skills/web-development/segment-cdp of davila7/claude-code-templates.

Open the folder on GitHubat commit 14680ec

Used in 2 other repositories

We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 2 other GitHub owners. This page covers the copy in davila7/claude-code-templates, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Segment Cdp next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Segment Cdp compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Segment Cdp this skilldavila7/claude-code-templates32k2 repos~354Automated safety check: PassMIT
Segment Cdpaiskillstore/marketplace4303 repos~5kAutomated safety check: PassNone
Segment CdpbenjaminasterA/antigravity-awesome-skills3681 repos~361Automated safety check: PassMIT
Instrument PRamplitude/builder-skills159—~2.9kAutomated safety check: PassNone
Sandbox Benchvercel/next.js143k—~4.1kAutomated safety check: PassMIT
PostHog CLI Queriesdebugtheworldbot/keyStats1.5k—~1.2kAutomated safety check: PassMIT

Similar skills

  • Segment Cdp

    aiskillstore/marketplace

    Expert patterns for Segment Customer Data Platform including Analytics.js, server-side tracking, tracking plans with Protocols, identity resolution, destinations configuration, and data governance…

    430 GitHub starsUsed in 3 repos~5k tokens
    Data & AnalyticsAuto-check passed
  • Segment Cdp

    benjaminasterA/antigravity-awesome-skills

    Expert patterns for Segment Customer Data Platform including Analytics.js, server-side tracking, tracking plans with Protocols, identity resolution, destinations configuration, and data governance ...

    368 GitHub starsUsed in 1 repo~361 tokens
    Data & AnalyticsAuto-check passed
  • Instrument PR

    amplitude/builder-skills

    Instruments a pull request with Amplitude analytics that conform to the project's existing taxonomy.

    159 GitHub stars~2.9k tokensUpdated 2 mo ago
    Data & AnalyticsAuto-check passed
  • Sandbox Bench

    vercel/next.js

    Official

    Benchmark React or Next.js changes on Vercel Sandbox VMs with paired A/B statistics: react PR/commit vs base, or Next.js PR/commit vs base, measured end-to-end through the bench/render-pipeline app…

    143k GitHub stars~4.1k tokensUpdated today
    Data & AnalyticsAuto-check passed
  • PostHog CLI Queries

    debugtheworldbot/keyStats

    Runs HogQL queries against this project's PostHog data from the terminal using posthog-cli, with bundled scripts for dashboard metadata the CLI itself has no command for.

    1.5k GitHub stars~1.2k tokensUpdated 5 days ago
    Data & AnalyticsAuto-check passed
  • Retentioneering Contributing

    retentioneering/retentioneering-tools

    Help the user turn their Retentioneering ideas, friction reports, bug findings, or feature needs into high-quality upstream contributions: from capturing and validating the idea, through minimal…

    920 GitHub stars~1.8k tokensUpdated yesterday
    Data & AnalyticsAuto-check passed

More from davila7/claude-code-templates

All 477 skills in this repo
  • Perplexity Web Search

    davila7/claude-code-templates

    Runs web-grounded searches through Perplexity's Sonar models over OpenRouter for current events, recent literature and cited facts beyond the model's training cutoff.

    32k GitHub starsUsed in 12 repos~3.5k tokens
    Auto-check: notes
  • Neuropixels Data Analysis

    davila7/claude-code-templates

    Analyzes Neuropixels recordings from SpikeGLX or Open Ephys through preprocessing, drift correction, Kilosort4 spike sorting, quality metrics and curation.

    32k GitHub starsUsed in 10 repos~2.8k tokens
    Auto-check passed
  • Scientific Venue Templates

    davila7/claude-code-templates

    Supplies LaTeX templates and formatting rules for journals, conferences, posters, and grant proposals, then can check a draft against them.

    32k GitHub starsUsed in 9 repos~5.1k tokens
    Auto-check: notes
  • Brand Voice Content Creator

    davila7/claude-code-templates

    Analyzes a brand's existing writing to lock in a consistent voice, then builds SEO blog posts and platform-specific social content around it.

    32k GitHub starsUsed in 3 repos~1.9k tokens
    Auto-check passed
  • CAPA Officer

    davila7/claude-code-templates

    Guides corrective and preventive action (CAPA) work in a quality management system, from initiation and root cause analysis through effectiveness verification.

    32k GitHub starsUsed in 1 repo~2k tokens
    Auto-check passed
  • Fda Consultant Specialist

    davila7/claude-code-templates

    Senior FDA consultant and specialist for medical device companies including HIPAA compliance and requirement management.

    32k GitHub starsUsed in 1 repo~2.7k tokens
    Auto-check passed

Questions about Segment Cdp

What does Segment Cdp do?

Expert patterns for Segment Customer Data Platform including Analytics.js, server-side tracking, tracking plans with Protocols, identity resolution, destinations configuration, and data governance…. Segment Cdp is an agent skill from davila7/claude-code-templates.js, server-side tracking, tracking plans with Protocols, identity resolution, destinations configuration, and data governance best practices.

When should I use Segment Cdp?

Segment Cdp fits situations like: customer data platform; tasks that involve Product analytics; tasks that involve Backend development.

How do I install Segment Cdp in Claude Code?

Run `npx skills add davila7/claude-code-templates --skill segment-cdp -a claude-code`. Or copy the skill folder (cli-tool/components/skills/web-development/segment-cdp in davila7/claude-code-templates) into .claude/skills/segment-cdp in your project. Claude Code loads it when a task matches its description.

How do I install Segment Cdp in Codex?

Run `npx skills add davila7/claude-code-templates --skill segment-cdp -a codex`. Or copy the skill folder (cli-tool/components/skills/web-development/segment-cdp in davila7/claude-code-templates) into .agents/skills/segment-cdp in your project. Codex loads it when a task matches its description.

Can I use Segment Cdp in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add davila7/claude-code-templates --skill segment-cdp -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/segment-cdp, .gemini/skills/segment-cdp, .github/skills/segment-cdp and .opencode/skills/segment-cdp in your project.

What does Segment Cdp need to run?

SKILL.md names no scripts, command-line tools or credentials: Segment Cdp is instructions for the agent only. Our summary lists: Node.js.

Does Segment Cdp access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Segment Cdp safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Segment Cdp use?

Segment Cdp is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Segment Cdp use?

About 354 tokens (SKILL.md is roughly 1.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Segment Cdp?

Skills that share tags, products or a category with Segment Cdp: Segment Cdp (aiskillstore/marketplace, 430 stars), Segment Cdp (benjaminasterA/antigravity-awesome-skills, 368 stars), Instrument PR (amplitude/builder-skills, 159 stars) and Sandbox Bench (vercel/next.js, 143k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Segment Cdp?

davila7 (a GitHub user) maintains it in davila7/claude-code-templates, which has 32,463 GitHub stars. The repository holds 477 skills in this directory. The repository was last updated on October 8, 2026.

Source: davila7/claude-code-templates on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.