curl-search

curl-search is a skill for Claude Code, Codex from MemTensor/skills-vote. It costs 55 tokens per session (584 once invoked), scanned A, original, MIT.

A lightweight web-search tool that uses `curl`, a command-line program for fetching web pages, with several search engines. It supports Baidu, Google, Bing, and DuckDuckGo.

In plain words
What is it for?
Use it when someone asks to search, look up, or query information online, choosing among the supported search engines and limiting results to 1–50.
Why use it?
It provides a way to search online when a dedicated search service is unavailable. It also sanitizes search input and encodes URLs to reduce command-injection risks.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: positional $N argument; built for openclaw.

Good fit Use it when someone asks to search, look up, or query information online, choosing among the supported search engines and limiting results to 1–50.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/memtensor/skills-vote/curlsearch
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add MemTensor/skills-vote --skill curlsearch
Clone the repo
git clone --depth 1 https://github.com/MemTensor/skills-vote

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for curl-search

README.md
[![agentmods](https://agentmods.dev/badge/skills/memtensor/skills-vote/curlsearch.svg)](https://agentmods.dev/skills/memtensor/skills-vote/curlsearch)
Your own site
<a href="https://agentmods.dev/skills/memtensor/skills-vote/curlsearch"><img src="https://agentmods.dev/badge/skills/memtensor/skills-vote/curlsearch.svg" alt="Measured on agentmods" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 584 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00055 $0.00584
Opus 5 $0.00028 $0.00292
Sonnet 5 $0.00011 $0.00117
Haiku 4.5 $0.00006 $0.00058

Measured 8d ago against content hash 4635715b0f11, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

curl-search scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/search.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

name: curl-search
examples/recommend_skills/curlsearch/SKILL.md · 105 lines

What it actually says

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 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
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 105 lines · 55 tokens per session scan A 4635715b0f11

Subscribe to this mod's changes

curl-search is a skill published in the GitHub repository MemTensor/skills-vote (300 stars, last pushed 1mo ago), licensed MIT. It adds 55 tokens to every session and 584 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

karpathy-llm-wiki

Use when building or maintaining a personal LLM-powered knowledge base. Triggers: ingesting sources into a wiki, querying wiki knowledge, linting wiki quality, 'add to wiki', 'what do I know about', or any mention of 'LLM wiki' or 'Karpathy wiki'.

Astro-Han/karpathy-llm-wiki · 67 tokens

LEAP

LEAP builds skills through two pipelines: Branch A distills a skill from raw data, while Branch B combines multiple skills into one. It is called by the main SkillAlchemy workflow. Use when SkillAlchemy requires distillation or fusion.

agentsope/SkillAlchemy · 52 tokens

agentsop-bounded-loop

Universal discipline for any LM-driven loop — agent retries, plan-act-observe, multi-agent handoffs, optimiser passes, test-fix cycles. Encodes the one rule every framework documents quietly and every team relearns expensively: the LM in the loop is NEVER a reliable terminator. Termination must be provided by an…

agentsope/SkillAlchemy · 218 tokens

agentsop-dify

SOP for building LLM applications on Dify — visual workflow + chatflow + agent + RAG knowledge base + plugin marketplace + observability, self-hostable. Use when shipping LLM apps fast with a "no-code to pro-code" gradient, especially when non-engineers need to co-author the flow.

agentsope/SkillAlchemy · 69 tokens

agentsop-dspy

Operating SOP for DSPy (Stanford NLP) — the declarative framework for "programming, not prompting" language models. Activate when the user says any of: "use DSPy", "compile a prompt", "optimize prompts/programs", "MIPRO/MIPROv2", "BootstrapFewShot", "GEPA", "Signatures + Modules", "teleprompter", "auto-tune prompts…

agentsope/SkillAlchemy · 157 tokens

agentsop-langgraph

Decision protocol for building, debugging, and operating LangGraph-based agent systems. Activates when a coder agent is asked to design a stateful LLM workflow, add human-in-the-loop, choose a multi-agent pattern (supervisor / swarm / hierarchical), pick a checkpoint backend, or migrate a fragile chain into a durable…

agentsope/SkillAlchemy · 124 tokens