← Back to Skills Marketplace
Baidu Qianfan Tools
by
yingyangdao
· GitHub ↗
· v1.1.0
457
Downloads
0
Stars
3
Active Installs
4
Versions
Install in OpenClaw
/install qianfan-tools
Description
百度千帆工具箱 - 集成百度千帆平台多种免费 API | Baidu Qianfan Tools - Integrate Baidu Qianfan Platform APIs
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install qianfan-tools - After installation, invoke the skill by name or use
/qianfan-tools - Provide required inputs per the skill's parameter spec and get structured output
Version History
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
Metadata
Frequently Asked Questions
What is Baidu Qianfan Tools?
百度千帆工具箱 - 集成百度千帆平台多种免费 API | Baidu Qianfan Tools - Integrate Baidu Qianfan Platform APIs. It is an AI Agent Skill for Claude Code / OpenClaw, with 457 downloads so far.
How do I install Baidu Qianfan Tools?
Run "/install qianfan-tools" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Baidu Qianfan Tools free?
Yes, Baidu Qianfan Tools is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Baidu Qianfan Tools support?
Baidu Qianfan Tools is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Baidu Qianfan Tools?
It is built and maintained by yingyangdao (@yingyangdao); the current version is v1.1.0.
More Skills