Answer: An extension for Copilot CLI is a JavaScript module that runs as a separate Node.js process alongside an interactive session, connecting to the session through the extension SDK bundled with Copilot CLI. You use an extension when a capability needs code that stays active during the session, and Copilot CLI also lets you control whether extensions run and whether the agent can manage them. Status: Confirmed Entry: tool/github-copilot/integrations/extensions-in-cli Revision: 3 Digest: sha256:475990d5cd90324c (changes whenever the content changes) Timeline: Created: 2026-11-13T03:20:36Z Last changed: 2026-11-19T12:50:31Z (Session-aware behavior: — → observing events and keeping state across tool calls) Last verified: 2026-11-20T12:56:34Z Next check: 2026-11-21T12:56:34Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Extension definition | a JavaScript module that runs as a separate Node.js process alongside an interactive session | [1] | 2026-11-20 Connection method | the extension SDK bundled with Copilot CLI | [1] | 2026-11-20 What an extension can add | Tools that the agent can call while working on your request. | [1] | 2026-11-20 Slash commands | Slash commands that you invoke yourself. | [1] | 2026-11-20 Session-aware behavior | observing events and keeping state across tool calls | [1] | 2026-11-20 When to use | when a capability needs code that stays active during the session | [1] | 2026-11-20 Control | whether extensions run and whether the agent can manage them | [1] | 2026-11-20 Sources: [1] GitHub. "Extensions for GitHub Copilot - GitHub Docs". https://docs.github.com/en/copilot/concepts/customizations/extensions Role: primary. Accessed: 2026-11-20T12:56:34Z Quote: "An extension for Copilot CLI is a JavaScript module that runs as a separate Node.js process alongside an interactive session." (Supports: Extension definition) Quote: "It connects to the session through the extension SDK bundled with Copilot CLI." (Supports: Connection method) Quote: "Tools that the agent can call while working on your request." (Supports: What an extension can add) Quote: "Slash commands that you invoke yourself." (Supports: Slash commands) Quote: "Session-aware behavior, such as observing events and keeping state across tool calls." (Supports: Session-aware behavior) Quote: "Use an extension when a capability needs code that stays active during the session." (Supports: When to use) Quote: "Copilot CLI also lets you control whether extensions run and whether the agent can manage them." (Supports: Control) Snapshot SHA-256: cbd54e7002eaedd763265092733c084bd8808c6829befd48eefee7d1cbeee1ea (captured 2026-11-18T12:50:03Z) 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-18T12:50:05Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:56:34Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:56:34Z Last attempt: 2026-11-20T12:56:34Z Notes and limitations: Extracted automatically from a single official source (section "Extensions in Copilot CLI"). Related: https://latestn.com/tool/github-copilot/integrations/github-mcp-registry How do I use the GitHub MCP Registry to add MCP servers to GitHub Copilot? https://latestn.com/tool/github-copilot/integrations/github-mcp-server-in-chat How do I use the GitHub MCP Server from Copilot Chat? https://latestn.com/tool/github-copilot/integrations/install-agent-app How do I install an agent app for GitHub Copilot? https://latestn.com/tool/github-copilot/integrations/extend-agent-mode-with-tools How do I extend GitHub Copilot agent mode with tools? https://latestn.com/tool/github-copilot/integrations/extend-copilot-chat-with-mcp-servers How do I extend GitHub Copilot Chat in my IDE with Model Context Protocol (MCP) servers? https://latestn.com/tool/github-copilot/integrations/extend-with-tools-and-context How do I extend GitHub Copilot with tools and context in my IDE? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-19T12:50:31Z | changed | Session-aware behavior: — → observing events and keeping state across tool calls | [1] 2026-11-19T12:50:31Z | changed | Slash commands: — → Slash commands that you invoke yourself. | [1] 2026-11-19T12:50:31Z | changed | What an extension can add: — → Tools that the agent can call while working on your request. | [1] 2026-11-19T12:50:31Z | changed | Extension definition: — → a JavaScript module that runs as a separate Node.js process alongside an interactive session | [1] 2026-11-19T12:50:31Z | changed | Control: Copilot CLI also lets you control whether extensions run and whether the agent can manage them. → whether extensions run and whether the agent can manage them | [1] 2026-11-19T12:50:31Z | changed | When to use: Use an extension when a capability needs code that stays active during the session. → when a capability needs code that stays active during the session | [1] 2026-11-19T12:50:31Z | changed | Capability added: Tools that the agent can call while working on your request. → — | [1] 2026-11-19T12:50:31Z | changed | Connection method: extension SDK bundled with Copilot CLI → the extension SDK bundled with Copilot CLI | [1] 2026-11-19T12:50:31Z | changed | Extension type: JavaScript module → — | [1] 2026-11-17T13:11:02Z | changed | Control: — → Copilot CLI also lets you control whether extensions run and whether the agent can manage them. | [1] 2026-11-17T13:11:02Z | changed | When to use: — → Use an extension when a capability needs code that stays active during the session. | [1] 2026-11-17T13:11:02Z | changed | Capability added: — → Tools that the agent can call while working on your request. | [1] 2026-11-17T13:11:02Z | changed | Connection method: — → extension SDK bundled with Copilot CLI | [1] 2026-11-17T13:11:02Z | changed | Extension type: — → JavaScript module | [1] 2026-11-17T13:11:02Z | changed | control: whether extensions run and whether the agent can manage them → — | [1] 2026-11-17T13:11:02Z | changed | when to use: when a capability needs code that stays active during the session → — | [1] 2026-11-17T13:11:02Z | changed | connection method: extension SDK bundled with Copilot CLI → — | [1] 2026-11-17T13:11:02Z | changed | extension type: JavaScript module → — | [1] 2026-11-13T03:20:36Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/integrations/extensions-in-cli/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/integrations/extensions-in-cli POST: https://latestn.com/dispute/tool/github-copilot/integrations/extensions-in-cli with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/github-copilot/integrations/extensions-in-cli?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I use extensions in GitHub Copilot CLI? Revision 3, last verified 2026-11-20T12:56:34Z. https://latestn.com/tool/github-copilot/integrations/extensions-in-cli (accessed 2026-11-21T09:50:41Z). @misc{LatestN_tool_github_copilot_integrations_extensions_in_cli_r3, title = {How do I use extensions in GitHub Copilot CLI?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/integrations/extensions-in-cli}}, note = {Revision 3; digest sha256:475990d5cd90324c; last verified 2026-11-20T12:56:34Z; accessed 2026-11-21T09:50:41Z} } 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/integrations/extensions-in-cli