A comprehensive integration guide for connecting Baidu ERNIE 5.0 thinking models to Clawdbot using the Qianfan platform.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install ernie-integration
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install ernie-integration using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Baidu ERNIE 5.0 Integration is a technical implementation resource designed for developers who need to leverage advanced reasoning capabilities within their AI agent environment. By utilizing Openclaw Skills, users can bridge their Clawdbot instances with Baidu's latest large language model, ERNIE 5.0, which features a massive 128K context window and a specialized thinking preview mode for deep logical analysis.
This skill focuses on the technical setup required to handle Baidu's specific BCE-v3 authentication and OpenAI-compatible API endpoints. By incorporating this into your development stack, you gain access to high-performance LLMs capable of complex reasoning, making it an essential addition to the library of Openclaw Skills for developers working with multi-provider AI architectures.
Add your Baidu API key to your shell profile:
export ERNIE_API_KEY="bce-v3/ALTAK-your-key-here"
source ~/.zshrc # or ~/.bashrc
Add the following configuration to your clawdbot.json to enable the provider within Openclaw Skills:
{
"models": {
"providers": {
"ernie": {
"baseUrl": "https://qianfan.baidubce.com/v2",
"apiKey": "${ERNIE_API_KEY}",
"api": "openai-completions",
"models": [
{
"id": "ernie-5.0-thinking-preview",
"name": "ERNIE 5.0",
"contextWindow": 128000
}
]
}
}
}
}
Restart the gateway to verify the setup:
clawdbot gateway restart
clawdbot models list
The integration maps Baidu-specific parameters to standard agent schemas for seamless operation within Openclaw Skills:
| Parameter | Mapping/Value | Description |
|---|---|---|
model_id |
ernie-5.0-thinking-preview |
Primary reasoning model |
context_window |
128,000 tokens | Maximum input/output capacity |
api_type |
openai-completions |
Protocol compatibility layer |
auth_header |
Bearer ${ERNIE_API_KEY} |
BCE-v3 authentication format |
enable_thinking parameter for complex chain-of-thought processing.short_think or chain_of_draft strategies.thinking_budget to control costs and response latency.Loading
A specialized compliance skill designed to transform high-risk marketing claims into policy-safe, high-converting TikTok scripts.

A comprehensive security auditing tool designed to scan AI agent skills, plugins, and MCP servers for malicious patterns and vulnerabilities.

An AI-powered document intelligence skill that automatically recognizes and extracts detailed information from various types of invoices and receipts.

A powerful bioinformatics tool for automated gene variant clinical significance annotation and ACMG classification.

A diagnostic tool designed to pinpoint why short-form videos lose viewers and provide actionable script improvements.

A technical skill to generate customized, template-based QR codes and recognize data from images using the JisuAPI.








































