Answer: Use instructions to add repository-specific guidance to the system prompt for sessions in the repository, and use scripts to define commands that appear in the app and can run manually or on specific triggers. Each script item supports name, command, and optional triggers. Status: Confirmed Entry: tool/github-copilot/settings/configure-instructions-and-scripts Revision: 3 Digest: sha256:03065ffe575b7523 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:32:32Z Last changed: 2026-11-18T13:10:35Z (legacy aliases: — → workspace.create (alias for session.create ) workspace.archive (alias for session.archive )) Last verified: 2026-11-20T13:14:17Z Next check: 2026-11-21T13:14:17Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of instructions purpose | add repository-specific guidance to the system prompt for sessions in the repository | [1] | 2026-11-20 scripts purpose | define commands that appear in the app and can run manually or on specific triggers | [1] | 2026-11-20 script name | Display name in the UI | [1] | 2026-11-20 script command | Command to run | [1] | 2026-11-20 script triggers | Events that auto-run the script | [1] | 2026-11-20 trigger values | session.create session.archive | [1] | 2026-11-20 legacy aliases | workspace.create (alias for session.create ) workspace.archive (alias for session.archive ) | [1] | 2026-11-20 Sources: [1] GitHub. "Repository configuration for the GitHub Copilot app - GitHub Docs". https://docs.github.com/en/copilot/reference/github-copilot-app-reference/repository-configuration Role: primary. Accessed: 2026-11-20T13:14:17Z Quote: "Use instructions to add repository-specific guidance to the system prompt for sessions in the repository." (Supports: instructions purpose) Quote: "Use scripts to define commands that appear in the app and can run manually or on specific triggers." (Supports: scripts purpose) Quote: "name ( string ): Display name in the UI." (Supports: script name) Quote: "command ( string ): Command to run." (Supports: script command) Quote: "triggers ( string[] , optional): Events that auto-run the script." (Supports: script triggers) Quote: "session.create session.archive" (Supports: trigger values) Quote: "workspace.create (alias for session.create ) workspace.archive (alias for session.archive )" (Supports: legacy aliases) Snapshot SHA-256: 96d656fbd9c9339896b2a810d1753504a00b5f117fc8fd911c1dde8d308de868 (captured 2026-11-18T13:10:35Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-18T13:10:35Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:14:17Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:14:17Z Last attempt: 2026-11-20T13:14:17Z Notes and limitations: Extracted automatically from a single official source (section "Configure instructions and scripts"). Related: https://latestn.com/tool/github-copilot/settings/configure-language-settings-jetbrains How do I configure language settings for GitHub Copilot in JetBrains IDEs? https://latestn.com/tool/github-copilot/settings/configure-local-sandbox-settings How do I configure local sandbox settings for GitHub Copilot? https://latestn.com/tool/github-copilot/settings/configure-local-sandboxing How do I configure local sandboxing for GitHub Copilot? https://latestn.com/tool/github-copilot/settings/configure-copilot-in-environment How do I configure GitHub Copilot settings in my IDE environment? https://latestn.com/tool/github-copilot/settings/configure-hooks How do I configure hooks for GitHub Copilot? https://latestn.com/tool/github-copilot/settings/configure-in-process-connection How do I configure an in-process connection for the GitHub Copilot SDK? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-18T13:10:35Z | changed | legacy aliases: — → workspace.create (alias for session.create ) workspace.archive (alias for session.archive ) | [1] 2026-11-18T13:10:35Z | changed | trigger values: — → session.create session.archive | [1] 2026-11-18T13:10:35Z | changed | script triggers: — → Events that auto-run the script | [1] 2026-11-18T13:10:35Z | changed | script command: — → Command to run | [1] 2026-11-18T13:10:35Z | changed | script name: — → Display name in the UI | [1] 2026-11-18T13:10:35Z | changed | scripts purpose: — → define commands that appear in the app and can run manually or on specific triggers | [1] 2026-11-18T13:10:35Z | changed | instructions purpose: — → add repository-specific guidance to the system prompt for sessions in the repository | [1] 2026-11-18T13:10:35Z | changed | Trigger environment variable: COPILOT_SCRIPT_TRIGGER → — | [1] 2026-11-18T13:10:35Z | changed | Legacy trigger aliases: workspace.create (alias for session.create ) workspace.archive (alias for session.archive ) → — | [1] 2026-11-18T13:10:35Z | changed | Canonical trigger values: session.create session.archive → — | [1] 2026-11-18T13:10:35Z | changed | Script triggers field: Events that auto-run the script → — | [1] 2026-11-18T13:10:35Z | changed | Script command field: Command to run → — | [1] 2026-11-18T13:10:35Z | changed | Script name field: Display name in the UI → — | [1] 2026-11-18T13:10:35Z | changed | Scripts purpose: define commands that appear in the app and can run manually or on specific triggers → — | [1] 2026-11-18T13:10:35Z | changed | Instructions purpose: add repository-specific guidance to the system prompt for sessions in the repository → — | [1] 2026-11-16T12:58:40Z | changed | Trigger environment variable: — → COPILOT_SCRIPT_TRIGGER | [1] 2026-11-16T12:58:40Z | changed | Legacy trigger aliases: — → workspace.create (alias for session.create ) workspace.archive (alias for session.archive ) | [1] 2026-11-16T12:58:40Z | changed | Canonical trigger values: — → session.create session.archive | [1] 2026-11-16T12:58:40Z | changed | Script triggers field: — → Events that auto-run the script | [1] 2026-11-16T12:58:40Z | changed | Script command field: — → Command to run | [1] 2026-11-16T12:58:40Z | changed | Script name field: — → Display name in the UI | [1] 2026-11-16T12:58:40Z | changed | Scripts purpose: — → define commands that appear in the app and can run manually or on specific triggers | [1] 2026-11-16T12:58:40Z | changed | Instructions purpose: — → add repository-specific guidance to the system prompt for sessions in the repository | [1] 2026-11-16T12:58:40Z | changed | trigger environment variable: COPILOT_SCRIPT_TRIGGER → — | [1] 2026-11-16T12:58:40Z | changed | trigger values: session.create → — | [1] 2026-11-16T12:58:40Z | changed | script triggers field: Events that auto-run the script → — | [1] 2026-11-16T12:58:40Z | changed | script command field: Command to run → — | [1] 2026-11-16T12:58:40Z | changed | script name field: Display name in the UI → — | [1] 2026-11-16T12:58:40Z | changed | scripts purpose: define commands that appear in the app and can run manually or on specific triggers → — | [1] 2026-11-16T12:58:40Z | changed | instructions purpose: add repository-specific guidance to the system prompt for sessions in the repository → — | [1] 2026-11-13T03:32:32Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/settings/configure-instructions-and-scripts/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/github-copilot/settings/configure-instructions-and-scripts POST: https://latestn.com/dispute/tool/github-copilot/settings/configure-instructions-and-scripts with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/github-copilot/settings/configure-instructions-and-scripts?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I configure instructions and scripts in the GitHub Copilot app repository configuration? Revision 3, last verified 2026-11-20T13:14:17Z. https://latestn.com/tool/github-copilot/settings/configure-instructions-and-scripts (accessed 2026-11-21T09:53:27Z). @misc{LatestN_tool_github_copilot_settings_configure_instructions_and_scripts_r3, title = {How do I configure instructions and scripts in the GitHub Copilot app repository configuration?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/settings/configure-instructions-and-scripts}}, note = {Revision 3; digest sha256:03065ffe575b7523; last verified 2026-11-20T13:14:17Z; accessed 2026-11-21T09:53:27Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/github-copilot/settings/configure-instructions-and-scripts