Back to skills
SKILL.md
2513 Semantic Search 3e5098c0
ASecurityPure vector similarity search using embeddings on a single collection.
- 9 stars
- 0 votes
- 0 copies
- 0 views
- Added October 11, 2026
Security analysis
100/100npx -y skills add tools-only/X-Skills --skill 2513-semantic_search_3e5098c0 --agent claude-codeAre you the author of 2513 Semantic Search 3e5098c0?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/tools-only-2513-semantic-search-3e5098c0)# Semantic Search
Pure vector similarity search using embeddings on a single collection.
## Usage
```bash
uv run scripts/semantic_search.py --query "USER_QUERY" --collection "CollectionName" [--limit 10] [--distance 0.5] [--target-vector "vector_name"] [--json]
```
## Parameters
| Parameter | Flag | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| `--query` | `-q` | Yes | — | Search query text |
| `--collection` | `-c` | Yes | — | Collection name |
| `--limit` | `-l` | No | `10` | Maximum number of results |
| `--distance` | `-d` | No | — | Maximum distance threshold (filters out less similar results) |
| `--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 distance scores
- **JSON**: Array of objects with properties and distance metadata
## Examples
Basic semantic search:
```bash
uv run scripts/semantic_search.py --query "environmental impact of urbanization" --collection "Research"
```
With distance threshold:
```bash
uv run scripts/semantic_search.py --query "machine learning" --collection "Papers" --distance 0.3 --limit 5
```
With named vector:
```bash
uv run scripts/semantic_search.py --query "abstract art" --collection "Artworks" --target-vector "description_vector"
```
Attribution
Comments
Loading comments…