搜索

PythonReactSEOPDF
OpenClaw

Searxng Search Skill

SearXNG Advanced Search Skill

elmaslouhymouaad0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install elmaslouhymouaad/searxng-search-skill

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

SearXNG Advanced Search Skill

---
name: searxng-skill
description: Advanced Python library for SearXNG metasearch with retry logic, timeout handling, and comprehensive search patterns.
homepage: https://github.com/yourusername/searxng-skill
metadata: {"clawdbot":{"emoji":"🔍","requires":{"python":">=3.8","packages":["requests","urllib3","python-dotenv"]},"install":[{"id":"pip","kind":"pip","package":"searxng-skill","label":"Install searxng-skill (pip)"},{"id":"local","kind":"local","command":"pip install -e .","label":"Install from source"}]}}
---

# searxng-skill

Use `searxng-skill` for privacy-focused metasearch with local/remote SearXNG instances. Supports retry logic, timeout handling, and advanced search patterns.

## Setup (once)

**Environment variables (recommended)**
```bash
# Create .env file
cat > .env << EOF
SEARXNG_URL=http://localhost:8080
SEARXNG_TIMEOUT=10
SEARXNG_MAX_RETRIES=3
SEARXNG_RETRY_DELAY=1.0
SEARXNG_BACKOFF_FACTOR=2.0
SEARXNG_VERIFY_SSL=true
SEARXNG_LANGUAGE=en
EOF

Or configuration file

# Create config.json
cat > config.json << EOF
{
  "instance_url": "http://localhost:8080",
  "default_timeout": 10,
  "max_retries": 3,
  "retry_delay": 1.0,
  "backoff_factor": 2.0,
  "verify_ssl": true,
  "default_language": "en"
}
EOF

Initialize in code

from searxng_skill import SearXNGSkill, SearXNGConfig

# From environment
config = SearXNGConfig.from_env()
skill = SearXNGSkill(config=config)

# From file
config = SearXNGConfig.from_file("config.json")
skill = SearXNGSkill(config=config)

# Direct
skill = SearXNGSkill(instance_url="http://localhost:8080")

Common Commands

Basic search

from searxng_skill import SearXNGSkill

skill = SearXNGSkill(instance_url="http://localhost:8080")
results = skill.search("Python programming")

# Access results
for result in results["results"][:10]:
    print(f"{result['title']} - {result['url']}")

Category search

from searxng_sk...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/elmaslouhymouaad/searxng-search-skill
Version
—
Commit
11e082485bdecfb1d817e348905b91861ef1ac47
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

README

SearXNG Advanced Search Skill

A comprehensive Python library for interacting with SearXNG instances with advanced features including retry logic, timeout handling, and support for both local and remote instances.

Features

  • ✅ Comprehensive retry logic with exponential backoff
  • ✅ Timeout handling
  • ✅ Local and remote instance support
  • ✅ Multiple search categories
  • ✅ Advanced search operators
  • ✅ Structured result objects
  • ✅ Health checking
  • ✅ Autocomplete support
  • ✅ Engine-specific searches
  • ✅ Multi-category searches
  • ✅ Safe search filtering
  • ✅ Time range filtering

Installation

pip install searxng-skill # Not yet ready

Or install from source:

git clone https://github.com/mouaad-ops/searxng-search-skill.git
cd searxng-skill
pip install -e .

Quick Start

from searxng_skill import SearXNGSkill, SearchCategory, TimeRange

# Initialize with local instance
skill = SearXNGSkill(instance_url="http://localhost:8080")

# Basic search
results = skill.search("Python programming")

# Category search
news = skill.news_search("AI", time_range=TimeRange.DAY)

# Advanced search
advanced = skill.advanced_search(
    query="machine learning",
    exact_phrase="deep learning",
    exclude_words=["tutorial"],
    site="github.com"
)

来源内容

SKILL.md
# SearXNG Advanced Search Skill

```markdown
---
name: searxng-skill
description: Advanced Python library for SearXNG metasearch with retry logic, timeout handling, and comprehensive search patterns.
homepage: https://github.com/yourusername/searxng-skill
metadata: {"clawdbot":{"emoji":"🔍","requires":{"python":">=3.8","packages":["requests","urllib3","python-dotenv"]},"install":[{"id":"pip","kind":"pip","package":"searxng-skill","label":"Install searxng-skill (pip)"},{"id":"local","kind":"local","command":"pip install -e .","label":"Install from source"}]}}
---

# searxng-skill

Use `searxng-skill` for privacy-focused metasearch with local/remote SearXNG instances. Supports retry logic, timeout handling, and advanced search patterns.

## Setup (once)

**Environment variables (recommended)**
```bash
# Create .env file
cat > .env << EOF
SEARXNG_URL=http://localhost:8080
SEARXNG_TIMEOUT=10
SEARXNG_MAX_RETRIES=3
SEARXNG_RETRY_DELAY=1.0
SEARXNG_BACKOFF_FACTOR=2.0
SEARXNG_VERIFY_SSL=true
SEARXNG_LANGUAGE=en
EOF
```

**Or configuration file**
```bash
# Create config.json
cat > config.json << EOF
{
  "instance_url": "http://localhost:8080",
  "default_timeout": 10,
  "max_retries": 3,
  "retry_delay": 1.0,
  "backoff_factor": 2.0,
  "verify_ssl": true,
  "default_language": "en"
}
EOF
```

**Initialize in code**
```python
from searxng_skill import SearXNGSkill, SearXNGConfig

# From environment
config = SearXNGConfig.from_env()
skill = SearXNGSkill(config=config)

# From file
config = SearXNGConfig.from_file("config.json")
skill = SearXNGSkill(config=config)

# Direct
skill = SearXNGSkill(instance_url="http://localhost:8080")
```

## Common Commands

**Basic search**
```python
from searxng_skill import SearXNGSkill

skill = SearXNGSkill(instance_url="http://localhost:8080")
results = skill.search("Python programming")

# Access results
for result in results["results"][:10]:
    print(f"{result['title']} - {result['url']}")
```

**Category search**
```python
from searxng_sk...
README
# SearXNG Advanced Search Skill

A comprehensive Python library for interacting with SearXNG instances with advanced features including retry logic, timeout handling, and support for both local and remote instances.

## Features

- ✅ Comprehensive retry logic with exponential backoff
- ✅ Timeout handling
- ✅ Local and remote instance support
- ✅ Multiple search categories
- ✅ Advanced search operators
- ✅ Structured result objects
- ✅ Health checking
- ✅ Autocomplete support
- ✅ Engine-specific searches
- ✅ Multi-category searches
- ✅ Safe search filtering
- ✅ Time range filtering

## Installation

```bash
pip install searxng-skill # Not yet ready
```

## Or install from source:

```bash
git clone https://github.com/mouaad-ops/searxng-search-skill.git
cd searxng-skill
pip install -e .
```

## Quick Start

```python
from searxng_skill import SearXNGSkill, SearchCategory, TimeRange

# Initialize with local instance
skill = SearXNGSkill(instance_url="http://localhost:8080")

# Basic search
results = skill.search("Python programming")

# Category search
news = skill.news_search("AI", time_range=TimeRange.DAY)

# Advanced search
advanced = skill.advanced_search(
    query="machine learning",
    exact_phrase="deep learning",
    exclude_words=["tutorial"],
    site="github.com"
)
```

相关技能

OpenClaw

ai-maestro

23blocks-os

AI Agent Orchestrator with Skills System - Give AI Agents superpowers: memory search, code graph queries, agent-to-agent messaging. Manage Claude, Codex or any AI Agent from one dashboard. Move Agents between c...

OpenClaw

registry-broker-skills

hashgraph-online

AI agent skills for the Universal Registry - search, chat, and register 72,000+ agents across 14+ protocols. Works with Claude, Codex, Cursor, OpenClaw, and any AI assistant.

OpenClaw

skills-manager

rito-w

A cross-platform skills manager for AI IDEs. Search marketplace, download locally, and install to Claude, Cursor, Windsurf, and more with one click.