← 返回 Skills 市场
cjboy007

Customer Segmentation

作者 Jaden's built a claw · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
110
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install ssa-customer-segmentation
功能描述
Automatically segment customers into five levels using OKKI CRM data, score them, sync tags safely, and provide lifecycle and value-based strategy recommenda...
安全使用建议
What to consider before installing/running: - The code expects OKKI CRM credentials and a config JSON in a path outside the skill (default ../../../xiaoman-okki/api/config.json) and will read a .env file at ../../../.env if present. The registry metadata does not declare these required credentials — assume the skill will look for and use local config files. - The scripts will write persistent files (data/, logs/) inside the skill and will also write a token cache into the external OKKI_WORKSPACE path. If that external workspace is shared with other tools, this skill could overwrite or add tokens used elsewhere. - Tag-sync performs remote writes to OKKI (but defaults to dry-run). Actual writes require --confirm; still, token acquisition and API calls will occur when confirmed. Review and test in dry-run mode first. - The scripts merge and replace customer tag arrays (cus_tag is written as a full list) — that behavior is explicit in the code, so if you want to preserve non-segmentation tags be cautious and inspect the merging logic and backups (script claims it creates backups to data/). - Recommended actions before running: - Inspect the OKKI config file (client_id, client_secret, baseUrl) that the scripts will read and ensure it points to an appropriate test workspace. - Move or provide an isolated OKKI_WORKSPACE and .env for testing so the skill cannot read unrelated credentials from your machine. - Run only the dry-run modes (collector --dry-run, tag-sync without --confirm) first and review produced data in data/ and logs/. - Backup any real OKKI workspace api/token.cache and companyEnums before performing a confirmed run. - If you intend to use this skill, update the skill metadata or code to explicitly declare required env vars/paths (so users know what sensitive data is needed) or modify the paths to point inside the skill workspace. Given the clear mismatch between declared requirements and what the code actually touches (external .env, external config and token cache), treat this skill as suspicious until you can confirm and isolate the configuration it will read/write.
功能分析
Type: OpenClaw Skill Name: ssa-customer-segmentation Version: 1.0.0 The skill bundle is a legitimate tool for OKKI CRM customer segmentation, providing automated data collection, scoring, and tag synchronization. It includes robust safety features such as default dry-run modes, API quota monitoring, rate limiting (500ms intervals), and tag-merging logic to prevent overwriting existing CRM data. While it accesses environment variables and configuration files from parent directories (e.g., `../../../.env`), this behavior is consistent with standard integration patterns for local CRM workspaces, and no evidence of malicious data exfiltration or unauthorized execution was found in scripts like `customer-data-collector.js` or `tag-sync.js`.
能力评估
Purpose & Capability
The skill claims to integrate with OKKI CRM (expected), and its scripts implement collection, scoring, strategy generation, and tag sync (coherent). However, the code expects an external OKKI workspace and config file (defaults to ../../../xiaoman-okki/api/config.json and ../../../.env) and will read/write token caches there. The published metadata lists no required environment variables or credentials — that is inconsistent and misleading.
Instruction Scope
SKILL.md tells the agent to run local scripts, which is consistent, but the scripts themselves load env files outside the skill, resolve environment variables from an external .env, read OKKI config from another workspace, and write token cache and logs there. They also call OKKI APIs to create/replace tags. These file reads/writes and cross-workspace accesses are broader than the simple 'run scripts' instructions imply.
Install Mechanism
No install spec is present (instruction-only plus included scripts). No network downloads or package installs are performed by an install step, which reduces supply-chain risk. The runtime will execute shipped JS files with Node.js, so the main operational risk comes from the scripts' behavior rather than an installer.
Credentials
The skill requests no credentials in its metadata but the code expects OAuth client_id/client_secret and other OKKI configuration (read from OKKI config JSON and optional .env). It loads a .env file from ../../../.env into process.env if present and will write token cache into the external OKKI_WORKSPACE path — access to these secrets and files should have been declared and limited.
Persistence & Privilege
The skill does write persistent state: it writes data/*.json, logs, and — importantly — writes token cache files into an external OKKI_WORKSPACE api/token.cache. Writing into another workspace's config directory can modify credentials/state used by other tools and is a privilege beyond an isolated skill. The skill does not request 'always: true', but its ability to modify external files increases its blast radius.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install ssa-customer-segmentation
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /ssa-customer-segmentation 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: AI-powered customer scoring and segmentation
元数据
Slug ssa-customer-segmentation
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Customer Segmentation 是什么?

Automatically segment customers into five levels using OKKI CRM data, score them, sync tags safely, and provide lifecycle and value-based strategy recommenda... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 110 次。

如何安装 Customer Segmentation?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install ssa-customer-segmentation」即可一键安装,无需额外配置。

Customer Segmentation 是免费的吗?

是的,Customer Segmentation 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Customer Segmentation 支持哪些平台?

Customer Segmentation 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Customer Segmentation?

由 Jaden's built a claw(@cjboy007)开发并维护,当前版本 v1.0.0。

💬 留言讨论