GitHub Copilot
aiscope discovers Copilot memory across 4 subsystems plus the
ecosystem-standard AGENTS.md.
Files discovered
| Subsystem | Glob |
|---|---|
Instructions | .github/copilot-instructions.md |
Instructions | .github/instructions/*.instructions.md |
Prompts | .github/prompts/*.prompt.md |
Agents | .github/agents/*.agent.md |
Agents | **/AGENTS.md (any depth, path-scoped) |
ChatModes | .github/chatmodes/*.chatmode.md |
Frontmatter
---
applyTo: "**/*.py"
description: "Python conventions"
---
| Field | Used for |
|---|---|
applyTo | Scope glob(s) — single string or array |
description | Optional human label |
name | Agent name (used for duplicate detection) |
tools | Agent tool allowlist (used for AgentToolMismatch) |
AGENTS.md path scoping
apps/web/AGENTS.md is automatically scoped to apps/web/**. So a
top-level AGENTS.md saying "use camelCase" and an
apps/api/AGENTS.md saying "use snake_case" won't conflict — their
scopes don't overlap.
Tips
- Use one root
copilot-instructions.mdfor cross-cutting rules. - Use
.github/instructions/<lang>.instructions.mdwithapplyTofor language-specific rules. - Move team-specific rules into
apps/<team>/AGENTS.mdto scope them.