← 返回 Skills 市场
239
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install cart-optimizer
功能描述
Optimize ecommerce cart top-up plans across promotions such as full-reduction, discounts, and coupons. Use when the user asks to 凑单、计算满减最优方案、比较多档优惠、推荐最低成本补单策...
使用说明 (SKILL.md)
Cart Optimizer - 凑单优化器
智能凑单助手,自动计算最优凑单方案。
功能特性
- 🎯 支持多种优惠类型:满减、折扣、优惠券
- 🧮 智能算法:最小额外支出、最大优惠利用率
- 🛒 多平台支持:淘宝、京东、拼多多
- 📊 实时计算:输入商品自动推荐凑单
- 💡 智能建议:推荐高性价比凑单品
使用方式
基础凑单
凑单 250 满 300 减 30
带购物车商品
购物车 250,凑满 300 减 30
多档优惠对比
对比凑单方案 250:满200减20 vs 满300减40
核心算法
- 背包问题变种
- 动态规划优化
- 贪心算法备选
安全使用建议
This skill appears coherent and implements only local calculation logic for cart/coupon optimization. Before installing, consider: (1) Source trust — the package owner and homepage are unknown, so verify origin if you require provenance; (2) It runs as Node.js code/CLI on your agent-host — review or run it in a sandbox if you need to be extra cautious; (3) Functional limits — it uses simple enumeration with item limits/filters (max 20 candidates slice, maxItems defaults) so test with your real data to ensure it meets your needs; (4) It does not access accounts or network resources, but if you plan to extend it to fetch live product lists you should audit any added networking or credential use. Overall the package is consistent with its stated purpose.
功能分析
Type: OpenClaw Skill
Name: cart-optimizer
Version: 1.0.0
The cart-optimizer skill is a legitimate utility for calculating e-commerce discounts and recommending item combinations to meet promotion thresholds. The code in index.js and cli.js implements standard algorithmic logic (knapsack-style optimization) and lacks any high-risk behaviors such as network requests, file system access, or data exfiltration.
能力评估
Purpose & Capability
Name/description (凑单/优惠优化) matches the provided code and SKILL.md. The code implements threshold/discount calculations, rule comparison, candidate-item combination search, and advice formatting — all coherent with the stated purpose. No unrelated permissions or credentials are requested.
Instruction Scope
SKILL.md usage examples and commands map to the CLI and CartOptimizer API. The runtime instructions and code only operate on numeric inputs, rule objects, and candidate item lists; they do not read system files, environment variables, or send data externally.
Install Mechanism
There is no install spec; this is effectively an instruction+code bundle. The code is plain Node.js (cli.js, index.js) with no external network downloads or extract steps. No unusual install behavior detected.
Credentials
The skill declares no required environment variables, credentials, or config paths and the code does not reference process.env or other secrets. Requested access is proportionate to the task.
Persistence & Privilege
always is false and model invocation is allowed (platform default). The skill does not attempt to modify other skills, system settings, or persist credentials — no elevated persistence privileges are requested.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install cart-optimizer - 安装完成后,直接呼叫该 Skill 的名称或使用
/cart-optimizer触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release
元数据
常见问题
Cart Optimizer 是什么?
Optimize ecommerce cart top-up plans across promotions such as full-reduction, discounts, and coupons. Use when the user asks to 凑单、计算满减最优方案、比较多档优惠、推荐最低成本补单策... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 239 次。
如何安装 Cart Optimizer?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install cart-optimizer」即可一键安装,无需额外配置。
Cart Optimizer 是免费的吗?
是的,Cart Optimizer 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Cart Optimizer 支持哪些平台?
Cart Optimizer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Cart Optimizer?
由 haidong(@harrylabsj)开发并维护,当前版本 v1.0.0。
推荐 Skills