技能详情(站内镜像,无评论)
许可证:MIT-0
MIT-0 ·免费使用、修改和重新分发。无需归因。
版本:v1.0.0
统计:⭐ 0 · 536 · 0 current installs · 0 all-time installs
⭐ 0
安装量(当前) 0
🛡 VirusTotal :可疑 · OpenClaw :可疑
Package:547895019/public-apis-skill-creator
安全扫描(ClawHub)
- VirusTotal :可疑
- OpenClaw :可疑
OpenClaw 评估
The skill is mostly coherent with its stated goal (finding public APIs and generating example calls/skill skeletons), but it includes network probing of arbitrary URLs and writes files into workspace/root paths by default — behaviors that can be misused (SSRF/data leakage, unexpected file writes) and deserve caution before running.
目的
The name/description (discover public/free APIs from public-apis and generate examples/skill skeletons) matches the included scripts: listing/searching the public-apis README, generating curl/Python/JS examples, and creating a skill skeleton. No unrelated credentials or external tooling are requested.
说明范围
The runtime instructions and scripts stay within the declared purpose but include steps that probe arbitrary discovered URLs (solve_task.sh --try uses curl to fetch the chosen URL and prints the first 500 bytes). That network probing can be used to contact internal/metadata endpoints if a URL points there. The scripts also create files (skill skeletons) and cache API lists on disk. The scripts do not restrict target hosts (no localhost/169.254…
安装机制
There is no external install/download step. The skill is instruction-and-script-only; all files are bundled with the skill. No installers or remote code downloads are performed by the skill itself, which lowers supply-chain risk.
证书
The skill declares no required env vars or credentials. The generated skill skeletons may reference an API_TOKEN for authenticated APIs (reasonable). Scripts use HOME for cache (~/.cache/public-apis-helper) and create files under an OUT_DIR default (/root/.openclaw/workspace/skills). No unrelated secrets are requested, but the generated artifacts and the optional probe will interact with external endpoints and may expose returned data.
持久
always:false and the skill is user-invocable; it does not attempt to enable itself permanently. However, it writes to disk (cache in the user's home, and skill skeletons by default into /root/.openclaw/workspace/skills). Creating files in that workspace is consistent with a skill-generator, but the hardcoded default of /root/.openclaw/workspace/skills may be surprising and could require elevated permissions or write into sensitive locations if…
安装(复制给龙虾 AI)
将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。
请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「Public APIs Skill Creator」。简介:公共API/免费API SKILL生成器:从 public-apis/public-apis 自动检索免费 API,按功能推荐并给出最小可用调用示例(curl…。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/547895019/public-apis-skill-creator/SKILL.md
(来源:yingzhi8.cn 技能库)
SKILL.md
---
name: public-apis-skill-creator
description: 公共API/免费API SKILL生成器:从 public-apis/public-apis 自动检索免费 API,按功能推荐并给出最小可用调用示例(curl/Python/JS),并可自动生成自定义名称的 API skill。用户提到“公共API”“免费API”“public APIs”“找接口/找API”“生成API skill”时触发。
---
# public-apis-skill-creator
## 能力
- 按功能关键词搜索 public-apis 仓库里的免费 API
- 输出 API 的认证要求、HTTPS、CORS、文档链接
- 自动生成最小可用示例(curl / Python / JavaScript)
- 自动生成“公共API/免费API”对应的 skill 包(名称可自定义)
- 查看并打印 public-apis 全量 API 列表(支持 --top / --json)
## 用法
### 1) 按功能找 API
```bash
bash {baseDir}/scripts/search_api.sh "weather forecast"
```
### 2) 自动推荐 + 生成调用模板(一步到位)
```bash
bash {baseDir}/scripts/solve_task.sh "weather api"
# 指定用推荐列表第 2 个 API
bash {baseDir}/scripts/solve_task.sh "weather api" --pick 2
# 可选:尝试对选中 API 做一次 GET 探测
bash {baseDir}/scripts/solve_task.sh "weather api" --pick 2 --try
```
### 3) 自动生成对应 skill(支持自定义名称)
```bash
bash {baseDir}/scripts/solve_task.sh "weather api"
--pick 2
--make-skill
--skill-name weather-api-skill
```
会在 `skills/<skill-name>/` 下生成可直接使用的 skill 骨架。
### 4) 手动生成调用模板
```bash
bash {baseDir}/scripts/gen_usage.sh
--name "Open-Meteo"
--url "https://api.open-meteo.com/v1/forecast?latitude=39.9&longitude=116.4&hourly=temperature_2m"
--auth "No"
```
### 5) 打印 public-apis 全部列表
```bash
bash {baseDir}/scripts/list_all_apis.sh
# 只看前 50 条
bash {baseDir}/scripts/list_all_apis.sh --top 50
# JSON 输出
bash {baseDir}/scripts/list_all_apis.sh --json
```
## 典型请求示例
- "帮我找免费天气 API 并给 Python 示例"
- "找一个免费汇率 API,要求 HTTPS 且无需 key"
- "我想做新闻聚合,推荐 3 个 API 并比较"
- "基于公共API生成一个新免费天气 skill,名称叫 weather-free"