Skip to content
Back to skills

Search Retrieval

ASecurity

"Use and troubleshoot Khoj semantic search, query filters,

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 8, 2026
devopsdockerapibackendperformance

Works with

  • api

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill search-retrieval --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Search Retrieval?

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

Security grade badge for Search Retrieval
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-search-retrieval-0f9f2e66/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-search-retrieval-0f9f2e66)

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: search-retrieval
description: "Use and troubleshoot Khoj semantic search, query filters,
  embeddings, reranking, and SearchResponse interpretation."
disable-model-invocation: true
metadata:
  disco-role: operating
license: AGPL 3.0
---

# Khoj Search Retrieval

Use this sub-skill when working on Khoj semantic search, `/api/search`, query filters, retrieval ranking, or search-result interpretation.

## Route Map

- Use `references/search-api.md` for `/api/search` parameters, `SearchType` values, result collation, dedupe, reranking, and `SearchResponse` fields.
- Use `references/query-filters.md` for date, file, and word filter syntax; examples; defiltering; and edge cases.
- Use `references/embeddings-and-ranking.md` for embedding models, cross-encoder reranking, `max_distance`, defaults, and performance tradeoffs.
- Use `references/troubleshooting.md` for no results, excessive results, bad filters, stale indexes, model/backend failures, user/agent isolation, and reranker failures.
- Use `scripts/inspect_query_filters.py` to safely inspect filter terms and defiltered query text without starting the Khoj server.

## Boundaries

- This sub-skill covers semantic search, `/api/search`, filters, embeddings, reranking, and `SearchResponse` interpretation.
- Route content ingestion, sync, update/index rebuild implementation, and file parsing to `content-indexing`.
- Route chat, `/notes`, conversation context construction, and agent response behavior to `chat-agents`.
- Route server startup, auth, deployment, Docker, and API infrastructure setup to `deployment-api`.
- Route maintainer test selection, development setup, and release scripts to `development`.

## Evidence Basis

This guidance is distilled from Khoj source and tests for search routing, text retrieval, filters, embeddings, API response models, and documented search/filter/performance behavior. It is self-contained for future coding agents and does not require reading original repo docs or tests at runtime.

Files in this skill

  • SKILL.md2 KB
  • references/embeddings-and-ranking.md3.7 KB
  • references/query-filters.md4 KB
  • references/search-api.md4 KB
  • references/troubleshooting.md4.9 KB
  • scripts/inspect_query_filters.py4.3 KB

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.