Skip to content
Back to skills

Alphaear Search

ASecurity

Perform web searches and local context searches. Use when the user needs general info from the web (Jina/DDG/Baidu) or needs to retrieve information from a local document store (RAG).

  • 666 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 2, 2026
ai-agentspythongosqldatabase

Security analysis

A100/100

Scanned September 2, 2026

npx -y skills add majiayu000/claude-skill-registry --skill alphaear-search --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Alphaear Search?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Alphaear Search
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-alphaear-search-claude-skill-registry/badge)](https://www.skillsdirectory.com/skills/majiayu000-alphaear-search-claude-skill-registry)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: alphaear-search
description: Perform web searches and local context searches. Use when the user needs general info from the web (Jina/DDG/Baidu) or needs to retrieve information from a local document store (RAG).
---

# AlphaEar Search Skill

## Overview

This skill provides unified search capabilities: web search (via DuckDuckGo, Jina, or Baidu) and local hybrid search (BM25 + Vector) for RAG applications.

## Capabilities

### 1. Web Search

Use `scripts/search_tools.py` to perform web searches.

**Key Methods:**

-   `search(query, engine, max_results)`: Execute a search.
    -   **Engines**: `jina`, `ddg`, `baidu`.
    -   **Returns**: Dictionary with `results` (JSON string) and metadata.
-   `aggregate_search(query)`: Search across multiple engines and aggregate results.

**Example Usage (Python):**

```python
from scripts.database_manager import DatabaseManager
from scripts.search_tools import SearchTools

db = DatabaseManager()
tools = SearchTools(db)

# Simple Search
results = tools.search("NVIDIA Earnings", engine="ddg")
print(results)
```

### 2. Local Hybrid Search (RAG)

Use `scripts/hybrid_search.py` for in-memory document retrieval.

**Key Features:**
-   Add documents.
-   Search with weighted keyword matching (simple algorithm).

**Example Usage (Python):**

```python
from scripts.hybrid_search import InMemoryRAG

rag = InMemoryRAG()
rag.add({"id": "doc1", "content": "Apple released Vision Pro.", "title": "Tech News"})
rag.add({"id": "doc2", "content": "Tesla cybertruck delivery.", "title": "Auto News"})

# Search
hits = rag.search("Vision Pro")
print(hits)
```

## Dependencies

-   `duckduckgo-search`
-   `requests`
-   `sqlite3` (built-in)

Ensure `DatabaseManager` is initialized correctly.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.