chat-with-your-data-solution-accelerator: Instructions file for GitHub Copilot

.github/copilot-instructions.md

chat-with-your-data-solution-accelerator copilot-instructions.md is an instructions file for GitHub Copilot from Azure-Samples/chat-with-your-data-solution-accelerator. It costs 8,430 tokens per session, scanned B, original, MIT.

Repository instructions for Azure-Samples' Chat With Your Data project, a software system that lets people ask questions about their own information. They describe the code layout, required references, and rules for changing the active version.

In plain words
What is it for?
Use them before changing the repository to find the correct files, follow mandatory references, and avoid extending the legacy system.
Why use it?
They reduce the risk of editing the frozen legacy version or ignoring required project decisions. They also clarify where new code, tests, infrastructure, and documentation belong.

Instructions file for GitHub Copilot

Written for GitHub Copilot: a Copilot instructions file. Also seen: reads .claude/ paths; mentions Claude Code.

This is Azure-Samples/chat-with-your-data-solution-accelerator's own configuration. It tells GitHub Copilot how to work on chat-with-your-data-solution-accelerator itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything chat-with-your-data-solution-accelerator configures →

About the project

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.

Azure-Samples/chat-with-your-data-solution-accelerator · 1,188 stars · on GitHub · azure.microsoft.com

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/Azure-Samples/chat-with-your-data-solution-accelerator/main/.github/copilot-instructions.md
Clone the repo
git clone --depth 1 https://github.com/Azure-Samples/chat-with-your-data-solution-accelerator

Made for: GitHub Copilot.

Wrote 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.

agentmods badge for chat-with-your-data-solution-accelerator copilot-instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/azure-samples/chat-with-your-data-solution-accelerator/copilot-instructions/github.svg)](https://agentmods.dev/instructions/azure-samples/chat-with-your-data-solution-accelerator/copilot-instructions)
Your own site
<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.

agentmods 80×15 button for chat-with-your-data-solution-accelerator copilot-instructions.md

Your own site · 80×15
<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>
Per session 8,430 This file is loaded in full into every session.
When invoked 8,430 The same file — it is already loaded in full.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 2mo ago against content hash 727de53a41ab, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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
.github/copilot-instructions.md · 92 lines

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 under cwyd-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 old v2/ subtree to the repo root. All new work goes here.
  • infra/ (root) — v2 Bicep. The v1 Bicep lives under cwyd-v1/infra/.
  • tests/ (root) — v2 tests (shared gates, backend, frontend, functions, infra, integration, smoke). The v1 e2e/integration tests live under cwyd-v1/tests/.
  • v2/docs/ — the only tree still under v2/: v2 development plan, pillars, ADRs, bugs registry, and worklog.

Mandatory references — consult before editing

  1. 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_skill under src/functions/; ingestion-only extensions under src/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-tenant RuntimeConfig keying is a no-op; see ADR 0024.
  2. 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.
  3. Repo memory cwyd-tech-stack.md — current stack truth (versions, services, package managers, test counts).

Read the full file on GitHub · 92 lines

Changes

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.

  1. 2mo ago First seen · 92 lines · 8,430 tokens per session scan B 727de53a41ab

Subscribe to this mod's changes

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.

Related

chat-with-your-data-solution-accelerator copilot-instructions.md compared with instructions from other repositories

chat-with-your-data-solution-accelerator copilot-instructions.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
chat-with-your-data-solution-accelerator copilot-instructions.mdAzure-Samples/chat-with-your-data-solution-acceleratorInstructions file1.2k3d agoMITB8,430GitHub Copilot
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode