GPT-RAG is an Azure solution accelerator for building agentic retrieval-augmented generation systems, where agents use connected organizational sources to ground their answers. It is for organizations deploying secure RAG applications with Microsoft Foundry, Microsoft Agent Framework, and Azure infrastructure. The catalogue add-ons provide agents, skills, and instructions for deploying and working with the accelerator.
Borrowing it
Nothing to install: this file belongs to Azure/GPT-RAG. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/Azure/GPT-RAG/main/.github/copilot-instructions.mdgit clone --depth 1 https://github.com/Azure/GPT-RAGWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/azure/gpt-rag/copilot-instructions)<a href="https://agentmods.dev/instructions/azure/gpt-rag/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/azure/gpt-rag/copilot-instructions/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/azure/gpt-rag/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/azure/gpt-rag/copilot-instructions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.01899 | $0.01899 |
| Opus 5.5 | $0.00760 | $0.00760 |
| Sonnet 5.5 | $0.00380 | $0.00380 |
| Haiku 4.5 | $0.00190 | $0.00190 |
Grade A, and why
GPT-RAG copilot-instructions.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 241 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Repository Development and Release Instructions
Overview
This repository follows a structured workflow based on two primary branches:
develop→ ongoing developmentmain→ stable, released versions
All work must follow the branching, versioning, and changelog rules defined below.
Branching Strategy
Default Behavior
Unless explicitly instructed otherwise:
- All development work MUST start from
develop - All new work MUST be done in a feature branch
- Feature work MUST target
develop - Release preparation MUST target
main
Feature Development Workflow
Branch Creation
- Always create feature branches from
develop - Naming convention:
feature/<short-description>
Examples:
feature/conversation-metadatafeature/improve-chat-history
Feature Pull Requests
- Source branch:
feature/* - Target branch:
develop - Never target
mainfrom a feature branch
Expected Flow
- Start from
develop - Create
feature/<name> - Implement changes
- Commit changes
- Open pull request to
develop
Release Workflow
Release Branch Creation
- Release branches MUST be created from
develop - Naming convention:
release/x.y.z(novprefix)
Examples:
release/1.2.3release/2.4.2
Release Responsibilities
When preparing a release branch:
- Update version references where applicable
- Update
CHANGELOG.md - Ensure the repository reflects a releasable state
- Do NOT introduce new feature work
- GitHub Release titles MUST be exactly the tag name (for example,
v2.8.0). Never prefix release titles with the product or service name (for example, do not useGPT-RAG v2.8.0,GPT-RAG Orchestrator v2.8.0, orgpt-rag-ui v2.8.0). - MANDATORY for EVERY GPT-RAG umbrella release — no exceptions. The
published GitHub Release notes (the
gh release create/gh release editbody, NOT just theCHANGELOG.md) MUST include a## Component versionssection with a Markdown table listing every validated runtime component frommanifest.jsoncomponents[]plusinfra / AI Landing Zonefrommanifest.jsonailz_tag. This is required even for a patch release where only the landing-zone pin changed and the runtime component versions are unchanged — always restate the full validated combination so operators see the exact set without cross-referencing other releases. - Read the versions directly from
manifest.jsonat release time (tagfor each entry incomponents[], andailz_tagfor the landing zone). Do not hand-copy from a previous release. - Place the
## Component versionstable immediately after the## Changedsection and before## Validation, matching the existing published releases (e.g.v2.8.0,v2.8.1). - The same table is ALSO added to
CHANGELOG.mdunder the release heading (as the### Validationcomponent table). The GitHub Release notes and the changelog must agree.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 241 lines · 1,899 tokens per session scan A d6cbeff1b231
GPT-RAG copilot-instructions.md is an instructions file published in the GitHub repository Azure/GPT-RAG (1,179 stars, last pushed 1mo ago), licensed MIT. It adds 1,899 tokens to every session, about $0.0076 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
GPT-RAG copilot-instructions.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| GPT-RAG copilot-instructions.mdAzure/GPT-RAG | Instructions file | 1.2k | 1mo ago | MIT | A | 1,899 | GitHub Copilot |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |