Ai rag and agents
📚 Agent skills distilled from technical books — AI Engineering, Context Engineering, Designing Data-Intensive Applications, and more. Agent-agnostic, plain Markdown. Give your AI agent a bookshelf.
npx -y skills add ebarti/skills --skill ai-rag-and-agentsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Practical knowledge for building RAG (Retrieval-Augmented Generation) systems and AI agents. Covers RAG architecture and retrieval algorithms (term-based, embedding-based, hybrid), retrieval optimization (chunking, reranking, query rewriting), multimodal RAG, agent design with tools and planning, agent failure modes, and memory systems. Use this skill when: - Building a RAG system from scratch or improving an existing one - Choosing retrieval algorithms (BM25, dense vectors, hybrid) - Optimizing retrieval (chunking strategy, reranker selection) - Designing an AI agent (tools, planning, error correction) - Debugging agent failures - Implementing memory for conversational systems
SKILL.md
2.1 KB, as published. Nobody here has run it
AI RAG and Agents
Knowledge from "AI Engineering" by Chip Huyen (Chapter 6). Practical guidance for building retrieval-augmented and agentic systems.
Quick Start
- Check
guidelines.mdto find which files to load for your task - Load only relevant files (each topic has knowledge.md, rules.md, examples.md)
- Apply guidance to your work
Contents
References
| Category | Purpose |
|---|---|
rag-architecture | RAG overview, architecture, when to use RAG |
retrieval-algorithms | Term-based (BM25, TF-IDF), embedding-based, hybrid retrieval |
retrieval-optimization | Chunking strategies, reranking, query rewriting, contextual retrieval, multimodal RAG, tabular RAG |
agent-overview | Agent definition, tools (knowledge augmentation, capability extension, write actions) |
agent-planning | Plan generation, reflection, error correction, tool selection |
agent-failures | Planning failures, tool failures, efficiency issues, evaluation |
agent-memory | Memory systems for agents and conversations |
Workflows
| Task | Workflow |
|---|---|
| Build a RAG system end-to-end | workflows/build-rag.md |
| Build an agent end-to-end | workflows/build-agent.md |
| Diagnose and fix agent failures | workflows/debug-agent.md |
Guidelines
See guidelines.md for task-based file selection.