/install curlsearch
Curl Search Skill
Web search using curl + multiple search engines. This skill provides a lightweight alternative when dedicated search APIs are unavailable.
Supported Search Engines
| Engine | Alias | Description |
|---|---|---|
| Baidu | bd | Fast for China, default option |
| g | Requires proxy/VPN in China | |
| Bing | b | Microsoft Bing |
| DuckDuckGo | ddg | Privacy-focused search |
Usage Examples
Search for OpenClaw tutorial
Google search AI development
Find Python tutorials with bing
Requirements
- curl - Command-line HTTP client
- python3 - For URL encoding
Security Features
This skill includes several security enhancements:
1. Input Sanitization
Removes dangerous shell metacharacters that could be exploited:
sanitize_input() {
local input="$1"
echo "$input" | sed 's/[^a-zA-Z0-9 \_\-\.\~\x{4e00}-\x{9fff}]//g'
}
2. Command Injection Protection
- Validates search engine selection
- Restricts max results to 1-50
- Checks for empty input after sanitization
3. URL Encoding
Uses Python's urllib.parse with safe='' parameter to properly encode special characters.
Installation
# Install via ClawHub
clawhub install curl-search
# Or manually
cd your-skills-dir
tar -xzf curl-search.tar.gz
Configuration
Set default search engine:
export SEARCH_ENGINE=google
Set max results:
export MAX_RESULTS=5
Limitations
- Search results come from public search engines
- May be blocked by anti-scraping measures
- Google requires proxy/VPN in China
Version History
- 2.0.0 - Security enhancements added
- Input sanitization
- Command injection protection
- URL encoding improvements
- 1.0.0 - Initial release
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install curlsearch - After installation, invoke the skill by name or use
/curlsearch - Provide required inputs per the skill's parameter spec and get structured output
What is curl-search?
Web search using curl + multiple search engines (Baidu, Google, Bing, DuckDuckGo). Activates when user asks to search, look up, or query something online. In... It is an AI Agent Skill for Claude Code / OpenClaw, with 279 downloads so far.
How do I install curl-search?
Run "/install curlsearch" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is curl-search free?
Yes, curl-search is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does curl-search support?
curl-search is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created curl-search?
It is built and maintained by bluejoy34 (@bluejoy34); the current version is v2.0.0.