首页龙虾技能列表 › Segment

📊 Segment

v1.0.0

Segment — manage sources, destinations, events, and tracking plans via Config & Tracking APIs

0· 302·0 当前·0 累计
by @aiwithabidi·MIT-0
下载技能包 项目主页
License
MIT-0
最后更新
2026/3/7
安全扫描
VirusTotal
无害
查看报告
OpenClaw
安全
high confidence
The skill's code and runtime instructions match its stated purpose (managing Segment resources and sending events); requirements and behavior are proportionate with a few small, explainable inconsistencies to be aware of.
评估建议
This skill appears to do what it claims: it runs a local Python CLI that calls Segment's APIs at https://api.segmentapis.com. Before installing, note: (1) you must provide SEGMENT_ACCESS_TOKEN (used by the script) and SEGMENT_WRITE_KEY (declared but not referenced by the script) — only give tokens with the minimal necessary permissions; (2) the script will look for credentials in a .env file under WORKSPACE or ~/.openclaw/workspace if the env vars are missing, so avoid storing broad secrets in t...
详细分析 ▾
用途与能力
Name/description match the included CLI script which calls Segment Config & Tracking APIs. Requested credentials (SEGMENT_ACCESS_TOKEN and SEGMENT_WRITE_KEY) are plausible for Segment usage.
指令范围
SKILL.md tells the agent to run the included Python CLI. The CLI only performs HTTP calls to api.segmentapis.com and prints JSON (or human-readable output). It also attempts to read environment variables and falls back to a .env file in WORKSPACE or ~/.openclaw/workspace which is within expected scope but worth noting because it reads a file on disk to locate credentials.
安装机制
No install spec; this is instruction-only with an included Python script that uses only the stdlib. Nothing is downloaded or written to disk by an installer.
凭证需求
The skill requires SEGMENT_ACCESS_TOKEN (used as the Bearer auth header) and SEGMENT_WRITE_KEY (declared but not actually referenced by the script). The script also reads the WORKSPACE env var (undocumented in SKILL.md) to locate a fallback .env file. Reading .env to obtain only the declared variables is expected, but you should be aware it will inspect that file to find credentials.
持久化与权限
always is false and the skill does not modify other skills or agent-wide settings. It does not request permanent elevated privileges.
安全有层次,运行前请审查代码。

License

MIT-0

可自由使用、修改和再分发,无需署名。

运行时依赖

无特殊依赖

版本

latestv1.0.02026/3/7

- 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.

● 无害

安装命令 点击复制

官方npx clawhub@latest install segment
镜像加速npx clawhub@latest install segment --registry https://cn.clawhub-mirror.com

技能文档

Segment — manage sources, destinations, events, and tracking plans via Config & Tracking APIs

Requirements

VariableRequiredDescription
SEGMENT_ACCESS_TOKENConfig API token
SEGMENT_WRITE_KEYSource 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

CommandDescription
sourcesList sources
source-getGet source
source-createCreate source
source-deleteDelete source
destinationsList destinations
destination-getGet destination
warehousesList warehouses
catalog-sourcesList source catalog
catalog-destinationsList destination catalog
tracking-plansList tracking plans
tracking-plan-getGet tracking plan
spacesList spaces
functionsList functions
trackSend track event
identifySend identify

Output Format

All commands output JSON by default. Add --human for readable formatted output.

python3 {{baseDir}}/scripts/segment.py  --human

Script Reference

ScriptDescription
{{baseDir}}/scripts/segment.pyMain 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

数据来源:ClawHub ↗ · 中文优化:龙虾技能库
OpenClaw 技能定制 / 插件定制 / 私有工作流定制

免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制

了解定制服务