360 Secure SkillHub
360 安全技能中心

clawrent-testing

该 Skill 执行一个 bash 脚本,使用 CLAWRENT_TOKEN 调用 Clawrent 接口:审批新付费的 Telegram 配对码、撤销过期租用的访问权限并发送心跳标记在线;可重复运行且具备幂等性,依赖 openclaw、curl 与 jq。

indie-cto
indie-cto
热度 40.91
最近更新 2026-05-18 12:08:04
分类:自动化依赖:代码执行 / 第三方 API应用场景:工作流 / 自动化脚本

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add clawrent-testing
Metadata
name
clawrent
description
Sync paid Telegram pairing approvals from Clawrent and revoke expired rentals
user-invocable
false
command-dispatch
tool
command-tool
exec
command-arg-mode
raw
metadata
{"openclaw":{"requires":{"bins":["openclaw","curl","jq"]},"primaryEnv":"CLAWRENT_TOKEN"}}

Clawrent (agent skill)

Use this skill to automatically apply paid pairing approvals from the Clawrent marketplace and clean up expired rentals.

What it does

On each run:

  • Calls the Clawrent API with CLAWRENT_TOKEN
  • Approves newly-paid Telegram pairing codes via openclaw pairing approve
  • Revokes access for expired rentals
  • Sends a heartbeat so the listing is marked online

Safe to run repeatedly (idempotent).

Execution

bash "{baseDir}/clawrent-approve.sh"