← Back to Skills Marketplace
lintqiu

lin-skill-demo

by lintqiu · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ Security Clean
161
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install lin-skill-demo
Description
收费技能示例模板 - 带授权验证,演示如何在 ClawHub 发布付费技能
README (SKILL.md)

收费技能示例 (paid-skill-demo)

这是一个演示如何在 ClawHub 发布收费技能的模板。展示了授权验证的实现方式。

商业模式

  • **技能本身公开免费,但核心功能需要有效的授权码
  • 用户购买后获得授权码,通过环境变量配置即可使用
  • 支持单用户授权,验证通过才能使用完整功能

配置方式

# 设置授权码(购买后获得)
export SKILL_LICENSE_KEY=your-purchased-license-key
Usage Guidance
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.
Capability Analysis
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`.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install lin-skill-demo
  3. After installation, invoke the skill by name or use /lin-skill-demo
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
- 技能名称由 lin-skill-demo 更名为 paid-skill-demo。 - 其余内容未发生变化。
v1.0.0
- 发布初版 lin-skill-demo,提供 ClawHub 付费技能模板 - 已实现:授权码校验与环境变量配置 - 展示技能商业模式与配置方式 - 提供收费技能开发参考示例
Metadata
Slug lin-skill-demo
Version 1.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is lin-skill-demo?

收费技能示例模板 - 带授权验证,演示如何在 ClawHub 发布付费技能. It is an AI Agent Skill for Claude Code / OpenClaw, with 161 downloads so far.

How do I install lin-skill-demo?

Run "/install lin-skill-demo" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is lin-skill-demo free?

Yes, lin-skill-demo is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does lin-skill-demo support?

lin-skill-demo is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created lin-skill-demo?

It is built and maintained by lintqiu (@lintqiu); the current version is v1.0.1.

💬 Comments