← 返回 Skills 市场
Kuaidaili Proxy
作者
openclaw-baixing
· GitHub ↗
· v1.0.0
· MIT-0
187
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install kuaidaili-skill
功能描述
快代理(Kuaidaili)代理IP服务集成。Use when you need to (1) fetch proxy IPs from Kuaidaili API, (2) check account balance, (3) manage proxy orders, (4) test proxy connec...
使用说明 (SKILL.md)
快代理 (Kuaidaili) Skill
集成快代理API,提供代理IP获取、账户管理等功能。
配置
在使用前,需要设置环境变量或在脚本中配置:
# 环境变量方式(推荐)
export KUAIDAILI_SECRET_ID="your_secret_id"
export KUAIDAILI_SIGNATURE="your_signature"
# 或在调用脚本时传入参数
python scripts/get_proxies.py --secret-id YOUR_ID --signature YOUR_SIG
获取密钥:
- 登录快代理用户中心
- 进入"订单管理" → "API接口"
- 生成API链接,提取
secret_id和signature
主要功能
1. 获取代理IP
# 获取10个私密代理IP(JSON格式)
python scripts/get_proxies.py --num 10 --format json
# 获取5个独享代理IP(文本格式)
python scripts/get_proxies.py --type dedicated --num 5 --format text
# 指定地区
python scripts/scripts/get_proxies.py --area 北京 --num 10
2. 查询账户余额
python scripts/check_balance.py
3. 测试代理连接
python scripts/test_proxy.py --proxy "http://user:pass@ip:port"
代理类型
- 私密代理 (
private): 高匿名、高可用 - 独享代理 (
dedicated): 专属IP、稳定性高 - 隧道代理 (
tunnel): 按流量计费、自动切换
常用参数
| 参数 | 说明 | 默认值 |
|---|---|---|
--num |
获取IP数量 | 10 |
--format |
返回格式 (json/text) | json |
--area |
指定地区 | 不限 |
--protocol |
协议类型 (http/https/socks5) | http |
--sep |
分隔符 (1=\ | |
| , 2=\r, 3=空格) | 1 |
API参考
详细API文档见 references/api_reference.md
错误处理
常见错误码:
1001: 参数错误1002: 认证失败1003: 余额不足1004: 订单不存在
示例:爬虫集成
import requests
import json
# 获取代理
resp = requests.get("https://dev.kdlapi.com/api/getproxy", params={
"secret_id": "your_id",
"signature": "your_sig",
"num": 10,
"format": "json"
})
proxies_data = resp.json()
# 使用代理
for proxy in proxies_data["data"]["proxy_list"]:
proxies = {"http": proxy, "https": proxy}
requests.get("https://httpbin.org/ip", proxies=proxies)
安全使用建议
This package appears to do what it says (fetch proxies, check balance, test proxies) and the Python scripts are readable and call legitimate Kuaidaili endpoints and httpbin.org. However the registry metadata failing to list the required environment variables is an inconsistency you should resolve before installing. Actions to consider:
- Confirm with the publisher (or inspect the files) that KUAIDAILI_SECRET_ID and KUAIDAILI_SIGNATURE are required (they are), and decide how you'll provide them (env vars or CLI args).
- Run the scripts locally in an isolated environment (virtualenv / container) to inspect behavior before giving credentials to any service.
- Verify the endpoints (dev.kdlapi.com, dps.kdlapi.com, tps.kdlapi.com) match official Kuaidaili docs and that you trust the skill owner (registry owner id is unknown).
- Avoid storing secrets in world-readable files; prefer process environment or secret manager.
- Note the SKILL.md typo (scripts/scripts/...) — a sign of low polish but not malicious. If you need high assurance, ask the maintainer to update registry metadata to declare required env vars and provide a verified homepage/repository.
功能分析
Type: OpenClaw Skill
Name: kuaidaili-skill
Version: 1.0.0
The skill is a legitimate integration for the Kuaidaili (快代理) proxy service. The scripts (get_proxies.py, check_balance.py, and test_proxy.py) perform their stated functions by interacting with official Kuaidaili API endpoints (kdlapi.com) using standard authentication methods. No evidence of data exfiltration, malicious execution, or prompt injection was found; the code follows standard practices for handling API secrets via environment variables.
能力评估
Purpose & Capability
The name/description (Kuaidaili proxy integration) matches the included scripts (get_proxies.py, check_balance.py, test_proxy.py) and the API reference. However the registry metadata reports no required environment variables or primary credential, while the SKILL.md and scripts clearly require KUAIDAILI_SECRET_ID and KUAIDAILI_SIGNATURE. This metadata omission is an inconsistency (likely oversight) but not by itself malicious.
Instruction Scope
SKILL.md and the scripts only instruct the agent/user to provide Kuaidaili credentials or pass them as CLI args, call Kuaidaili API endpoints, and optionally test proxies against httpbin.org. The instructions do not ask the agent to read unrelated files, system secrets, or send data to unknown endpoints. There is a minor typo in SKILL.md (example uses scripts/scripts/get_proxies.py) but no scope creep.
Install Mechanism
There is no install spec (instruction-only) and no downloads or extract steps. The bundled code is plain Python using requests and makes HTTPS calls to Kuaidaili endpoints and httpbin.org. No third‑party, opaque downloads or URL-shortened installers are present.
Credentials
The scripts legitimately require two secrets (KUAIDAILI_SECRET_ID and KUAIDAILI_SIGNATURE). That is proportionate to the stated purpose. However the package/registry metadata lists no required env vars or primary credential — a direct mismatch. Users could be surprised because the registry does not advertise the need to provide credentials. Also the SKILL.md suggests storing creds in environment variables (normal) but users should avoid committing them to disk.
Persistence & Privilege
The skill is not marked always:true and does not request elevated persistence. It does not modify other skills, system configs, or write hidden services. Autonomous invocation is allowed (default) which is normal; nothing in the package indicates it would abuse that.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install kuaidaili-skill - 安装完成后,直接呼叫该 Skill 的名称或使用
/kuaidaili-skill触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release
元数据
常见问题
Kuaidaili Proxy 是什么?
快代理(Kuaidaili)代理IP服务集成。Use when you need to (1) fetch proxy IPs from Kuaidaili API, (2) check account balance, (3) manage proxy orders, (4) test proxy connec... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 187 次。
如何安装 Kuaidaili Proxy?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install kuaidaili-skill」即可一键安装,无需额外配置。
Kuaidaili Proxy 是免费的吗?
是的,Kuaidaili Proxy 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Kuaidaili Proxy 支持哪些平台?
Kuaidaili Proxy 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Kuaidaili Proxy?
由 openclaw-baixing(@openclaw-baixing)开发并维护,当前版本 v1.0.0。
推荐 Skills