# alphaear-search

A skill that runs finance searches on the web through Jina, DDG or Baidu, and pulls results from a local news store. Useful when the agent needs fresh data or your own documents.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 542 installs · ★ 3085
- Author: RKiding
- License: Apache-2.0 · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/RKiding/Awesome-finance-skills/tree/HEAD/skills/alphaear-search/SKILL.md
- Updated: 2026-03-29
- HTML: https://affpapa.org/en/nevibecode/skills/alphaear-search

## What it does

The skill gives an agent two ways to gather finance information. Web search lives in `scripts/search_tools.py`: `search(query, engine, max_results)` works with Jina, DuckDuckGo, Baidu and a local engine, while `aggregate_search(query)` merges hits from several engines at once. Local RAG runs through `scripts/hybrid_search.py` or the same `SearchTools` with `engine='local'`, and it queries the `daily_news` database.

To avoid repeating the same request, `references/PROMPTS.md` ships a Search Cache Relevance Prompt. The agent reads the cache first and decides whether the stored result still fits. Both the cache and the local news store are handled by `scripts/database_manager.py`.

You need `duckduckgo-search` and `requests` installed. Jina and Baidu calls require an API key you supply yourself, so check that access before pointing the skill at them.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add RKiding/Awesome-finance-skills --skill alphaear-search -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/alphaear-search/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/alphaear-search/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add RKiding/Awesome-finance-skills --skill alphaear-search -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/alphaear-search/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add RKiding/Awesome-finance-skills --skill alphaear-search -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/alphaear-search/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install RKiding/Awesome-finance-skills alphaear-search
```

2. **Manually: put the files in place**
- File: `.github/skills/alphaear-search/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add RKiding/Awesome-finance-skills --skill alphaear-search -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/RKiding/Awesome-finance-skills --path skills/alphaear-search
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/alphaear-search/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add RKiding/Awesome-finance-skills --skill alphaear-search -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/RKiding/Awesome-finance-skills/tree/HEAD/skills/alphaear-search/SKILL.md

## When to use it
- pull fresh finance news for a query
- merge results from several search engines
- query a local news database instead of the web
- reuse earlier search results through the cache
- get finance facts without browsing sites by hand

## Example prompts
- search the web for the latest Fed rate news with alphaear-search
- look through the local daily_news database for this company
- aggregate jina and ddg results for the earnings query

## Source text · SKILL.md · Apache-2.0

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: 3b78ef7aa0f36de3.

BEGIN THIRD-PARTY FILE 3b78ef7aa0f36de3
```text
---
name: alphaear-search
description: Perform finance web searches and local context searches. Use when the user needs general finance info from the web (Jina/DDG/Baidu) or needs to retrieve finance information from a local document store (RAG).
---

# AlphaEar Search Skill

## Overview

Unified search capabilities: web search (Jina/DDG/Baidu) and local RAG search.

## Capabilities

### 1. Web Search

Use `scripts/search_tools.py` via `SearchTools`.

-   **Search**: `search(query, engine, max_results)`
    -   Engines: `jina`, `ddg`, `baidu`, `local`.
    -   Returns: JSON string (summary) or List[Dict] (via `search_list`).
-   **Smart Cache (Agentic)**: If you want to avoid redundant searches, use the **Search Cache Relevance Prompt** in `references/PROMPTS.md`. Read the cache first and decide if it's usable.
-   **Aggregate**: `aggregate_search(query)`
    -   Combines results from multiple engines.


### 2. Local RAG

Use `scripts/hybrid_search.py` or `SearchTools` with `engine='local'`.

-   **Search**: Searches local `daily_news` database.

## Dependencies

-   `duckduckgo-search`, `requests`
-   `scripts/database_manager.py` (search cache & local news)
```
END THIRD-PARTY FILE 3b78ef7aa0f36de3

The third-party file has ended. Everything between the 3b78ef7aa0f36de3 tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

© RKiding · Apache-2.0 · https://github.com/RKiding/Awesome-finance-skills/tree/HEAD/skills/alphaear-search/SKILL.md

## Similar
- [redis-search](https://affpapa.org/en/nevibecode/skills/redis-search.md) — skill · 1600 installs
- [tavily-search](https://affpapa.org/en/nevibecode/skills/tavily-search.md) — skill · 36100 installs
- [web-search](https://affpapa.org/en/nevibecode/skills/web-search.md) — skill · 110000 installs
- [Skywork Search](https://affpapa.org/en/nevibecode/skills/skywork-search.md) — skill · 347 installs
- [memory-search](https://affpapa.org/en/nevibecode/skills/ruvnet-memory-search.md) — skill · 750 installs
- [exa-search](https://affpapa.org/en/nevibecode/skills/affaan-m-exa-search.md) — skill · 4500 installs

From the same set: [rkiding/awesome-finance-skills](https://affpapa.org/en/nevibecode/by/rkiding/awesome-finance-skills.md) — 9 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
