TopRank Skills

Home / Claw Skills / Recherche / pure-search
Official OpenClaw rules 54%

pure-search

A lightweight, API-key-free web search skill based on DuckDuckGo and Trafilatura. Returns highly relevant URLs and clean markdown content.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 pure-search 技能。 若已安装,则直接安装 pure-search 技能。

Overview

Skill Key
cyecho-io/pure-search
Author
cyecho-io
Source Repo
openclaw/skills
Version
1.0.0
Source Path
skills/cyecho-io/pure-search
Latest Commit SHA
80fc284c574b6278d8652bd1e59c0b59b790a405

Extracted Content

SKILL.md excerpt

# Pure Search 🔍

A lightweight, robust search skill that requires **NO API keys**. It uses DuckDuckGo for link retrieval and `trafilatura` for clean, high-quality markdown extraction. 

## How It Works

1. Queries DuckDuckGo for top N links (bypassing commercial API restrictions).
2. Uses `trafilatura` to extract only the main content of the web pages, stripping out all navigation bars, footers, sidebars, and ads.
3. Returns JSON output with search results, containing the title, URL, and the clean markdown body.

## Setup

First, make sure the dependencies are installed:

```bash
pip install duckduckgo-search trafilatura
```

## Quick Start

```bash
# Basic search (Default fetches top 3 results)
./scripts/search.py "Rust vs Go in 2026"

# Advanced search with more results
./scripts/search.py "Latest AI trends" --max-results 5
```

## Output Format

The output is always in a structured JSON format, making it extremely easy for agents to digest:

```json
{
  "query": "Rust vs Go in 2026",
  "results": [
    {
      "title": "A detailed comparison...",
      "url": "https://example.com/article",
      "markdown_content": "## Performance\n... (Pure clean text)"
    }
  ],
  "errors": []
}
```

## Why Pure Search?

- **Zero configuration**: Start using without registering tokens.
- **Extreme simplicity**: Only one Python script, following the KISS principle.
- **Token friendly**: Only sends clean Markdown to the LLM agent, avoiding HTML tags and saving context window limits.

Related Claw Skills