📊 Segment
v1.0.0Segment — manage sources, destinations, events, and tracking plans via Config & Tracking APIs
详细分析 ▾
运行时依赖
版本
- Initial release of the Segment skill. - Manage Segment sources, destinations, events, and tracking plans via Config and Tracking APIs. - Python 3.10+ only, no external dependencies required. - All commands available through a single CLI script: sources, destinations, warehouses, catalogs, tracking plans, events, and more. - Outputs JSON by default, with an option for human-readable formatting. - Requires SEGMENT_ACCESS_TOKEN and SEGMENT_WRITE_KEY environment variables.
安装命令 点击复制
技能文档
Segment — manage sources, destinations, events, and tracking plans via Config & Tracking APIs
Requirements
| Variable | Required | Description |
|---|---|---|
SEGMENT_ACCESS_TOKEN | ✅ | Config API token |
SEGMENT_WRITE_KEY | ✅ | Source write key |
Quick Start
# List sources
python3 {{baseDir}}/scripts/segment.py sources# Get source
python3 {{baseDir}}/scripts/segment.py source-get id
# Create source
python3 {{baseDir}}/scripts/segment.py source-create --name --catalog_name
# Delete source
python3 {{baseDir}}/scripts/segment.py source-delete id
# List destinations
python3 {{baseDir}}/scripts/segment.py destinations
# Get destination
python3 {{baseDir}}/scripts/segment.py destination-get id
# List warehouses
python3 {{baseDir}}/scripts/segment.py warehouses
# List source catalog
python3 {{baseDir}}/scripts/segment.py catalog-sources
All Commands
| Command | Description |
|---|---|
sources | List sources |
source-get | Get source |
source-create | Create source |
source-delete | Delete source |
destinations | List destinations |
destination-get | Get destination |
warehouses | List warehouses |
catalog-sources | List source catalog |
catalog-destinations | List destination catalog |
tracking-plans | List tracking plans |
tracking-plan-get | Get tracking plan |
spaces | List spaces |
functions | List functions |
track | Send track event |
identify | Send identify |
Output Format
All commands output JSON by default. Add --human for readable formatted output.
python3 {{baseDir}}/scripts/segment.py --human
Script Reference
| Script | Description |
|---|---|
{{baseDir}}/scripts/segment.py | 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
免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制