Curl Search Skill
name: curl-search
by bluejoy34 · published 2026-03-22
$ claw add gh:bluejoy34/bluejoy34-curlsearch---
name: curl-search
description: "Web search using curl + multiple search engines (Baidu, Google, Bing, DuckDuckGo). Activates when user asks to search, look up, or query something online. Includes security enhancements: input sanitization, command injection protection, and URL encoding."
metadata:
requirements:
binaries:
- curl
- python3
os:
- linux
- darwin
- win32
security:
input_sanitization: true
command_injection_protection: true
url_encoding: true
version: "2.0.0"
author: "bluejoy34"
license: "MIT"
---
# 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 |
| Google | 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 bingRequirements
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
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.gzConfiguration
Set default search engine:
export SEARCH_ENGINE=googleSet max results:
export MAX_RESULTS=5Limitations
Version History
- Input sanitization
- Command injection protection
- URL encoding improvements
More tools from the same signal band
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...