Chat with Your Data is an Azure-based application pattern that indexes an organization’s documents and lets users ask questions whose answers cite the source material. It is for organizations building conversational search and question-answering systems over contracts, policies, manuals, or other internal content. Its catalogue entry provides an instruction for working with the accelerator.
Borrowing it
Nothing to install: this file belongs to Azure-Samples/chat-with-your-data-solution-accelerator. 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-Samples/chat-with-your-data-solution-accelerator/main/.github/copilot-instructions.mdgit clone --depth 1 https://github.com/Azure-Samples/chat-with-your-data-solution-acceleratorWrote 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-samples/chat-with-your-data-solution-accelerator/copilot-instructions)<a href="https://agentmods.dev/instructions/azure-samples/chat-with-your-data-solution-accelerator/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/azure-samples/chat-with-your-data-solution-accelerator/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-samples/chat-with-your-data-solution-accelerator/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/azure-samples/chat-with-your-data-solution-accelerator/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.08430 | $0.08430 |
| Opus 5.5 | $0.03372 | $0.03372 |
| Sonnet 5.5 | $0.01686 | $0.01686 |
| Haiku 4.5 | $0.00843 | $0.00843 |
Grade B, and why
chat-with-your-data-solution-accelerator copilot-instructions.md scanned grade B with 1 finding 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
- **End-of-turn beep is the agent's responsibility.** GitHub Copilot does not execute Claude Code-style `~/.claude/settings.json` `Stop` hooks, so the agent **must** emit the chime as its **final tool call** before handi How it starts
The opening of the file, as written. The whole thing — 92 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Chat With Your Data (CWYD) — Repository Instructions
These instructions are always loaded. Read them before doing anything else.
Repository layout (truth)
cwyd-v1/— v1 (legacy, frozen). Flask + Streamlit + Semantic Kernel + Prompt Flow + direct Azure OpenAI SDK. Do not extend. Only touch v1 to perform documented removals listed in v2/docs/development_plan.md §2.1. All v1 code, infra, docker, scripts, and tests live undercwyd-v1/.- Repo root (
src/,infra/,docker/,scripts/,tests/,azure.yaml,pyproject.toml,package.json) — v2 (active development). FastAPI + LangGraph + Agent Framework + Foundry IQ, promoted from the oldv2/subtree to the repo root. All new work goes here. infra/(root) — v2 Bicep. The v1 Bicep lives undercwyd-v1/infra/.tests/(root) — v2 tests (shared gates, backend, frontend, functions, infra, integration, smoke). The v1 e2e/integration tests live undercwyd-v1/tests/.v2/docs/— the only tree still underv2/: v2 development plan, pillars, ADRs, bugs registry, and worklog.
Mandatory references — consult before editing
- v2/docs/development_plan.md — phase ordering, file paths, scope, removals, additions. Source of truth for what to build and when. Always read §0 Status snapshot + the head of §0.1 debt queue before proposing a task. As of 2026-05-11 the active phase is Phase 6 — Functions blueprints / modular RAG indexing pipeline (
batch_start,batch_push,add_url,search_skillundersrc/functions/; ingestion-only extensions undersrc/functions/core/). Phases 1–5 + 5.5 are closed; #35d (FE admin merge) and #24 partial (FE SSE polish) are open and explicitly non-blocking for Phase 6. #35g (per-tenant overrides) is withdrawn as out of scope — the deployment is single-tenant, so per-tenantRuntimeConfigkeying is a no-op; see ADR 0024. - v2/docs/pillars_of_development.md — every new core element must declare its pillar (Stable Core, Scenario Pack, Configuration Layer, or Customization Layer) in the file/class docstring. Read-only product policy — never edited by agents.
- Repo memory
cwyd-tech-stack.md— current stack truth (versions, services, package managers, test counts).
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 · 92 lines · 8,430 tokens per session scan B 727de53a41ab
chat-with-your-data-solution-accelerator copilot-instructions.md is an instructions file published in the GitHub repository Azure-Samples/chat-with-your-data-solution-accelerator (1,188 stars, last pushed 3d ago), licensed MIT. It adds 8,430 tokens to every session, about $0.0337 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
chat-with-your-data-solution-accelerator copilot-instructions.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| chat-with-your-data-solution-accelerator copilot-instructions.mdAzure-Samples/chat-with-your-data-solution-accelerator | Instructions file | 1.2k | 3d ago | MIT | B | 8,430 | GitHub Copilot |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | 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 | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |