Install
openclaw skills install public-apis-skill-creator公共API/免费API SKILL生成器:从 public-apis/public-apis 自动检索免费 API,按功能推荐并给出最小可用调用示例(curl/Python/JS),并可自动生成自定义名称的 API skill。用户提到“公共API”“免费API”“public APIs”“找接口/找API”“生成API skill”时触发。
openclaw skills install public-apis-skill-creatorbash {baseDir}/scripts/search_api.sh "weather forecast"
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
bash {baseDir}/scripts/solve_task.sh "weather api" \
--pick 2 \
--make-skill \
--skill-name weather-api-skill
会在 skills/<skill-name>/ 下生成可直接使用的 skill 骨架。
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"
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