noblepayne

Searxng Web Search

知識管理v0.1.0
作者:noblepayne更新於 2026-05-11searxng-local-search@clawhub_noblepayne/searxng-local-search
資訊檢索#Current Information#Documentation#Search The Web#Web Search

據 AlphaMoat 統計,截至 2026-10,Searxng Web Search 累計下載 9,874 次、獲 4 個星標,按累計下載量在本次參與排名的 10,914 個 AI 技能中排名第 2,769 位,在「知識管理」分類(745 個)中排名第 192 位。

列表預設按累計下載量排序,也可按星標排序;詳情頁排名按累計下載量計算。

累計下載
9874
星標
4
全站下載量排名
#2,769
全站前 26% · 「知識管理」前 26%
平台累計下載星標評論
ClawHub ↗61893-
SkillHub ↗98744—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

把查詢送到配置好的 SearXNG JSON 介面,返回帶標題、連結與摘要的排序結果,可按分類、時間範圍、語言和條數過濾,並帶請求間隔限制與錯誤處理。需要把 SEARXNG_URL 指向可用例項,未設定時用預設地址。來源風險說明提示包內搜尋指令碼可能缺失,部署前要確認指令碼存在。

資料釋出於 2026-10-27

可以用來做什麼

  • 查最近一天的新聞與行業動態
  • 在文件站裡找某個介面的用法

什麼時候用

  • 問題超出模型知識範圍、需要外部結果時
  • 已有自建 SearXNG、想複用它檢索時

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

搜一下最近一週關於向量資料庫的新聞
幫我找非同步任務的官方文件頁面

月度資料趨勢

累計下載9874
424172661萬2026-03 · 累計下載 46582026-05 · 累計下載 54502026-06 · 累計下載 56172026-07 · 累計下載 58622026-08 · 累計下載 59812026-09 · 累計下載 65052026-10 · 累計下載 987426-0326-0926-10
星標4
3442026-03 · 星標 32026-05 · 星標 42026-06 · 星標 42026-07 · 星標 42026-08 · 星標 42026-09 · 星標 42026-10 · 星標 426-0326-0926-10

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-109874—4
2026-096505—4
2026-085981+2.0%4
2026-075862+4.4%4
2026-065617+3.1%4
2026-055450—4
2026-034658—3

SKILL.md 原文

以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。

3.6 KB · ClawHub v0.1.0
---
name: searxng-web-search
description: Search the web using SearXNG. Use when you need current information, research topics, find documentation, verify facts, or look up anything beyond your knowledge. Returns ranked results with titles, URLs, and content snippets.
metadata:
  openclaw:
    requires:
      bins: ["bb"]
      env: ["SEARXNG_URL"]
    emoji: "🔍"
    nix:
展開全部(共 144 行)
      plugin: "babashka"
---

# SearXNG Web Search

Search the web using a self-hosted SearXNG instance. This skill provides access to web search results through the SearXNG JSON API, with built-in rate limiting, error handling, and result formatting.

## When to Use

Use this skill when you need to:
- Find current information or recent news
- Research topics beyond your knowledge cutoff
- Look up documentation or technical references
- Verify facts or check current status
- Find URLs or resources on specific topics
- Search for code examples or solutions

## Configuration

Set the `SEARXNG_URL` environment variable to your SearXNG instance:

```bash
export SEARXNG_URL="http://localhost:8888"
```

Or use the default (http://localhost:8888) if not set.

## Usage

Execute the search script with your query:

```bash
bb scripts/search.clj "your search query"
```

### Advanced Options

Pass additional parameters as JSON:

```bash
bb scripts/search.clj "your query" '{"category": "news", "time_range": "day", "num_results": 10}'
```

Available options:
- `category` - Filter by category: general, news, images, videos, it, science
- `time_range` - Time filter: day, week, month, year
- `language` - Language code (default: en)
- `num_results` - Number of results to return (default: 5)

## Output Format

The script returns formatted search results as text:

```
Search Results for "your query"
Found 42 total results

1. Result Title [Score: 1.85]
   URL: https://example.com/page
   Description snippet from the page...
   Engines: google, bing

2. Another Result [Score: 1.62]
   ...
```

## Error Handling

The script handles common errors gracefully:
- Network timeouts (30s timeout)
- SearXNG unavailable (clear error message)
- Invalid queries (error details)
- Rate limiting (429 responses)
- Empty results (informative message)

## Rate Limiting

The script implements basic rate limiting:
- Minimum 1 second between requests
- Uses filesystem-based state (`.searxng-last-request`)
- Prevents accidental spam

## Examples

### Basic Search
```bash
bb scripts/search.clj "NixOS configuration"
```

### News Search
```bash
bb scripts/search.clj "AI developments" '{"category": "news", "time_range": "week"}'
```

### Technical Search
```bash
bb scripts/search.clj "babashka http client" '{"category": "it", "num_results": 3}'
```

### Recent Results Only
```bash
bb scripts/search.clj "product launch" '{"time_range": "day"}'
```

## Troubleshooting

**"SEARXNG_URL not set"**
- Set the environment variable: `export SEARXNG_URL="http://localhost:8888"`

**Connection timeout**
- Check that SearXNG is running: `curl $SEARXNG_URL/search?q=test&format=json`
- Verify firewall settings
- Check service status: `systemctl status searx`

**Empty results**
- Try a broader query
- Remove filters and try again
- Check SearXNG logs: `journalctl -u searx -n 50`

**Rate limit errors**
- Wait a few seconds between searches
- The script enforces minimum 1s delay automatically

## Implementation Notes

The search script (`scripts/search.clj`) uses:
- `babashka.http-client` for HTTP requests
- Clojure's `cheshire.core` for JSON parsing
- Filesystem-based rate limiting
- 30-second timeout with proper error messages
- Result scoring and sorting for best results first

For detailed API documentation, see `references/api-guide.md`.

「知識管理」分類下的熱門技能

搜尋引擎知識管理

透過公開搜尋URL在16個搜尋引擎(7個國內直連+9個國際)中做跨引擎檢索、結果去重與多源交叉驗證,無需API Key,內建零依賴Python指令碼。Use when 使用者要求“搜一下/查資料/多找幾個來源/核實訊息/找公眾號文章/排查報錯/找論文或開源專案”時。輸入自然語言查詢詞,輸出帶來源連結與可信度標註的結構化結果。不適用於私有資料檢索、批次抓取、需要登入後可見的內容。

↓ 1075.9萬★ 147u_8ee34d77
ima-skills知識管理

透過 IMA OpenAPI 管理筆記與知識庫內容。

↓ 108.4萬★ 566u_1742680f
Summarize知識管理

把長文字、文件與網頁內容壓縮成要點和關鍵詞的摘要工具。

↓ 87.6萬★ 1048paudyyin
全網搜尋知識管理

透過“查一下、搜一下、搜尋、找一下”等自然語言檢索公開網頁,整理來源並交付橫版 PDF、Markdown 與標題連結表。支援使用者主動開啟、檢視和取消技能收藏,保留原報告取回。

↓ 50.9萬★ 2u_32d99f8a
web-tools-guide知識管理

規定如何為網頁請求選擇合適工具的必讀指引。

↓ 40萬★ 220user_ec205dbb
Aihot Skill Lite知識管理

AI HOT(aihot.virxact.com)中文 AI 資訊查詢 Skill,幫助使用者獲取今日 AI 圈動態、AI 日報、AI 熱點、最新 AI 資訊以及 OpenAI、Anthropic、Google 等公司的最新發布資訊。

↓ 32.1萬★ 92Khazix
全球12億文獻知識庫(8千萬中文期刊可下載)知識管理

全球12億文獻知識庫(8千萬中文期刊可下載)——透過 SmartLib 開放平台 API 提供中外文學術文獻檢索與下載能力,覆蓋 8000 萬篇授權中文期刊全文 + 12.28 億條全球文獻後設資料(期刊 7.19 億 / 專利 2.15 億 / 會議 7155 萬 / 學位論文 2473 萬 / 標準 268 萬)。 能力:中英文關鍵詞檢索、文獻詳情、中文期刊 PDF 全文下載、外文 OA 文獻十級渠道免費下載(不消耗配額)、智慧關鍵詞擴充套件、核心期刊優先排序、相關性重排、引文追溯、分類號檢索。 配額:首次使用自動註冊,免費 100 次檢索 + 10 次下載 / 月;耗盡自動彈出方案(體驗卡 / 個人版月 / 專業版月 / 單篇下載 / 下載包),可說「升級 / 充值」喚起;企業 / 機構定製聯絡 [email protected]。 觸發:使用者表達"查論文""找文獻""檢索學術""搜期刊""查專利""找標準""下論文""寫文獻綜述""找參考文獻""查 SCI/EI"等意圖時啟用;也適用"幫我找關於 XX 的論文""寫文獻綜述""找幾篇引用支撐論點"。英文:"find papers" "search literature" "write literature review" "find supporting citations"。 呼叫前必須先用 /consume 獲取 consume_token,再憑 token 調 /search(每次計費介面呼叫都需一次 /consume)。

↓ 30.3萬★ 189user_164f4c1f
Markdown Converter知識管理

用 uvx 直接呼叫 markitdown,把各類檔案轉成 Markdown。

↓ 20.4萬★ 256Peter Steinberger

資料月份:2026-10 · 下載/星標數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。