Skills segment
Segment — manage sources, destinations, events, and tracking plans via Config & Tracking APIs
install
source · Clone the upstream repo
git clone https://github.com/openclaw/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/aiwithabidi/segment" ~/.claude/skills/clawdbot-skills-segment && rm -rf "$T"
manifest:
skills/aiwithabidi/segment/SKILL.mdsource content
📊 Segment
Segment — manage sources, destinations, events, and tracking plans via Config & Tracking APIs
Requirements
| Variable | Required | Description |
|---|---|---|
| ✅ | Config API token |
| ✅ | Source write key |
Quick Start
# List sources python3 {{baseDir}}/scripts/segment.py sources # Get source python3 {{baseDir}}/scripts/segment.py source-get id <value> # Create source python3 {{baseDir}}/scripts/segment.py source-create --name <value> --catalog_name <value> # Delete source python3 {{baseDir}}/scripts/segment.py source-delete id <value> # List destinations python3 {{baseDir}}/scripts/segment.py destinations # Get destination python3 {{baseDir}}/scripts/segment.py destination-get id <value> # List warehouses python3 {{baseDir}}/scripts/segment.py warehouses # List source catalog python3 {{baseDir}}/scripts/segment.py catalog-sources
All Commands
| Command | Description |
|---|---|
| List sources |
| Get source |
| Create source |
| Delete source |
| List destinations |
| Get destination |
| List warehouses |
| List source catalog |
| List destination catalog |
| List tracking plans |
| Get tracking plan |
| List spaces |
| List functions |
| Send track event |
| Send identify |
Output Format
All commands output JSON by default. Add
--human for readable formatted output.
python3 {{baseDir}}/scripts/segment.py <command> --human
Script Reference
| Script | Description |
|---|---|
| Main CLI — all commands in one tool |
Credits
Built by M. Abidi | agxntsix.ai YouTube | GitHub Part of the AgxntSix Skill Suite for OpenClaw agents.
📅 Need help setting up OpenClaw for your business? Book a free consultation