← 返回 Skills 市场
bo-aibot

Free AI Bot

作者 bo-Aibot · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
267
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install free-ai-bot
功能描述
🤖 Free AI Bot - 免费 AI 聚合器。整合 Ollama 本地模型 + Cloudflare Workers AI + Groq 等免费资源,智能路由+故障转移,让 AI 零成本运行。
使用说明 (SKILL.md)

Free AI Bot 🤖

免费 AI 聚合器 - 让 AI 零成本运行

核心理念

免费 ≠ 廉价

  • 本地模型 + 免费 API = 零成本运行
  • 智能路由 = 始终选择最优方案
  • 故障转移 = 一个不行换一个

支持的资源

🏠 本地模型 (完全免费)

模型 特点 适用场景
llama3.2 轻量快速 日常对话
qwen2.5 中文优化 中文任务
phi3.5 微软出品 推理任务

☁️ 免费云端 API

服务 免费额度 特点
Cloudflare Workers AI 100,000 次/天 快速稳定
Groq 60次/分钟 推理极快
Kimi 暂时有限 中文友好

环境配置

# 本地模型(推荐)
export OLLAMA_HOST=http://localhost:11434

# Cloudflare Workers AI(可选)
export CF_ACCOUNT_ID=your_account_id
export CF_API_TOKEN=your_token

# Groq(可选)
export GROQ_API_KEY=your_key

使用方式

命令行调用

# 自动选择最佳免费方案
python3 {baseDir}/scripts/ask_free_ai.py "你好"

# 指定使用本地模型
python3 {baseDir}/scripts/ask_free_ai.py "你好" --provider ollama

# 指定使用云端
python3 {baseDir}/scripts/ask_free_ai.py "你好" --provider cloudflare

智能路由逻辑

1. 优先本地模型(最快/免费)
   ↓ 失败
2. Cloudflare Workers AI(稳定)
   ↓ 失败
3. Groq(推理快)
   ↓ 失败
4. 返回错误

故障排除

  • Ollama 未启动: ollama serve
  • API 额度用完: 检查对应服务后台
  • 网络问题: 确认能访问对应 API

贡献

欢迎提交 PR!一起打造最好的免费 AI 方案。

License

MIT License - 免费开源

安全使用建议
This skill appears to implement what it claims (use local Ollama first, then Cloudflare or Groq as fallbacks), but there are sloppy/incoherent parts you should address before trusting it with real API keys: (1) The metadata declares 'curl' but the script uses Python's requests — install the requests package (pip install requests) or update the skill metadata; (2) call_cloudflare() contains a malformed f-string/URL and will fail — inspect and fix the Cloudflare endpoint before supplying CF credentials; (3) No requirements.txt or dependency declaration exists, so run in an isolated environment (virtualenv/container) to avoid supply-chain surprises; (4) Only provide CF/Groq tokens if you trust those external services and understand that those tokens will be sent to their APIs; (5) If you want higher assurance, request the upstream source repository or a corrected release from the author, or patch the script locally to fix the URL and add dependency declarations. Because these issues look like developer mistakes rather than clear malice, treat the skill as usable after review/fixes, but do not supply sensitive credentials until you or the author fix the code and confirm endpoints.
功能分析
Type: OpenClaw Skill Name: free-ai-bot Version: 1.0.0 The skill is a legitimate AI aggregator that routes prompts to local Ollama instances or free cloud APIs (Cloudflare, Groq). The code in `scripts/ask_free_ai.py` correctly handles API keys via environment variables and uses standard HTTP requests to communicate with the specified services. While there is a syntax error in the Cloudflare API URL construction (missing a closing brace in the f-string), it is a non-malicious bug that would cause the script to fail rather than compromise security. No evidence of data exfiltration, unauthorized execution, or prompt injection was found.
能力评估
Purpose & Capability
The skill's name/description (local Ollama + free cloud fallbacks) align with the included script and SKILL.md. The primaryEnv OLLAMA_HOST is appropriate. However, registry metadata requires the 'curl' binary while the Python script uses the 'requests' library (no use of curl anywhere) and no Python dependencies are declared—this is an incoherence between declared requirements and actual implementation.
Instruction Scope
SKILL.md instructs exactly what the script does (set OLLAMA_HOST, optional CF/GROQ tokens, run the Python script). The script only calls the listed providers. It does not attempt to read unrelated system files or exfiltrate arbitrary data. However, the call_cloudflare() implementation contains a syntax/URL bug (f-string uses {account_id/ai/run/... which is invalid and will produce a runtime error), so Cloudflare calls will fail or be malformed. The code prints errors to stderr but would not silently exfiltrate secrets; still, providing real API tokens would cause them to be transmitted to external provider endpoints (as intended) — be cautious.
Install Mechanism
No install spec is provided (instruction-only plus bundled script), so the skill does not download or install third-party binaries during installation. This is lower risk. Note: the repository/script expects Python and the 'requests' package, but no dependency management (requirements.txt) or install steps are declared.
Credentials
Requesting OLLAMA_HOST as the primary credential is proportionate to the stated purpose. The script also optionally reads CF_ACCOUNT_ID, CF_API_TOKEN, and GROQ_API_KEY to call external providers—these are relevant but are not listed as 'required' in the registry metadata (they are optional). Users should understand that providing those tokens will send them to the respective external APIs. No unrelated credentials are requested.
Persistence & Privilege
The skill does not request always: true, does not persist configuration across other skills, and does not modify system-wide settings. It runs as an on-demand script and has no elevated persistence or privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install free-ai-bot
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /free-ai-bot 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Free AI Bot 1.0.0 - Initial release offering a free AI aggregator that integrates local Ollama models and various cloud-based free AI APIs (Cloudflare Workers AI, Groq, Kimi). - Features intelligent routing and failover to select the optimal, zero-cost AI resource automatically. - Supports both local and cloud AI models, with command line invocation and easy environment configuration. - Provides clear troubleshooting steps and encourages community contributions.
元数据
Slug free-ai-bot
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Free AI Bot 是什么?

🤖 Free AI Bot - 免费 AI 聚合器。整合 Ollama 本地模型 + Cloudflare Workers AI + Groq 等免费资源,智能路由+故障转移,让 AI 零成本运行。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 267 次。

如何安装 Free AI Bot?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install free-ai-bot」即可一键安装,无需额外配置。

Free AI Bot 是免费的吗?

是的,Free AI Bot 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Free AI Bot 支持哪些平台?

Free AI Bot 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Free AI Bot?

由 bo-Aibot(@bo-aibot)开发并维护,当前版本 v1.0.0。

💬 留言讨论