Rag query transformation

From a5c-ai/babysitter · View interactive version

Rag query transformation is an AI agent skill from the GitHub repository a5c-ai/babysitter. Query expansion, HyDE, and multi-query generation for improved retrieval

How to use this skill

Skill file

RAG Query Transformation Skill

Capabilities

Target Processes

Implementation Details

Transformation Techniques

  1. Multi-Query Generation: Generate query variations
  2. HyDE: Generate hypothetical answer, embed that
  3. Query Decomposition: Break complex queries into sub-queries
  4. Step-Back Prompting: Generate higher-level queries
  5. Query Expansion: Add synonyms and related terms

Configuration Options

Best Practices

Dependencies

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.