← 返回 Skills 市场
Baidu Qianfan Tools
作者
yingyangdao
· GitHub ↗
· v1.1.0
457
总下载
0
收藏
3
当前安装
4
版本数
在 OpenClaw 中安装
/install qianfan-tools
功能描述
百度千帆工具箱 - 集成百度千帆平台多种免费 API | Baidu Qianfan Tools - Integrate Baidu Qianfan Platform APIs
安全使用建议
This skill is internally consistent with its stated purpose: it calls Baidu Qianfan endpoints and needs a BAIDU_API_KEY. Before installing, note: (1) you will need Node.js/npm to run the scripts and to install dependencies (package.json lists axios) — the registry metadata does not declare Node as a required binary; (2) the SKILL.md suggests editing ~/.openclaw/openclaw.json for platform config, but the code only reads a local config.json in the skill folder, so platform config may be required for hosted use; (3) verify the API key you provide has only the Qianfan permissions you intend (principle of least privilege) and be aware of billing/quota implications described in the README; (4) run npm install in the skill directory before executing scripts if you use this locally, and avoid pasting your BAIDU_API_KEY into public places.
功能分析
Type: OpenClaw Skill
Name: qianfan-tools
Version: 1.1.0
The qianfan-tools skill bundle is a legitimate collection of utility scripts designed to interface with the Baidu Qianfan AI platform. The scripts (e.g., ai-search.js, ocr.js, chat.js) facilitate various AI tasks by sending requests to the official Baidu API endpoint (https://qianfan.baidubce.com/v2). Sensitive information like the BAIDU_API_KEY is handled through standard environment variables or local configuration files as defined in shared.js. There is no evidence of data exfiltration, malicious execution, or prompt injection.
能力评估
Purpose & Capability
The skill name, description, and code files all match: the scripts call Baidu Qianfan endpoints under https://qianfan.baidubce.com/v2 and only require a BAIDU_API_KEY. Minor mismatch: SKILL metadata declares no required binaries, but the runtime instructions and files assume Node.js (node) and npm to run the scripts and install the axios dependency (package.json). This is an expected operational detail but should be disclosed.
Instruction Scope
SKILL.md instructions stay within the stated purpose (telling the user to set BAIDU_API_KEY, optionally create a local config.json, and run node scripts). One small inconsistency: SKILL.md suggests editing ~/.openclaw/openclaw.json for platform config, but the code only reads a local config.json in the skill folder (shared.js). The scripts do not attempt to read other system files or unrelated environment variables.
Install Mechanism
No install spec is provided (instruction-only), and all network activity in the code targets the Qianfan base URL. package.json lists only axios as a dependency; there are no downloads from arbitrary URLs or extract operations. Risk is low assuming you run these scripts locally within a Node environment.
Credentials
The only requested credential is BAIDU_API_KEY (declared as primary). The code uses that API key solely to authorize requests to the qianfan API. There are no additional unrelated secrets requested and shared.js falls back to a local config.json only.
Persistence & Privilege
The skill does not request always:true, does not modify other skills or system-wide settings, and does not persist credentials beyond using the provided BAIDU_API_KEY (and a local config.json fallback). Autonomous invocation is allowed by default but that is normal for skills.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install qianfan-tools - 安装完成后,直接呼叫该 Skill 的名称或使用
/qianfan-tools触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.0
- Added bilingual (Chinese and English) descriptions and instructions throughout the documentation.
- Improved clarity in feature lists and usage instructions by providing both Chinese and English.
- Enhanced documentation format for greater accessibility to international users.
- No functional changes to scripts or APIs; all updates are documentation-related for broader user support.
v1.0.3
- Removed package-lock.json to simplify repository and dependency management.
- No changes to functionality or documentation content.
v1.0.2
qianfan-tools 1.0.2 adds support for more Baidu Qianfan platform APIs.
- 新增文本生成(chat.js)、续写(continue.js)、图像生成(image.js)、通用OCR(ocr.js)等多项API脚本
- 更新功能列表和说明文档,详细展示各API调用方式与额度
- 优化项目结构展示,便于查找与扩展
- 提升技能描述:增加“百科”“文本生成”等关键词和标签
- 现有功能(智能搜索、热搜)不变,保持兼容
v1.0.0
Initial release of qianfan-tools: integrates Baidu Qianfan platform APIs for powerful search tools.
- Provides smart search with AI summaries and structured results (ai-search.js)
- Includes real-time Baidu trending topics search (hotword.js)
- Easy configuration via BAIDU_API_KEY environment variable
- Future features (in development): Baidu Baike, PPT generation, OCR, product titles, Baidu Scholar
- Supports OpenClaw and local config setup
元数据
常见问题
Baidu Qianfan Tools 是什么?
百度千帆工具箱 - 集成百度千帆平台多种免费 API | Baidu Qianfan Tools - Integrate Baidu Qianfan Platform APIs. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 457 次。
如何安装 Baidu Qianfan Tools?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install qianfan-tools」即可一键安装,无需额外配置。
Baidu Qianfan Tools 是免费的吗?
是的,Baidu Qianfan Tools 完全免费(开源免费),可自由下载、安装和使用。
Baidu Qianfan Tools 支持哪些平台?
Baidu Qianfan Tools 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Baidu Qianfan Tools?
由 yingyangdao(@yingyangdao)开发并维护,当前版本 v1.1.0。
推荐 Skills