[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-redis-query-tuning":3,"mdc--qhwulc-key":40,"related-org-redis-query-tuning":725,"related-repo-redis-query-tuning":914},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":26,"repoUrl":27,"updatedAt":28,"license":29,"forks":30,"topics":31,"repo":35,"sourceUrl":38,"mdContent":39},"query-tuning","optimize RediSearch queries","Analyze and optimize RediSearch queries using FT.EXPLAIN and FT.PROFILE",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"redis","Redis","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fredis.png",[12,16,19,22,23],{"name":13,"slug":14,"type":15},"Performance","performance","tag",{"name":17,"slug":18,"type":15},"Database","database",{"name":20,"slug":21,"type":15},"Search","search",{"name":9,"slug":8,"type":15},{"name":24,"slug":25,"type":15},"Debugging","debugging",15,"https:\u002F\u002Fgithub.com\u002Fredis\u002Fredisctl","2026-05-28T07:09:49.777677",null,0,[32,8,33,34],"cli","redis-cloud","redis-enterprise",{"repoUrl":27,"stars":26,"forks":30,"topics":36,"description":37},[32,8,33,34],"Unified CLI for Redis Cloud and Enterprise management","https:\u002F\u002Fgithub.com\u002Fredis\u002Fredisctl\u002Ftree\u002FHEAD\u002Fcrates\u002Fredisctl-mcp\u002Fskills\u002Fquery-tuning","---\nname: query-tuning\ndescription: Analyze and optimize RediSearch queries using FT.EXPLAIN and FT.PROFILE\n---\n\nYou are a Redis search query tuning expert. Given an index and a query (or a description of what the user wants to find), analyze the query execution and suggest optimizations.\n\n## Workflow\n\n### Step 1: Understand the index\n\nUse `redis_ft_info` to get the index schema, document count, and field definitions. Note:\n- Which fields are TEXT vs TAG vs NUMERIC\n- Which fields are SORTABLE\n- The total document count and index size\n\n### Step 2: Analyze the current query\n\nUse `redis_ft_explain` to get the query execution plan. This shows:\n- How the query is parsed and interpreted\n- Which index intersections are planned\n- The order of filter evaluation\n\nUse `redis_ft_profile` with command `SEARCH` to get timing data. Note:\n- Total query time\n- Time spent in each phase (parsing, index lookup, scoring, sorting)\n- Number of results scanned vs returned\n\n### Step 3: Run the query\n\nExecute the query with `redis_ft_search` using `withscores: true` to see relevance scores. Check:\n- Are the right documents returned?\n- Are scores reasonable? (higher = better match)\n- Is the result count what the user expects?\n\n### Step 4: Identify issues and suggest optimizations\n\nCommon issues and fixes:\n\n**Slow TAG lookups on high-cardinality fields:**\n- If a TAG field has thousands of distinct values, consider switching to TEXT with exact matching\n- Or restructure the data to reduce cardinality\n\n**Missing SORTBY index:**\n- If sorting is slow, check if the SORTBY field has `SORTABLE` enabled\n- `redis_ft_alter` can only add NEW fields with SORTABLE — it cannot modify existing fields\n- To make an existing field SORTABLE, the index must be dropped (`redis_ft_dropindex`) and recreated (`redis_ft_create`) with the field marked SORTABLE\n\n**Inefficient filter ordering:**\n- RediSearch evaluates filters left-to-right in the query\n- Put the most selective filter first (the one that eliminates the most documents)\n- Example: `@category:{electronics} @price:[0 50]` is better than `@price:[0 50] @category:{electronics}` if category has fewer matches\n\n**Full-text search too broad:**\n- Use field-specific queries (`@name:wireless`) instead of global search (`wireless`)\n- Add VERBATIM to prevent stemming if exact matches are needed\n- Use phrase queries with quotes for multi-word exact matches\n\n**Missing LIMIT:**\n- Always paginate with LIMIT for large result sets\n- Default is 10 results; set explicitly for predictable behavior\n\n**Unnecessary RETURN fields:**\n- Use `return_fields` to fetch only needed fields, reducing response size\n\n### Step 5: Compare before and after\n\nIf you suggested changes:\n1. Run the optimized query with `redis_ft_search`\n2. Profile both versions with `redis_ft_profile`\n3. Present a comparison:\n\n| Metric | Before | After | Improvement |\n|--------|--------|-------|-------------|\n| Query time | | | |\n| Results scanned | | | |\n| Result quality | | | |\n\n### Step 6: Suggest index changes (if needed)\n\nIf query optimization alone is insufficient, suggest index schema changes:\n- Adding fields with `redis_ft_alter`\n- Changing field types (requires index rebuild with `redis_ft_dropindex` + `redis_ft_create`)\n- Adding SORTABLE to fields used in ORDER BY\n- Adjusting TEXT weights for better relevance ranking\n\n## Query Syntax Reference\n\nRemind the user of useful query patterns:\n- `@field:term` -- field-specific search\n- `@field:{tag1|tag2}` -- multi-value TAG match\n- `@field:[min max]` -- numeric range (use `-inf`\u002F`+inf` for unbounded)\n- `-@field:{value}` -- negation\n- `@field:prefix*` -- prefix matching\n- `\"exact phrase\"` -- phrase matching\n- `(@field1:a | @field2:b)` -- boolean OR\n",{"data":41,"body":42},{"name":4,"description":6},{"type":43,"children":44},"root",[45,53,60,67,81,101,107,119,137,157,175,181,202,220,226,231,240,253,261,309,317,351,359,393,401,414,422,437,443,448,477,566,572,577,618,624,629],{"type":46,"tag":47,"props":48,"children":49},"element","p",{},[50],{"type":51,"value":52},"text","You are a Redis search query tuning expert. Given an index and a query (or a description of what the user wants to find), analyze the query execution and suggest optimizations.",{"type":46,"tag":54,"props":55,"children":57},"h2",{"id":56},"workflow",[58],{"type":51,"value":59},"Workflow",{"type":46,"tag":61,"props":62,"children":64},"h3",{"id":63},"step-1-understand-the-index",[65],{"type":51,"value":66},"Step 1: Understand the index",{"type":46,"tag":47,"props":68,"children":69},{},[70,72,79],{"type":51,"value":71},"Use ",{"type":46,"tag":73,"props":74,"children":76},"code",{"className":75},[],[77],{"type":51,"value":78},"redis_ft_info",{"type":51,"value":80}," to get the index schema, document count, and field definitions. Note:",{"type":46,"tag":82,"props":83,"children":84},"ul",{},[85,91,96],{"type":46,"tag":86,"props":87,"children":88},"li",{},[89],{"type":51,"value":90},"Which fields are TEXT vs TAG vs NUMERIC",{"type":46,"tag":86,"props":92,"children":93},{},[94],{"type":51,"value":95},"Which fields are SORTABLE",{"type":46,"tag":86,"props":97,"children":98},{},[99],{"type":51,"value":100},"The total document count and index size",{"type":46,"tag":61,"props":102,"children":104},{"id":103},"step-2-analyze-the-current-query",[105],{"type":51,"value":106},"Step 2: Analyze the current query",{"type":46,"tag":47,"props":108,"children":109},{},[110,111,117],{"type":51,"value":71},{"type":46,"tag":73,"props":112,"children":114},{"className":113},[],[115],{"type":51,"value":116},"redis_ft_explain",{"type":51,"value":118}," to get the query execution plan. This shows:",{"type":46,"tag":82,"props":120,"children":121},{},[122,127,132],{"type":46,"tag":86,"props":123,"children":124},{},[125],{"type":51,"value":126},"How the query is parsed and interpreted",{"type":46,"tag":86,"props":128,"children":129},{},[130],{"type":51,"value":131},"Which index intersections are planned",{"type":46,"tag":86,"props":133,"children":134},{},[135],{"type":51,"value":136},"The order of filter evaluation",{"type":46,"tag":47,"props":138,"children":139},{},[140,141,147,149,155],{"type":51,"value":71},{"type":46,"tag":73,"props":142,"children":144},{"className":143},[],[145],{"type":51,"value":146},"redis_ft_profile",{"type":51,"value":148}," with command ",{"type":46,"tag":73,"props":150,"children":152},{"className":151},[],[153],{"type":51,"value":154},"SEARCH",{"type":51,"value":156}," to get timing data. Note:",{"type":46,"tag":82,"props":158,"children":159},{},[160,165,170],{"type":46,"tag":86,"props":161,"children":162},{},[163],{"type":51,"value":164},"Total query time",{"type":46,"tag":86,"props":166,"children":167},{},[168],{"type":51,"value":169},"Time spent in each phase (parsing, index lookup, scoring, sorting)",{"type":46,"tag":86,"props":171,"children":172},{},[173],{"type":51,"value":174},"Number of results scanned vs returned",{"type":46,"tag":61,"props":176,"children":178},{"id":177},"step-3-run-the-query",[179],{"type":51,"value":180},"Step 3: Run the query",{"type":46,"tag":47,"props":182,"children":183},{},[184,186,192,194,200],{"type":51,"value":185},"Execute the query with ",{"type":46,"tag":73,"props":187,"children":189},{"className":188},[],[190],{"type":51,"value":191},"redis_ft_search",{"type":51,"value":193}," using ",{"type":46,"tag":73,"props":195,"children":197},{"className":196},[],[198],{"type":51,"value":199},"withscores: true",{"type":51,"value":201}," to see relevance scores. Check:",{"type":46,"tag":82,"props":203,"children":204},{},[205,210,215],{"type":46,"tag":86,"props":206,"children":207},{},[208],{"type":51,"value":209},"Are the right documents returned?",{"type":46,"tag":86,"props":211,"children":212},{},[213],{"type":51,"value":214},"Are scores reasonable? (higher = better match)",{"type":46,"tag":86,"props":216,"children":217},{},[218],{"type":51,"value":219},"Is the result count what the user expects?",{"type":46,"tag":61,"props":221,"children":223},{"id":222},"step-4-identify-issues-and-suggest-optimizations",[224],{"type":51,"value":225},"Step 4: Identify issues and suggest optimizations",{"type":46,"tag":47,"props":227,"children":228},{},[229],{"type":51,"value":230},"Common issues and fixes:",{"type":46,"tag":47,"props":232,"children":233},{},[234],{"type":46,"tag":235,"props":236,"children":237},"strong",{},[238],{"type":51,"value":239},"Slow TAG lookups on high-cardinality fields:",{"type":46,"tag":82,"props":241,"children":242},{},[243,248],{"type":46,"tag":86,"props":244,"children":245},{},[246],{"type":51,"value":247},"If a TAG field has thousands of distinct values, consider switching to TEXT with exact matching",{"type":46,"tag":86,"props":249,"children":250},{},[251],{"type":51,"value":252},"Or restructure the data to reduce cardinality",{"type":46,"tag":47,"props":254,"children":255},{},[256],{"type":46,"tag":235,"props":257,"children":258},{},[259],{"type":51,"value":260},"Missing SORTBY index:",{"type":46,"tag":82,"props":262,"children":263},{},[264,277,288],{"type":46,"tag":86,"props":265,"children":266},{},[267,269,275],{"type":51,"value":268},"If sorting is slow, check if the SORTBY field has ",{"type":46,"tag":73,"props":270,"children":272},{"className":271},[],[273],{"type":51,"value":274},"SORTABLE",{"type":51,"value":276}," enabled",{"type":46,"tag":86,"props":278,"children":279},{},[280,286],{"type":46,"tag":73,"props":281,"children":283},{"className":282},[],[284],{"type":51,"value":285},"redis_ft_alter",{"type":51,"value":287}," can only add NEW fields with SORTABLE — it cannot modify existing fields",{"type":46,"tag":86,"props":289,"children":290},{},[291,293,299,301,307],{"type":51,"value":292},"To make an existing field SORTABLE, the index must be dropped (",{"type":46,"tag":73,"props":294,"children":296},{"className":295},[],[297],{"type":51,"value":298},"redis_ft_dropindex",{"type":51,"value":300},") and recreated (",{"type":46,"tag":73,"props":302,"children":304},{"className":303},[],[305],{"type":51,"value":306},"redis_ft_create",{"type":51,"value":308},") with the field marked SORTABLE",{"type":46,"tag":47,"props":310,"children":311},{},[312],{"type":46,"tag":235,"props":313,"children":314},{},[315],{"type":51,"value":316},"Inefficient filter ordering:",{"type":46,"tag":82,"props":318,"children":319},{},[320,325,330],{"type":46,"tag":86,"props":321,"children":322},{},[323],{"type":51,"value":324},"RediSearch evaluates filters left-to-right in the query",{"type":46,"tag":86,"props":326,"children":327},{},[328],{"type":51,"value":329},"Put the most selective filter first (the one that eliminates the most documents)",{"type":46,"tag":86,"props":331,"children":332},{},[333,335,341,343,349],{"type":51,"value":334},"Example: ",{"type":46,"tag":73,"props":336,"children":338},{"className":337},[],[339],{"type":51,"value":340},"@category:{electronics} @price:[0 50]",{"type":51,"value":342}," is better than ",{"type":46,"tag":73,"props":344,"children":346},{"className":345},[],[347],{"type":51,"value":348},"@price:[0 50] @category:{electronics}",{"type":51,"value":350}," if category has fewer matches",{"type":46,"tag":47,"props":352,"children":353},{},[354],{"type":46,"tag":235,"props":355,"children":356},{},[357],{"type":51,"value":358},"Full-text search too broad:",{"type":46,"tag":82,"props":360,"children":361},{},[362,383,388],{"type":46,"tag":86,"props":363,"children":364},{},[365,367,373,375,381],{"type":51,"value":366},"Use field-specific queries (",{"type":46,"tag":73,"props":368,"children":370},{"className":369},[],[371],{"type":51,"value":372},"@name:wireless",{"type":51,"value":374},") instead of global search (",{"type":46,"tag":73,"props":376,"children":378},{"className":377},[],[379],{"type":51,"value":380},"wireless",{"type":51,"value":382},")",{"type":46,"tag":86,"props":384,"children":385},{},[386],{"type":51,"value":387},"Add VERBATIM to prevent stemming if exact matches are needed",{"type":46,"tag":86,"props":389,"children":390},{},[391],{"type":51,"value":392},"Use phrase queries with quotes for multi-word exact matches",{"type":46,"tag":47,"props":394,"children":395},{},[396],{"type":46,"tag":235,"props":397,"children":398},{},[399],{"type":51,"value":400},"Missing LIMIT:",{"type":46,"tag":82,"props":402,"children":403},{},[404,409],{"type":46,"tag":86,"props":405,"children":406},{},[407],{"type":51,"value":408},"Always paginate with LIMIT for large result sets",{"type":46,"tag":86,"props":410,"children":411},{},[412],{"type":51,"value":413},"Default is 10 results; set explicitly for predictable behavior",{"type":46,"tag":47,"props":415,"children":416},{},[417],{"type":46,"tag":235,"props":418,"children":419},{},[420],{"type":51,"value":421},"Unnecessary RETURN fields:",{"type":46,"tag":82,"props":423,"children":424},{},[425],{"type":46,"tag":86,"props":426,"children":427},{},[428,429,435],{"type":51,"value":71},{"type":46,"tag":73,"props":430,"children":432},{"className":431},[],[433],{"type":51,"value":434},"return_fields",{"type":51,"value":436}," to fetch only needed fields, reducing response size",{"type":46,"tag":61,"props":438,"children":440},{"id":439},"step-5-compare-before-and-after",[441],{"type":51,"value":442},"Step 5: Compare before and after",{"type":46,"tag":47,"props":444,"children":445},{},[446],{"type":51,"value":447},"If you suggested changes:",{"type":46,"tag":449,"props":450,"children":451},"ol",{},[452,462,472],{"type":46,"tag":86,"props":453,"children":454},{},[455,457],{"type":51,"value":456},"Run the optimized query with ",{"type":46,"tag":73,"props":458,"children":460},{"className":459},[],[461],{"type":51,"value":191},{"type":46,"tag":86,"props":463,"children":464},{},[465,467],{"type":51,"value":466},"Profile both versions with ",{"type":46,"tag":73,"props":468,"children":470},{"className":469},[],[471],{"type":51,"value":146},{"type":46,"tag":86,"props":473,"children":474},{},[475],{"type":51,"value":476},"Present a comparison:",{"type":46,"tag":478,"props":479,"children":480},"table",{},[481,510],{"type":46,"tag":482,"props":483,"children":484},"thead",{},[485],{"type":46,"tag":486,"props":487,"children":488},"tr",{},[489,495,500,505],{"type":46,"tag":490,"props":491,"children":492},"th",{},[493],{"type":51,"value":494},"Metric",{"type":46,"tag":490,"props":496,"children":497},{},[498],{"type":51,"value":499},"Before",{"type":46,"tag":490,"props":501,"children":502},{},[503],{"type":51,"value":504},"After",{"type":46,"tag":490,"props":506,"children":507},{},[508],{"type":51,"value":509},"Improvement",{"type":46,"tag":511,"props":512,"children":513},"tbody",{},[514,532,549],{"type":46,"tag":486,"props":515,"children":516},{},[517,523,526,529],{"type":46,"tag":518,"props":519,"children":520},"td",{},[521],{"type":51,"value":522},"Query time",{"type":46,"tag":518,"props":524,"children":525},{},[],{"type":46,"tag":518,"props":527,"children":528},{},[],{"type":46,"tag":518,"props":530,"children":531},{},[],{"type":46,"tag":486,"props":533,"children":534},{},[535,540,543,546],{"type":46,"tag":518,"props":536,"children":537},{},[538],{"type":51,"value":539},"Results scanned",{"type":46,"tag":518,"props":541,"children":542},{},[],{"type":46,"tag":518,"props":544,"children":545},{},[],{"type":46,"tag":518,"props":547,"children":548},{},[],{"type":46,"tag":486,"props":550,"children":551},{},[552,557,560,563],{"type":46,"tag":518,"props":553,"children":554},{},[555],{"type":51,"value":556},"Result quality",{"type":46,"tag":518,"props":558,"children":559},{},[],{"type":46,"tag":518,"props":561,"children":562},{},[],{"type":46,"tag":518,"props":564,"children":565},{},[],{"type":46,"tag":61,"props":567,"children":569},{"id":568},"step-6-suggest-index-changes-if-needed",[570],{"type":51,"value":571},"Step 6: Suggest index changes (if needed)",{"type":46,"tag":47,"props":573,"children":574},{},[575],{"type":51,"value":576},"If query optimization alone is insufficient, suggest index schema changes:",{"type":46,"tag":82,"props":578,"children":579},{},[580,590,608,613],{"type":46,"tag":86,"props":581,"children":582},{},[583,585],{"type":51,"value":584},"Adding fields with ",{"type":46,"tag":73,"props":586,"children":588},{"className":587},[],[589],{"type":51,"value":285},{"type":46,"tag":86,"props":591,"children":592},{},[593,595,600,602,607],{"type":51,"value":594},"Changing field types (requires index rebuild with ",{"type":46,"tag":73,"props":596,"children":598},{"className":597},[],[599],{"type":51,"value":298},{"type":51,"value":601}," + ",{"type":46,"tag":73,"props":603,"children":605},{"className":604},[],[606],{"type":51,"value":306},{"type":51,"value":382},{"type":46,"tag":86,"props":609,"children":610},{},[611],{"type":51,"value":612},"Adding SORTABLE to fields used in ORDER BY",{"type":46,"tag":86,"props":614,"children":615},{},[616],{"type":51,"value":617},"Adjusting TEXT weights for better relevance ranking",{"type":46,"tag":54,"props":619,"children":621},{"id":620},"query-syntax-reference",[622],{"type":51,"value":623},"Query Syntax Reference",{"type":46,"tag":47,"props":625,"children":626},{},[627],{"type":51,"value":628},"Remind the user of useful query patterns:",{"type":46,"tag":82,"props":630,"children":631},{},[632,643,654,681,692,703,714],{"type":46,"tag":86,"props":633,"children":634},{},[635,641],{"type":46,"tag":73,"props":636,"children":638},{"className":637},[],[639],{"type":51,"value":640},"@field:term",{"type":51,"value":642}," -- field-specific search",{"type":46,"tag":86,"props":644,"children":645},{},[646,652],{"type":46,"tag":73,"props":647,"children":649},{"className":648},[],[650],{"type":51,"value":651},"@field:{tag1|tag2}",{"type":51,"value":653}," -- multi-value TAG match",{"type":46,"tag":86,"props":655,"children":656},{},[657,663,665,671,673,679],{"type":46,"tag":73,"props":658,"children":660},{"className":659},[],[661],{"type":51,"value":662},"@field:[min max]",{"type":51,"value":664}," -- numeric range (use ",{"type":46,"tag":73,"props":666,"children":668},{"className":667},[],[669],{"type":51,"value":670},"-inf",{"type":51,"value":672},"\u002F",{"type":46,"tag":73,"props":674,"children":676},{"className":675},[],[677],{"type":51,"value":678},"+inf",{"type":51,"value":680}," for unbounded)",{"type":46,"tag":86,"props":682,"children":683},{},[684,690],{"type":46,"tag":73,"props":685,"children":687},{"className":686},[],[688],{"type":51,"value":689},"-@field:{value}",{"type":51,"value":691}," -- negation",{"type":46,"tag":86,"props":693,"children":694},{},[695,701],{"type":46,"tag":73,"props":696,"children":698},{"className":697},[],[699],{"type":51,"value":700},"@field:prefix*",{"type":51,"value":702}," -- prefix matching",{"type":46,"tag":86,"props":704,"children":705},{},[706,712],{"type":46,"tag":73,"props":707,"children":709},{"className":708},[],[710],{"type":51,"value":711},"\"exact phrase\"",{"type":51,"value":713}," -- phrase matching",{"type":46,"tag":86,"props":715,"children":716},{},[717,723],{"type":46,"tag":73,"props":718,"children":720},{"className":719},[],[721],{"type":51,"value":722},"(@field1:a | @field2:b)",{"type":51,"value":724}," -- boolean OR",{"items":726,"total":913},[727,749,765,778,791,807,821,841,855,870,885,900],{"slug":728,"name":728,"fn":729,"description":730,"org":731,"tags":732,"stars":746,"repoUrl":747,"updatedAt":748},"iris-development","integrate with Redis Iris AI products","Iris is Redis's umbrella for AI-focused products. Use this skill when integrating with the Iris Redis Agent Memory (RAM) data plane on Redis Cloud — recording session events for an AI agent, creating or searching long-term memories, configuring a memory store, or tuning background memory promotion. Code examples use the official `redis-agent-memory` (Python) and `@redis-iris\u002Fagent-memory` (TypeScript) SDKs.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[733,736,739,742,745],{"name":734,"slug":735,"type":15},"Agents","agents",{"name":737,"slug":738,"type":15},"AI Infrastructure","ai-infrastructure",{"name":740,"slug":741,"type":15},"Backend","backend",{"name":743,"slug":744,"type":15},"Memory","memory",{"name":9,"slug":8,"type":15},92,"https:\u002F\u002Fgithub.com\u002Fredis\u002Fagent-skills","2026-05-27T07:19:45.213725",{"slug":750,"name":750,"fn":751,"description":752,"org":753,"tags":754,"stars":746,"repoUrl":747,"updatedAt":764},"redis-clustering","configure Redis clustering and replication","Redis Cluster and replication guidance covering hash tags for multi-key operations, avoiding CROSSSLOT errors, and reading from replicas to scale read-heavy workloads. Use when designing keys for a sharded Redis Cluster, debugging CROSSSLOT errors on MGET \u002F SDIFF \u002F pipelines, configuring a multi-key transaction in a cluster, or routing reads to replicas for caches, analytics, or dashboards.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[755,758,759,762,763],{"name":756,"slug":757,"type":15},"Architecture","architecture",{"name":17,"slug":18,"type":15},{"name":760,"slug":761,"type":15},"Infrastructure","infrastructure",{"name":13,"slug":14,"type":15},{"name":9,"slug":8,"type":15},"2026-05-27T07:19:38.757599",{"slug":766,"name":766,"fn":767,"description":768,"org":769,"tags":770,"stars":746,"repoUrl":747,"updatedAt":777},"redis-connections","optimize Redis client connections","Redis client and connection guidance covering connection pooling, multiplexing, pipelining, client-side caching with RESP3, avoiding slow commands (KEYS, SMEMBERS, HGETALL), and tuning socket timeouts. Use when configuring a Redis client (redis-py, Jedis, Lettuce, NRedisStack), batching commands for throughput, eliminating per-request connection creation, iterating large keyspaces with SCAN, enabling client-side caching for read-heavy workloads, or setting connect and read timeouts.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[771,772,775,776],{"name":740,"slug":741,"type":15},{"name":773,"slug":774,"type":15},"Caching","caching",{"name":13,"slug":14,"type":15},{"name":9,"slug":8,"type":15},"2026-05-27T07:19:42.616757",{"slug":779,"name":779,"fn":780,"description":781,"org":782,"tags":783,"stars":746,"repoUrl":747,"updatedAt":790},"redis-core","model data with Redis structures","Core Redis modeling guidance — choose the right data structure (String, Hash, List, Set, Sorted Set, JSON, Stream, Vector Set) and use consistent colon-separated key names. Use when designing a Redis data model, caching objects, deciding between Hash and JSON, building counters, leaderboards, membership sets, or session stores, or when reviewing\u002Fcleaning up Redis key naming.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[784,785,788,789],{"name":756,"slug":757,"type":15},{"name":786,"slug":787,"type":15},"Data Modeling","data-modeling",{"name":17,"slug":18,"type":15},{"name":9,"slug":8,"type":15},"2026-05-27T07:19:41.317954",{"slug":792,"name":792,"fn":793,"description":794,"org":795,"tags":796,"stars":746,"repoUrl":747,"updatedAt":806},"redis-observability","monitor and triage Redis performance","Redis observability guidance — which metrics to monitor (memory, connections, hit ratio, ops\u002Fsec, rejected connections), which built-in commands to reach for during incident triage (SLOWLOG, INFO, MEMORY DOCTOR, CLIENT LIST, FT.PROFILE), and when to use the Redis Insight GUI. Use when setting up monitoring or alerts for a Redis instance, diagnosing a performance regression, profiling a slow FT.SEARCH query, or wiring Redis metrics into Prometheus, Datadog, or similar.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[797,798,801,804,805],{"name":24,"slug":25,"type":15},{"name":799,"slug":800,"type":15},"Monitoring","monitoring",{"name":802,"slug":803,"type":15},"Observability","observability",{"name":13,"slug":14,"type":15},{"name":9,"slug":8,"type":15},"2026-05-27T07:19:47.780873",{"slug":808,"name":808,"fn":809,"description":810,"org":811,"tags":812,"stars":746,"repoUrl":747,"updatedAt":820},"redis-search","implement Redis Search indexing and queries","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 \u002F FT.AGGREGATE \u002F 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.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[813,814,815,818,819],{"name":756,"slug":757,"type":15},{"name":17,"slug":18,"type":15},{"name":816,"slug":817,"type":15},"Engineering","engineering",{"name":9,"slug":8,"type":15},{"name":20,"slug":21,"type":15},"2026-06-24T07:39:43.089819",{"slug":822,"name":822,"fn":823,"description":824,"org":825,"tags":826,"stars":746,"repoUrl":747,"updatedAt":840},"redis-security","secure Redis instances and clusters","Redis security guidance covering authentication (requirepass and ACL users), TLS, ACL-based least-privilege access control, restricting network exposure via bind and protected-mode, firewall rules, and disabling dangerous commands. Use when deploying Redis to production, defining ACL users for an application, configuring TLS connections, locking down a Redis instance behind a firewall, or auditing a Redis deployment for security hardening.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[827,830,833,836,837],{"name":828,"slug":829,"type":15},"Access Control","access-control",{"name":831,"slug":832,"type":15},"Authentication","authentication",{"name":834,"slug":835,"type":15},"Compliance","compliance",{"name":9,"slug":8,"type":15},{"name":838,"slug":839,"type":15},"Security","security","2026-05-27T07:19:40.030241",{"slug":842,"name":842,"fn":843,"description":844,"org":845,"tags":846,"stars":746,"repoUrl":747,"updatedAt":854},"redis-semantic-cache","implement semantic caching with Redis","Redis LangCache guidance for semantic caching of LLM responses on Redis Cloud — calling search\u002Fset via the SDK or REST API, tuning the similarity threshold, separating caches per task type, and filtering with custom attributes. Use when caching LLM completions or RAG answers to cut API cost and latency, building a cache-aside layer in front of OpenAI \u002F Anthropic \u002F etc., tuning hit rate vs precision, or splitting one app's LLM workloads into multiple LangCache caches.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[847,848,849,852,853],{"name":737,"slug":738,"type":15},{"name":773,"slug":774,"type":15},{"name":850,"slug":851,"type":15},"LLM","llm",{"name":9,"slug":8,"type":15},{"name":20,"slug":21,"type":15},"2026-05-27T07:19:43.897283",{"slug":856,"name":856,"fn":857,"description":858,"org":859,"tags":860,"stars":867,"repoUrl":868,"updatedAt":869},"agent-filesystem","manage persistent storage in Redis","Use when agents need persistent shared storage, when saving or restoring workspace state, or when coordinating file access across multiple agents and machines. Creates Redis-backed workspaces, checkpoints and restores agent state, mounts shared filesystems locally, searches workspace contents, and forks workspaces for parallel work.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[861,862,865,866],{"name":734,"slug":735,"type":15},{"name":863,"slug":864,"type":15},"File Storage","file-storage",{"name":743,"slug":744,"type":15},{"name":9,"slug":8,"type":15},22,"https:\u002F\u002Fgithub.com\u002Fredis\u002Fagent-filesystem","2026-04-10T04:51:05.904489",{"slug":871,"name":871,"fn":872,"description":873,"org":874,"tags":875,"stars":867,"repoUrl":868,"updatedAt":884},"codex-settings-sync","sync Codex settings across computers","Use when the user wants to migrate Codex state in ~\u002F.codex into Agent Filesystem and mount the same shared Codex memory\u002Fsettings across multiple computers. Recommends a .afsignore before migration and defaults to excluding worktrees, caches, logs, and temporary files.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[876,879,880,883],{"name":877,"slug":878,"type":15},"Codex","codex",{"name":743,"slug":744,"type":15},{"name":881,"slug":882,"type":15},"Migration","migration",{"name":9,"slug":8,"type":15},"2026-04-10T04:51:07.268248",{"slug":886,"name":886,"fn":887,"description":888,"org":889,"tags":890,"stars":26,"repoUrl":27,"updatedAt":899},"cloud-database-provisioning","provision Redis Cloud databases","Provision a Redis Cloud database end-to-end — Essentials (fixed plan) or Pro (custom) — using Redis Cloud MCP tools",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[891,894,895,898],{"name":892,"slug":893,"type":15},"Cloud","cloud",{"name":17,"slug":18,"type":15},{"name":896,"slug":897,"type":15},"MCP","mcp",{"name":9,"slug":8,"type":15},"2026-06-03T07:53:00.906753",{"slug":901,"name":901,"fn":902,"description":903,"org":904,"tags":905,"stars":26,"repoUrl":27,"updatedAt":912},"compare-approaches","prototype Redis data model alternatives","Prototype and compare 2-3 Redis data model alternatives for the same workload",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[906,907,908,911],{"name":786,"slug":787,"type":15},{"name":17,"slug":18,"type":15},{"name":909,"slug":910,"type":15},"Prototyping","prototyping",{"name":9,"slug":8,"type":15},"2026-05-27T07:19:55.591944",27,{"items":915,"total":992},[916,923,930,943,954,967,981],{"slug":886,"name":886,"fn":887,"description":888,"org":917,"tags":918,"stars":26,"repoUrl":27,"updatedAt":899},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[919,920,921,922],{"name":892,"slug":893,"type":15},{"name":17,"slug":18,"type":15},{"name":896,"slug":897,"type":15},{"name":9,"slug":8,"type":15},{"slug":901,"name":901,"fn":902,"description":903,"org":924,"tags":925,"stars":26,"repoUrl":27,"updatedAt":912},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[926,927,928,929],{"name":786,"slug":787,"type":15},{"name":17,"slug":18,"type":15},{"name":909,"slug":910,"type":15},{"name":9,"slug":8,"type":15},{"slug":931,"name":931,"fn":932,"description":933,"org":934,"tags":935,"stars":26,"repoUrl":27,"updatedAt":942},"data-explorer","explore and profile Redis datasets","Profile and explore a Redis dataset - key types, sizes, TTLs, encodings, and sample values",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[936,939,940,941],{"name":937,"slug":938,"type":15},"Data Analysis","data-analysis",{"name":17,"slug":18,"type":15},{"name":802,"slug":803,"type":15},{"name":9,"slug":8,"type":15},"2026-05-28T07:09:52.268662",{"slug":944,"name":944,"fn":945,"description":946,"org":947,"tags":948,"stars":26,"repoUrl":27,"updatedAt":953},"data-modeling-advisor","design Redis data models","Recommend Redis data structures and patterns for a given workload before committing to an approach",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[949,950,951,952],{"name":756,"slug":757,"type":15},{"name":786,"slug":787,"type":15},{"name":17,"slug":18,"type":15},{"name":9,"slug":8,"type":15},"2026-05-28T07:09:51.028825",{"slug":955,"name":955,"fn":956,"description":957,"org":958,"tags":959,"stars":26,"repoUrl":27,"updatedAt":966},"enterprise-health-check","perform Redis Enterprise cluster health checks","Comprehensive pre-operation health check for a Redis Enterprise cluster — verify cluster state, node health, license status, and active alerts before making changes",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[960,961,962,965],{"name":17,"slug":18,"type":15},{"name":802,"slug":803,"type":15},{"name":963,"slug":964,"type":15},"Operations","operations",{"name":9,"slug":8,"type":15},"2026-06-03T07:52:59.693017",{"slug":968,"name":968,"fn":969,"description":970,"org":971,"tags":972,"stars":26,"repoUrl":27,"updatedAt":980},"index-ab-test","compare RediSearch index configurations","Create and compare multiple RediSearch index configurations to find the best one",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[973,976,977,978,979],{"name":974,"slug":975,"type":15},"A\u002FB Testing","a-b-testing",{"name":17,"slug":18,"type":15},{"name":13,"slug":14,"type":15},{"name":9,"slug":8,"type":15},{"name":20,"slug":21,"type":15},"2026-05-28T07:09:53.54884",{"slug":982,"name":982,"fn":983,"description":984,"org":985,"tags":986,"stars":26,"repoUrl":27,"updatedAt":991},"index-advisor","recommend RediSearch index schemas","Analyze a Redis dataset and recommend an optimal RediSearch index schema",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[987,988,989,990],{"name":786,"slug":787,"type":15},{"name":17,"slug":18,"type":15},{"name":9,"slug":8,"type":15},{"name":20,"slug":21,"type":15},"2026-05-28T07:09:48.520606",17]