← 返回 Skills 市场
Segment
作者
aiwithabidi
· GitHub ↗
· v1.0.0
348
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install segment
功能描述
Segment — manage sources, destinations, events, and tracking plans via Config & Tracking APIs
安全使用建议
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 that file if it's shared; (3) there are no remote installers or hidden endpoints. If you need the declared write key to actually be used, ask the author to clarify or update the script; otherwise the requests will be authenticated with the access token only.
功能分析
Type: OpenClaw Skill
Name: segment
Version: 1.0.0
The skill bundle provides a standard CLI tool for managing Segment sources, destinations, and tracking plans via the official Segment Config API (api.segmentapis.com). The Python script (scripts/segment.py) uses only the standard library and follows expected patterns for credential management and API interaction. While there is a minor discrepancy where the required 'SEGMENT_WRITE_KEY' is defined in the documentation but unused in the code, and tracking endpoints are directed to the Config API base, these appear to be unintentional implementation oversights rather than malicious behavior.
能力评估
Purpose & Capability
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.
Instruction Scope
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.
Install Mechanism
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.
Credentials
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.
Persistence & Privilege
always is false and the skill does not modify other skills or agent-wide settings. It does not request permanent elevated privileges.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install segment - 安装完成后,直接呼叫该 Skill 的名称或使用
/segment触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- 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 是什么?
Segment — manage sources, destinations, events, and tracking plans via Config & Tracking APIs. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 348 次。
如何安装 Segment?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install segment」即可一键安装,无需额外配置。
Segment 是免费的吗?
是的,Segment 完全免费(开源免费),可自由下载、安装和使用。
Segment 支持哪些平台?
Segment 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Segment?
由 aiwithabidi(@aiwithabidi)开发并维护,当前版本 v1.0.0。
推荐 Skills