agentleFS
MicrosoftKnown publishermicrosoft/entra-agentid-samples/.github/copilot-instructions.md

entra-agentid-samples

Copilot instructions12 starsChanged 7 months agoMITView on GitHub

This repository contains Microsoft Entra Agent ID sample agents that demonstrate the sidecar identity pattern — the Microsoft Entra SDK for Agent ID runs as a companion container and handles all token acquisition for your agent code. Extended workflows are packaged as skills under .claude/skills/<name>/SKILL.md. When the user's request matches a skill's description, load the relevant SKILL.md in full before taking action: The CLAUDE.md at the repository root is the primary entry point for agent-based tools and mirrors this guidance.

  • Reads credentials

The file

We split this copilot-instructions.md into the rules it gives an agent

3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Always confirm the target Azure account, tenant ID, and subscription ID with the user before running any deployment, provisioning, or …

    line 15
  2. Very specific:

    Never commit .env, deploy-vars.sh, tenant GUIDs, app/client GUIDs, or any secret values.

    line 16
  3. Distinctive:

    Prefer editing existing files over creating new ones.

    line 17

≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
copilot-instructions.md

GitHub Copilot instructions for entra-agentid-samples

This repository contains Microsoft Entra Agent ID sample agents that demonstrate the sidecar identity pattern — the Microsoft Entra SDK for Agent ID runs as a companion container and handles all token acquisition for your agent code.

Repository layout

  • sidecar/dev/ — local-LLM sample (Ollama + LangChain + Flask)
  • sidecar/aws/ — AWS Bedrock sample (Claude model + Azure→AWS OIDC federation)
  • sidecar/weather-api/ — shared downstream API that validates agent tokens
  • deploy/azure/container-apps/ — Azure Container Apps deployment tutorials
  • scripts/ — PowerShell bootstrap for Blueprint + Agent Identity + Client SPA

Working in this repository

  • Always confirm the target Azure account, tenant ID, and subscription ID with the user before running any deployment, provisioning, or cleanup command.
  • Never commit .env, deploy-vars.sh, tenant GUIDs, app/client GUIDs, or any secret values.
  • Prefer editing existing files over creating new ones.

Skills

Extended workflows are packaged as skills under .claude/skills/<name>/SKILL.md. When the user's request matches a skill's description, load the relevant SKILL.md in full before taking action:

  • entra-agent-id-setup — provision Blueprint + Agent Identity + Client SPA in Microsoft Entra ID
  • deploy-agent-aca-dev — deploy the local-LLM sample to Azure Container Apps
  • deploy-agent-aca-aws — deploy the AWS Bedrock sample to Azure Container Apps

The CLAUDE.md at the repository root is the primary entry point for agent-based tools and mirrors this guidance.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.