← 返回 Skills 市场
161
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install lin-skill-demo
功能描述
收费技能示例模板 - 带授权验证,演示如何在 ClawHub 发布付费技能
使用说明 (SKILL.md)
收费技能示例 (paid-skill-demo)
这是一个演示如何在 ClawHub 发布收费技能的模板。展示了授权验证的实现方式。
商业模式
- **技能本身公开免费,但核心功能需要有效的授权码
- 用户购买后获得授权码,通过环境变量配置即可使用
- 支持单用户授权,验证通过才能使用完整功能
配置方式
# 设置授权码(购买后获得)
export SKILL_LICENSE_KEY=your-purchased-license-key
安全使用建议
This skill is coherent: it only needs SKILL_LICENSE_KEY and checks it locally. However, note: (1) the demo uses a hard-coded expected hash (demo-license-123) and a hard-coded salt in the script, so the demo license can be discovered by reading the code — do not treat this as a secure licensing scheme; (2) there is commented-out code that would enable server-side verification — if you or an upstream author enables it, the skill could make network calls to external servers, so review the target URL before enabling; (3) if you plan to use this for real paid functionality, move verification to a secure server-side flow, replace the hard-coded salt and expected hashes, and avoid embedding verifier logic that can be bypassed. If you are comfortable with it as a demo, it is safe to install; if you expect real license enforcement, request or implement server-side validation and review the buy URL/endpoint.
功能分析
Type: OpenClaw Skill
Name: lin-skill-demo
Version: 1.0.1
The skill bundle is a legitimate template demonstrating a license key verification system for paid skills. It uses local SHA-256 hashing in `scripts/check_license.py` to validate a user-provided environment variable (`SKILL_LICENSE_KEY`) against a hardcoded hash. There is no evidence of data exfiltration, unauthorized network access, or malicious execution; the code logic is transparent and strictly follows the stated purpose in `SKILL.md` and `skill.json`.
能力评估
Purpose & Capability
Name/description, SKILL.md, skill.json, and the Python scripts all align: the skill is a paid-skill demo that requires SKILL_LICENSE_KEY and performs a local license check. No unrelated environment variables, binaries, or install steps are requested.
Instruction Scope
Runtime instructions only require setting SKILL_LICENSE_KEY. The code performs a purely local hash comparison to validate the key. There is a commented-out example of performing a network POST to a verification server—currently inactive—but if someone enabled that, the skill could contact an external endpoint. No files or other system paths are accessed.
Install Mechanism
No install spec (instruction-only with bundled scripts). Nothing is downloaded or written to disk during install by this package itself.
Credentials
Only one required environment variable (SKILL_LICENSE_KEY) is declared and used. This is proportionate to the stated purpose. The skill does not request any other credentials or config paths.
Persistence & Privilege
always is false and the skill makes no modifications to other skills or global agent configuration. It does not request persistent privileges beyond its own runtime.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install lin-skill-demo - 安装完成后,直接呼叫该 Skill 的名称或使用
/lin-skill-demo触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- 技能名称由 lin-skill-demo 更名为 paid-skill-demo。
- 其余内容未发生变化。
v1.0.0
- 发布初版 lin-skill-demo,提供 ClawHub 付费技能模板
- 已实现:授权码校验与环境变量配置
- 展示技能商业模式与配置方式
- 提供收费技能开发参考示例
元数据
常见问题
lin-skill-demo 是什么?
收费技能示例模板 - 带授权验证,演示如何在 ClawHub 发布付费技能. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 161 次。
如何安装 lin-skill-demo?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install lin-skill-demo」即可一键安装,无需额外配置。
lin-skill-demo 是免费的吗?
是的,lin-skill-demo 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
lin-skill-demo 支持哪些平台?
lin-skill-demo 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 lin-skill-demo?
由 lintqiu(@lintqiu)开发并维护,当前版本 v1.0.1。
推荐 Skills