← 返回 Skills 市场
249
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install api-hunter
功能描述
Automatically searches and compiles reports of free APIs based on specific functional requirements.
使用说明 (SKILL.md)
API Hunter Skill
功能
全自動 API 服務商獵人 - 根據功能需求搜尋免費 API
安裝
# 依賴已安裝
pip install beautifulsoup4 requests
使用方式
方法 1: Python 程式碼
from api_hunter import hunt
# 搜尋天氣 API
report = hunt("weather")
# 搜尋 AI 圖片生成 API
report = hunt("AI image generation")
# 搜尋翻譯 API
report = hunt("translation")
方法 2: 命令列
cd ~/.openclaw/ai-operator/skills
python api_hunter/hunter.py "weather"
方法 3: 實例化
from api_hunter import APIHunter
hunter = APIHunter()
# 自訂搜尋
results = hunter.search("stock market data")
print(results)
# 獵取並生成報告
report = hunter.hunt("email verification")
輸出範例
## 🎯 weather API 獵人報告
### 搜尋結果
1. 🌤️ Free Open-Source Weather API | Open-Meteo.com
URL: https://open-meteo.com/
2. Free Weather API - WeatherAPI.com
URL: https://www.weatherapi.com/
### ✅ 無需註冊的 API
| API 名稱 | 網址 |
|----------|------|
| Open-Meteo | https://open-meteo.com/ |
| OpenWeatherMap | https://openweathermap.org/api |
已知免費 API 清單
天氣
| API | URL | 特色 |
|---|---|---|
| Open-Meteo | https://open-meteo.com/ | 無需 API Key |
| OpenWeatherMap | https://openweathermap.org/api | 免費 tier |
資料
| API | URL | 特色 |
|---|---|---|
| JSONPlaceholder | https://jsonplaceholder.typicode.com/ | 測試用 |
| Public APIs | https://github.com/public-apis/public-apis | 集合 |
AI/ML
| API | URL | 特色 |
|---|---|---|
| Puter.js | https://developer.puter.com/ | 完全免費,無需 API Key,客戶端直接調用 |
| HuggingFace | https://huggingface.co/inference-api | 免費 tier |
| OpenAI | https://platform.openai.com/ | 免費 credit |
圖片生成 (完全免費,無需 API Key)
Puter.js - 最強大的免費選擇:
\x3Cscript src="https://js.puter.com/v2/">\x3C/script>
\x3Cscript>
puter.ai.txt2img("A cute cat").then(img => {
document.body.appendChild(img);
});
\x3C/script>
支持的模型:
- GPT Image (1, 1.5, 1.5-mini)
- DALL-E 2/3
- Gemini 2.5 Flash Image
- Flux.1 Schnell / Pro
- Stable Diffusion 3 / XL
- HiDream-I1
- Qwen-Image
限制
- 臨時郵件服務有時不穩定
- 部分網站需要 Cloudflare 驗證
- 建議優先使用無需註冊的 API
安全使用建议
This skill appears to implement an API search and report generator, but it relies on an undocumented local search endpoint (http://localhost:8888/search). Before installing or running it, verify: (1) Why your environment would have a search service on localhost:8888 — if you don't have one, the skill will fail; if an attacker controls that endpoint, they can influence which URLs the skill visits. (2) The skill will make outbound HTTP GET requests to any URLs returned by that search service — consider running it in a network-restricted sandbox or adding an allowlist for safe domains. (3) The SKILL.md and package.json contain mismatches (unused beautifulsoup4, Node metadata) — treat this as sloppy packaging and prefer a well-documented alternative. If you need this skill, ask the author to (a) document the dependency on a search service or switch to a reputable search API, (b) add domain allowlisting or explicit warnings about internal endpoints, and (c) remove or justify unnecessary dependencies. If you cannot verify the local search service or cannot sandbox network access, do not install or run this skill with access to sensitive networks or cloud metadata endpoints.
功能分析
Type: OpenClaw Skill
Name: api-hunter
Version: 1.0.0
The 'api-hunter' skill is a tool designed to search for and identify free API services by querying a local search engine (defaulting to localhost:8888) and scraping result pages for keywords like 'free tier' or 'no signup'. The Python code in hunter.py is straightforward, using the requests library for network calls without any evidence of data exfiltration, persistence mechanisms, or malicious execution. The SKILL.md documentation is consistent with the code's functionality and does not contain any prompt injection attempts or harmful instructions.
能力评估
Purpose & Capability
The code and SKILL.md generally align with the stated purpose (search for free APIs and build a report). However, the skill hard-codes SEARCH_URL = "http://localhost:8888/search" (a local search service) while SKILL.md and metadata do not mention any requirement for a local search proxy or how to provision it. The package.json (Node metadata) and the SKILL.md suggestion to install beautifulsoup4 are inconsistent with the Python-only code (beautifulsoup4 is not used in the provided code). These mismatches are unexplained and disproportionate to the stated goal.
Instruction Scope
SKILL.md instructs running the Python script and installing libraries, but does not document that the skill will query a local search service or that it will perform HTTP GETs to arbitrary URLs returned by that search endpoint. Because the skill follows result URLs and performs session.get(url), a malicious or compromised search service could make the skill connect to internal or sensitive endpoints (e.g., cloud metadata or internal services). The instructions give the agent broad network access without any allowlist or warnings.
Install Mechanism
There is no install spec (instruction-only skill). SKILL.md suggests 'pip install beautifulsoup4 requests' — installing requests makes sense; beautifulsoup4 is unnecessary given the included code. No remote downloads or archive extraction are used, so install risk is low, but the unnecessary dependency is a sign of sloppy documentation.
Credentials
The skill declares no required environment variables or credentials, which is proportionate. However, its network behavior (contacting localhost:8888 and then arbitrary discovered URLs) effectively expands its runtime privileges beyond what the metadata declares; this implicit network access should be considered when deciding whether to allow the skill.
Persistence & Privilege
The skill is not always-enabled and does not request persistent privileges or modify other skills' configurations. Autonomous invocation is allowed by default (normal) and there is no evidence the skill escalates system privileges.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install api-hunter - 安装完成后,直接呼叫该 Skill 的名称或使用
/api-hunter触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of "API Hunter Skill" for automatic API provider search by functionality.
- Supports searching for free APIs in multiple categories (weather, AI/ML, data, image generation).
- Provides sample usage via Python code, command line, and class instantiation.
- Outputs structured reports highlighting APIs that do not require registration.
- Includes a curated list of known free APIs with key features.
- Lists current limitations such as unreliable temporary mail services and Cloudflare checks.
元数据
常见问题
API Hunter 是什么?
Automatically searches and compiles reports of free APIs based on specific functional requirements. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 249 次。
如何安装 API Hunter?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install api-hunter」即可一键安装,无需额外配置。
API Hunter 是免费的吗?
是的,API Hunter 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
API Hunter 支持哪些平台?
API Hunter 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 API Hunter?
由 Terry(@terryyehai)开发并维护,当前版本 v1.0.0。
推荐 Skills