Skip to content
Back to skills

2511 Hybrid Search Ffd4b768

ASecurity

Combines vector similarity and keyword (BM25) matching for balanced search results on a single collection.

  • 9 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added October 11, 2026
toolsbash

Works with

  • cli

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 2511-hybrid_search_ffd4b768 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 2511 Hybrid Search Ffd4b768?

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

Security grade badge for 2511 Hybrid Search Ffd4b768
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-2511-hybrid-search-ffd4b768/badge)](https://www.skillsdirectory.com/skills/tools-only-2511-hybrid-search-ffd4b768)

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

SKILL.md
# Hybrid Search

Combines vector similarity and keyword (BM25) matching for balanced search results on a single collection.

## Usage

```bash
uv run scripts/hybrid_search.py --query "USER_QUERY" --collection "CollectionName" [--alpha 0.7] [--limit 10] [--properties "prop1,prop2"] [--target-vector "vector_name"] [--json]
```

## Parameters

| Parameter | Flag | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| `--query` | `-q` | Yes | — | Search query text |
| `--collection` | `-c` | Yes | — | Collection name |
| `--alpha` | `-a` | No | `0.7` | Balance between vector (1.0) and keyword (0.0) |
| `--limit` | `-l` | No | `10` | Maximum number of results |
| `--properties` | `-p` | No | all | Comma-separated properties to search |
| `--target-vector` | `-t` | No | — | Target vector name for named vector collections |
| `--json` | — | No | `false` | Output in JSON format |

## Output

- **Default**: Markdown table with object properties and score
- **JSON**: Array of objects with properties and search metadata

## Examples

Basic hybrid search:

```bash
uv run scripts/hybrid_search.py --query "climate change effects" --collection "Articles"
```

Keyword-heavy search (lower alpha):

```bash
uv run scripts/hybrid_search.py --query "product SKU-1234" --collection "Products" --alpha 0.3
```

Search specific properties with named vector:

```bash
uv run scripts/hybrid_search.py --query "renewable energy" --collection "Papers" --properties "title,abstract" --target-vector "title_vector"
```

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.