skills/codex/ms-agent-framework-rag/SKILL.md
Comprehensive guide for building Agentic RAG systems using Microsoft Agent Framework in C#. Use when creating RAG applications with semantic search, document indexing, and intelligent agent orchestration. Includes scaffolding scripts, reference implementations, and documentation for vector databases, embedding models, and multi-agent workflows.
npx skillsauth add shuyu-labs/webcode ms-agent-framework-ragInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill provides scaffolding and guidance for building production-ready Agentic RAG (Retrieval-Augmented Generation) systems using Microsoft Agent Framework with C#.
Use the scaffolding script to create a new RAG system:
scripts/create_rag_system.sh <project-name> [--output-dir <path>]
Example:
scripts/create_rag_system.sh MyKnowledgeBase --output-dir ./my-rag-project
An Agentic RAG system consists of:
See references/semantic_search.md for implementation details.
Build specialized agents:
See references/agent_patterns.md for agent design patterns.
See references/document_processing.md for chunking strategies.
create_rag_system.shScaffolds a complete RAG system with:
Usage:
scripts/create_rag_system.sh <project-name> [--output-dir <path>]
ingest_documents.shBatch document ingestion:
scripts/ingest_documents.sh <source-dir> <index-name>
run_local.shStart the RAG system locally:
scripts/run_local.sh <project-dir>
Required environment variables:
AZURE_OPENAI_ENDPOINT=<your-endpoint>
AZURE_OPENAI_API_KEY=<your-key>
AZURE_SEARCH_ENDPOINT=<your-search-endpoint>
AZURE_SEARCH_KEY=<your-search-key>
EMBEDDING_MODEL=text-embedding-ada-002
CHAT_MODEL=gpt-4
references/semantic_search.md - Vector search implementationreferences/agent_patterns.md - Multi-agent design patternsreferences/document_processing.md - Chunking and preprocessingreferences/evaluation.md - RAG quality metricsFor complex queries, use iterative refinement:
Always track:
See references/citations.md for implementation.
documentation
Presentation creation, editing, and analysis. When Claude needs to work with presentations (.pptx files) for: (1) Creating new presentations, (2) Modifying or editing content, (3) Working with layouts, (4) Adding comments or speaker notes, or any other presentation tasks
data-ai
Transforms workflow to use Manus-style persistent markdown files for planning, progress tracking, and knowledge storage. Use when starting complex tasks, multi-step projects, research tasks, or when the user mentions planning, organizing work, tracking progress, or wants structured output.
tools
Comprehensive PDF manipulation toolkit for extracting text and tables, creating new PDFs, merging/splitting documents, and handling forms. When Claude needs to fill in a PDF form or programmatically process, generate, or analyze PDF documents at scale.
development
Convert Office documents (Word, Excel, PowerPoint, PDF) to Markdown format. ONLY use this skill when the user explicitly requests to CONVERT, TRANSFORM or PARSE a specific office file into Markdown. Do NOT trigger for general questions, documentation reading, or discussions about files.