comeonoliver/skillshub/segment
Claude Code and agent skill by comeonoliver/skillshub
- community
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install comeonoliver/skillshub/segmentSKILL.md
The same SKILL.md was published earlier as comeonoliver/skillshub/segment.
Segment
Overview
Segment is a customer data platform — collect events once, route them to every tool in your stack. Instead of adding SDKs for Mixpanel, Amplitude, Google Analytics, Intercom, and BigQuery separately (each with their own tracking code), send events to Segment and it forwards them to all destinations. One API, one event schema, 400+ integrations. Toggle destinations on/off without code changes.
When to Use
- Sending analytics events to multiple tools (Mixpanel + BigQuery + Intercom)
- Don't want to add/remove tracking SDKs when switching tools
- Need a single source of truth for customer events
- Unifying web + mobile + server-side event tracking
- Building a data warehouse pipeline (events → BigQuery/Snowflake)
Instructions
Setup
Core API Calls
React Integration
Examples
Example 1: Set up tracking for a SaaS product
User prompt: "Track user signups, feature usage, and purchases — send to Mixpanel, BigQuery, and Intercom."
The agent will set up Segment with identify on signup, track events for key actions, and configure destinations in the Segment dashboard.
Example 2: Migrate from multiple tracking SDKs
User prompt: "We have separate Mixpanel, Amplitude, and GA4 SDKs. Consolidate into one."
The agent will replace individual SDKs with Segment's single tracking code, map existing events to Segment's schema, and enable destinations.
Guidelines
- Identify first, then track — always identify users before tracking events
- Event naming convention — "Object Action" format: "Order Completed", "Page Viewed"
- Traits for user properties — email, plan, company go in identify traits
- Properties for event data — order total, product ID go in track properties
- Server-side for sensitive events — payments, subscriptions tracked from backend
- Client-side for UI events — clicks, page views, form interactions
- Destinations via dashboard — toggle integrations without code changes
- Tracking plan — document events before implementing; prevents data sprawl
- Anonymous → identified — use alias() when anonymous user signs up
- Free tier: 1,000 visitors/month — or self-host with Segment's open-source alternatives
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/TerminalSkills/skills/segment/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/comeonoliver/skillshub/segment)