chat-with-your-data-solution-accelerator 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

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,177 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/azure-samples/chat-with-your-data-solution-accelerator/copilot-instructions
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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.08430 $0.08430
Opus 5 $0.04215 $0.04215
Sonnet 5 $0.01686 $0.01686
Haiku 4.5 $0.00843 $0.00843

Measured 4d ago against content hash 727de53a41ab, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d 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. 4d 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,177 stars, last pushed 3d ago), licensed MIT. It adds 8,430 tokens to every session, about $0.0421 per session on Opus 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

Other instructions, from other repositories

azure-search-openai-demo AGENTS.md

AGENTS.md instructions for Azure-Samples/azure-search-openai-demo, covering instructions for coding agents, overall code layout, adding new data, adding a new azd environment variable and adding a new setting to "developer settings" in rag app.

Azure-Samples/azure-search-openai-demo · 5,202 tokens

GPT-RAG copilot-instructions.md

Copilot instructions for Azure/GPT-RAG, covering repository development and release instructions, branching strategy, default behavior, feature development workflow and branch creation.

Azure/GPT-RAG · 1,899 tokens

azure-search-openai-demo bicep.instructions.md

Infrastructure as Code with Bicep.

Azure-Samples/azure-search-openai-demo · 749 tokens

GPT-RAG AGENTS.md

AGENTS.md instructions for Azure/GPT-RAG, covering gpt-rag agent operating contract, priority, what this repository is, repository boundaries and how to work.

Azure/GPT-RAG · 1,538 tokens

GPT-RAG config-python.instructions.md

Instructions for Azure/GPT-RAG, a project described as: Enterprise-grade accelerator for agentic RAG on Azure. Built on Microsoft Foundry with Foundry IQ as the default retrieval backend, Microsoft Agent Framework orchestration, Zero-Trust architecture and IaC.

Azure/GPT-RAG · 180 tokens

GPT-RAG lifecycle-hooks.instructions.md

Instructions for Azure/GPT-RAG, a project described as: Enterprise-grade accelerator for agentic RAG on Azure. Built on Microsoft Foundry with Foundry IQ as the default retrieval backend, Microsoft Agent Framework orchestration, Zero-Trust architecture and IaC.

Azure/GPT-RAG · 159 tokens