← 返回 Skills 市场
destinyd

AI Promo

作者 l · GitHub ↗ · v0.1.1 · MIT-0
cross-platform ⚠ suspicious
104
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install ai-promo
功能描述
查询大模型平台优惠信息。当用户提到 token优惠、llm优惠、大模型优惠、龙虾优惠、openclaw优惠、免费token、推荐赚钱、优惠推荐、优惠新客、优惠限时、优惠免费、优惠全部、优惠订阅、优惠提交、提交优惠 时触发。
使用说明 (SKILL.md)

Promo API Skill

获取大模型平台优惠信息。

触发规则

自动触发关键字

当用户提到以下关键字时,自动调用 API 返回优惠信息:

分类 关键字
通用 token优惠、llm优惠、大模型优惠、龙虾优惠、openclaw优惠、免费token、推荐赚钱
推荐 推荐奖励、邀请赚钱、referral
新客 新客优惠、新用户福利、首购优惠
限时 限时抢购、限时优惠
免费 永久免费、免费使用

分类查询命令

命令 说明
"优惠 推荐" 查询推荐奖励
"优惠 新客" 查询新客优惠
"优惠 限时" 查询限时抢购
"优惠 免费" 查询永久免费
"优惠 全部" 查询所有优惠
"优惠 提交" 提交新优惠

订阅管理

命令 说明
"优惠订阅 开启" 开启每日推送
"优惠订阅 关闭" 关闭推送
"优惠订阅 状态" 查看订阅状态

实现逻辑

1. User_id 管理

存储位置: ~/.promo_user_id

脚本: ~/projects/skills/ai-promo/scripts/promo_user.sh

触发时自动生成并保存 user_id。

2. 查询优惠

脚本: ~/projects/skills/ai-promo/scripts/promo_query.sh

API 端点: https://cli.aipromo.workers.dev/list?user_id=xxx&categories=xxx

本地缓存: ~/projects/skills/ai-promo/cache.json(API 不可用时使用)

3. 订阅管理

存储位置: ~/.promo_subscribers.json

脚本: ~/projects/skills/ai-promo/scripts/promo_subscribe.sh


响应模板

📋 优惠列表(用户: u_xxx)

💰 推荐奖励

【硅基流动】邀请好友双方各得16元代金券
   奖励: 16元代金券/人
   链接: https://cloud.siliconflow.cn/i/MhfNgy2S

...

📋 推荐规则
   - 提交的推荐链接有机会展示给其他用户
   - 20% 概率显示您的推荐链接
   - 同类优惠仅保留最早提交者

🔗 查看详情: https://cli.aipromo.workers.dev/landing

推荐链接

平台 链接
硅基流动 https://cloud.siliconflow.cn/i/MhfNgy2S
智谱AI GLM https://www.bigmodel.cn/glm-coding?ic=40FM6F50MO

提交优惠

用户可以提交新优惠信息:

命令: "优惠 提交"

提交格式:

平台: xxx
标题: xxx
链接: xxx
奖励: xxx(可选)
描述: xxx(可选)

示例:

优惠 提交
平台: 硅基流动
标题: 新用户福利
链接: https://siliconflow.cn/promo/xxx
奖励: 100万Tokens
描述: 新用户注册即送,限时活动

脚本: ~/projects/skills/ai-promo/scripts/promo_submit.sh

~/projects/skills/ai-promo/scripts/promo_submit.sh \
  "硅基流动" "新用户福利" "https://siliconflow.cn/promo/xxx" "100万Tokens" "新用户注册即送"

注意事项:

  • 同类优惠仅保留最早提交者
  • 提交后会进行审核
  • 审核通过后将展示给其他用户

API 参考

端点: https://cli.aipromo.workers.dev

分类参数:

  • referral - 推荐奖励
  • new_customer - 新客优惠
  • limited_time - 限时抢购
  • permanent_free - 永久免费

每日推送

Cron 配置: 0 9 * * * ~/projects/skills/ai-promo/scripts/promo_push.sh

安全使用建议
This skill appears coherent for fetching and subscribing to promo listings, but check these before installing: (1) The scripts use curl and jq — ensure those binaries are available on your system. (2) The skill will create/modify files in your home directory (~/.promo_user_id, ~/.promo_subscribers.json, ~/.promo_push.log). (3) It communicates with an external API at cli.aipromo.workers.dev (list/submit/landing); verify you trust that endpoint before submitting content. (4) The package includes executable shell scripts; if you run the daily-cron suggestion, confirm the script path used by your agent/platform matches the SKILL.md paths. No credentials are requested by the skill.
功能分析
Type: OpenClaw Skill Name: ai-promo Version: 0.1.1 The skill acts as a delivery mechanism for LLM referral links and promotional data via a remote API (aipromo.workers.dev). It implements a persistent tracking mechanism by generating a random ID in `~/.promo_user_id` and sending it to the backend. A significant shell injection vulnerability exists in `scripts/promo_submit.sh`, where user-supplied arguments are used within a heredoc to construct a JSON payload without sanitization, potentially allowing for arbitrary command execution. While the behavior is primarily self-serving (referral spam), the combination of remote tracking and poor input handling warrants a suspicious classification.
能力评估
Purpose & Capability
The skill's name/description (querying promo info) matches the scripts and API usage. Minor mismatch: scripts require curl and jq but the skill metadata did not declare required binaries; otherwise the requested file and network usage are proportionate to the stated purpose.
Instruction Scope
SKILL.md and scripts limit actions to creating/reading a local user id (~/.promo_user_id), a subscriber file (~/.promo_subscribers.json), a log (~/.promo_push.log) and calling the promo API endpoints. There are no instructions to read unrelated system files or exfiltrate arbitrary data.
Install Mechanism
There is no install spec (instruction-only), which lowers risk. However, the skill package includes executable scripts; the SKILL.md references specific paths (~/projects/skills/ai-promo/...) that may not match where a platform stores files—this is an operational inconsistency but not evidently malicious.
Credentials
The skill requests no environment variables or credentials. The only external interaction is with https://cli.aipromo.workers.dev (list/submit/landing). The data sent are a generated user_id and any promo submission fields provided by the user — no secrets are requested.
Persistence & Privilege
always:false and no model-invocation disabling; the skill writes only to its own files under the user's home (user id, subscriber list, log). It does not modify other skills or system-wide agent settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install ai-promo
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /ai-promo 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.1
移除分数显示(积分规则不需要展示给用户)
v0.1.0
ai-promo v0.1.0 - 首次发布:支持查询和提交大模型平台优惠信息 - 自动响应多种与优惠相关的关键词/命令,涵盖推荐、新客、限时、免费等类别 - 支持每日优惠订阅和推送功能 - 本地缓存、API 不可用时兜底返回数据 - 提供优惠提交、推荐链接展示与管理功能
元数据
Slug ai-promo
版本 0.1.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

AI Promo 是什么?

查询大模型平台优惠信息。当用户提到 token优惠、llm优惠、大模型优惠、龙虾优惠、openclaw优惠、免费token、推荐赚钱、优惠推荐、优惠新客、优惠限时、优惠免费、优惠全部、优惠订阅、优惠提交、提交优惠 时触发。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 104 次。

如何安装 AI Promo?

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

AI Promo 是免费的吗?

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

AI Promo 支持哪些平台?

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

谁开发了 AI Promo?

由 l(@destinyd)开发并维护,当前版本 v0.1.1。

💬 留言讨论