Sign in Get 3 free credits

Try a job or a niche: tiktok captions, study notes, excel formulas. Press Esc to close.

Redis Search and vector queries

Designs Redis Search indexes and fixes text, vector and hybrid queries, so search and RAG results come back right.

What we improved

Made SKILL.md work on its own. It now carries the working method that previously lived only in the reference files: a correct FT.CREATE example for Hash and JSON, a field type table with the TAG case and separator rules, a query syntax tabl

Improved by YourAISkill from the original by redis, under its MIT licence. The download includes the author's licence and a CHANGES.md listing every change. Both Claude reviews read the improved version.

Claude's review

8/10 Deep Redis Search guidance on schema, DIALECT 2 traps, vector and hybrid queries, aggregation token counts and debugging; minor reference inconsistency.

We asked Claude the question you would ask: would I be glad I installed this? Two separate reviews, the second blind to the first, must both rate a skill 7 or higher before we sell it.

In detail

Redis Search guidance covering FT.CREATE schema design, field type selection (TEXT, TAG, NUMERIC, GEO, GEOSHAPE, VECTOR, JSON path), DIALECT 2 query syntax, FT.SEARCH / FT.AGGREGATE / FT.HYBRID command selection, vector similarity with HNSW or FLAT, hybrid retrieval combining lexical and vector ranking, RAG pipelines, zero-downtime index updates via aliases, and debugging with FT.PROFILE and FT.EXPLAIN. Use when defining a search index on Hash or JSON documents, writing FT.SEARCH queries with filters, sorting, aggregation, or vector KNN, tuning HNSW parameters, building a RAG retrieval pipeline, or troubleshooting slow or empty search results.

How you use it

  1. Add it to your pack, then download your pack (1 credit).
  2. In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
  3. Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide

Safety check

Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.

An automated scan lowers risk but cannot promise zero risk. How we check skills

Preview

The first lines of SKILL.md
---
name: redis-search
description: "Redis Search (FT.* commands) guidance: FT.CREATE schema design for Hash and JSON documents, choosing TEXT, TAG, NUMERIC, GEO, GEOSHAPE or VECTOR fields, query syntax with DIALECT 2 gotchas and escaping, result shaping, KNN and range vector queries with PARAMS and binary FLOAT32 blobs, HNSW vs FLAT, FT.HYBRID lexical plus vector fusion (Redis 8.4+), FT.AGGREGATE pipelines and cursors, RAG retrieval, zero downtime reindexing with aliases, and debugging with FT.INFO, FT.EXPLAIN and FT.PROFILE, with redis-py, RedisVL and Jedis guides. Use when creating or changing a search index, writing or fixing FT.SEARCH, FT.AGGREGATE or FT.HYBRID queries, building vector or hybrid retrieval, or troubleshooting empty, wrong or slow search results."
license: MIT
metadata:
  author: Redis, Inc.
  version: "1.0.0"
---
<!-- Modified by YourAISkill (youraiskill.com) on 2 December 2026 from the original by redis. See CHANGES.md. -->

# Redis Search

Single source of guidance for Redis Search, the retrieval surface that spans lexical, numeric, geo, JSON-path and vector queries. Vector fields use the same `FT.CREATE` machinery as TEXT, TAG and NUMERIC fields, and `FT.HYBRID` blends lexical and vector ranking in one command, so this skill covers them together. This file holds the working method; `references/` adds depth and client code.

## When to apply

- Creating, modifying or reviewing an index (`FT.CREATE`, `FT.ALTER`).
- Writing or optimizing `FT.SEARCH`, `FT.AGGREGATE` or `FT.HYBRID` queries.
- Choosing between `TEXT`, `TAG`, `NUMERIC`, `GEO`, `GEOSHAPE`, `VECTOR` or JSON-path fields.
- Defining a `VECTOR` field, choosing HNSW or FLAT, tuning HNSW.
- Building a retrieval-augmented generation (RAG) pipeline.
- Rolling out a new schema without downtime.
- Troubleshooting empty results, slow queries or tokenization surprises.

## 0. Check the server first

Confirm, don't assume: `INFO server` shows `redis_version`; `COMMAND INFO FT.HYBRID` returns nil if the command is missing. Versions per the redis.io command pages:

| Feature | Needs |
|---|---|
| Search built in (no module) | Redis 8.0; earlier needs the RediSearch module or Redis Stack |
| `FT.HYBRID` | 8.4.0 |
| `SVS-VAMANA` index / `INT8`, `UINT8` vectors | 8.2 / 8.0 |
| `FLOAT16`, `BFLOAT16`, `INDEXEMPTY`, `INDEXMISSING`, `@price>=10`, quoted tag values | search 2.10+ |
| `GEOSHAPE` field | 7.2 |

Default dialect: `FT.CONFIG GET DEFAULT_DIALECT` (Redis 8 also has `CONFIG GET search-default-dialect`). Per the redis.io dialects page, dialects 1, 3 and 4 are deprecated in Redis 8 but **DIALECT 1 is still the server default**.

## 1. Pick the right command

...

From redis's repository, MIT licence.

Related skills

  • Checked

    Safe Postgres migrations

    Plans Postgres schema changes with the right locks and backfills, so migrations run without downtime.

    by timescale 1.9k
    9/101 credit
  • Checked

    Reversible database migrations

    Writes safe, reversible migrations for Postgres, Prisma, Django and others, so tables change without downtime.

    by affaan-m 314k
    8/101 credit
  • Checked

    MySQL and MariaDB tuning

    Guides MySQL and MariaDB schema, indexes, EXPLAIN plans and replication, so your database runs smoothly.

    by ericrisco 691
    7/101 credit
  • Checked

    Prisma schema and queries

    Writes Prisma schemas, queries and migrations to current Prisma 7 rules, so your code avoids old habits.

    by ericrisco 691
    7/101 credit
  • Checked

    BigQuery migration checks

    Validates that tables moved to BigQuery match their source on schema, aggregates and rows, so nothing is lost.

    by google 25k
    7/101 credit
  • Checked

    Query driven schema design

    Designs tables, keys and indexes from your real query patterns, so your data model stays fast as it grows.

    by OneWave-AI 454
    7/101 credit

Secure checkout

Credits

AUD

  1. 1Choose
  2. 2Pay on Square
  3. 3Credits added