Answer: To create a user-level hook, create a file called notification-hooks.json in ~/.copilot/hooks/ (or in $COPILOT_HOME/hooks/ if COPILOT_HOME is set), then paste the hook JSON into it and restart Copilot CLI. On Windows, create the file in %USERPROFILE%\.copilot\hooks\ (or %COPILOT_HOME%\hooks\ if COPILOT_HOME is set). Status: Confirmed Entry: tool/github-copilot/settings/create-user-level-hook Revision: 3 Digest: sha256:af976312c0a51e91 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:24:12Z Last changed: 2026-11-19T12:56:20Z (restart requirement: — → Changes to hook configurations are loaded when the CLI starts.) Last verified: 2026-11-20T13:02:32Z Next check: 2026-11-21T13:02:32Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of macOS hook file path | ~/.copilot/hooks/ | [1] | 2026-11-20 macOS alternate path | $COPILOT_HOME/hooks/ | [1] | 2026-11-20 Windows hook file path | %USERPROFILE%\.copilot\hooks\ | [1] | 2026-11-20 Windows alternate path | %COPILOT_HOME%\hooks\ | [1] | 2026-11-20 hook file name | notification-hooks.json | [1] | 2026-11-20 restart requirement | Changes to hook configurations are loaded when the CLI starts. | [1] | 2026-11-20 Sources: [1] GitHub. "Using hooks with GitHub Copilot CLI - GitHub Docs". https://docs.github.com/en/copilot/how-tos/copilot-cli/customize-copilot/use-hooks Role: primary. Accessed: 2026-11-20T13:02:32Z Quote: "Create a file called notification-hooks.json in ~/.copilot/hooks/ ." (Supports: macOS hook file path, hook file name) Quote: "If COPILOT_HOME is set, create the file in $COPILOT_HOME/hooks/ ." (Supports: macOS alternate path) Quote: "Create a file called notification-hooks.json in %USERPROFILE%\.copilot\hooks\ ." (Supports: Windows hook file path) Quote: "If COPILOT_HOME is set, create the file in %COPILOT_HOME%\hooks\ ." (Supports: Windows alternate path) Quote: "Changes to hook configurations are loaded when the CLI starts." (Supports: restart requirement) Snapshot SHA-256: 8c9c2c55a04a453ab719b847329e13467b444678db40077c5c70c8086a8bfd8b (captured 2026-11-19T12:56:21Z) 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-19T12:56:20Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:02:32Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:02:32Z Last attempt: 2026-11-20T13:02:32Z Notes and limitations: Extracted automatically from a single official source (section "Creating a user-level hook"). Related: https://latestn.com/tool/github-copilot/settings/custom-certificates How do I add custom certificates for GitHub Copilot? https://latestn.com/tool/github-copilot/settings/custom-instructions-code-review How do I set up custom instructions for GitHub Copilot to perform thorough code reviews? https://latestn.com/tool/github-copilot/settings/custom-instructions-concept-explainer How do I write custom instructions for GitHub Copilot to explain complex technical concepts in beginner-friendly ways? https://latestn.com/tool/github-copilot/settings/configure-user-clients-otel How do I configure users' clients for GitHub Copilot OpenTelemetry? https://latestn.com/tool/github-copilot/settings/copilot-app-repository-configuration How do I configure repository settings for the GitHub Copilot app? https://latestn.com/tool/github-copilot/settings/create-repository-level-hook How do I create a repository-level hook for GitHub Copilot CLI? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-19T12:56:20Z | changed | restart requirement: — → Changes to hook configurations are loaded when the CLI starts. | [1] 2026-11-19T12:56:20Z | changed | Windows alternate path: — → %COPILOT_HOME%\hooks\ | [1] 2026-11-19T12:56:20Z | changed | Windows hook file path: — → %USERPROFILE%\.copilot\hooks\ | [1] 2026-11-19T12:56:20Z | changed | macOS alternate path: — → $COPILOT_HOME/hooks/ | [1] 2026-11-19T12:56:20Z | changed | macOS hook file path: — → ~/.copilot/hooks/ | [1] 2026-11-19T12:56:20Z | changed | when changes load: Changes to hook configurations are loaded when the CLI starts. → — | [1] 2026-11-19T12:56:20Z | changed | Windows alternate location: %COPILOT_HOME%\hooks\ → — | [1] 2026-11-19T12:56:20Z | changed | Windows hook file location: %USERPROFILE%\.copilot\hooks\ → — | [1] 2026-11-19T12:56:20Z | changed | macOS alternate location: $COPILOT_HOME/hooks/ → — | [1] 2026-11-19T12:56:20Z | changed | macOS hook file location: ~/.copilot/hooks/ → — | [1] 2026-11-17T13:18:46Z | changed | when changes load: — → Changes to hook configurations are loaded when the CLI starts. | [1] 2026-11-17T13:18:46Z | changed | Windows alternate location: — → %COPILOT_HOME%\hooks\ | [1] 2026-11-17T13:18:46Z | changed | Windows hook file location: — → %USERPROFILE%\.copilot\hooks\ | [1] 2026-11-17T13:18:46Z | changed | macOS alternate location: — → $COPILOT_HOME/hooks/ | [1] 2026-11-17T13:18:46Z | changed | macOS hook file location: — → ~/.copilot/hooks/ | [1] 2026-11-17T13:18:46Z | changed | timeout seconds: 5 → — | [1] 2026-11-17T13:18:46Z | changed | hook config version: 1 → — | [1] 2026-11-17T13:18:46Z | changed | Windows COPILOT_HOME override path: %COPILOT_HOME%\hooks\ → — | [1] 2026-11-17T13:18:46Z | changed | Windows hook file path: %USERPROFILE%\.copilot\hooks\ → — | [1] 2026-11-17T13:18:46Z | changed | COPILOT_HOME override path: $COPILOT_HOME/hooks/ → — | [1] 2026-11-17T13:18:46Z | changed | macOS hook file path: ~/.copilot/hooks/ → — | [1] 2026-11-13T03:24:12Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/github-copilot/settings/create-user-level-hook/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/create-user-level-hook POST: https://latestn.com/dispute/tool/github-copilot/settings/create-user-level-hook with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/github-copilot/settings/create-user-level-hook?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I create a user-level hook for GitHub Copilot CLI? Revision 3, last verified 2026-11-20T13:02:32Z. https://latestn.com/tool/github-copilot/settings/create-user-level-hook (accessed 2026-11-21T09:50:41Z). @misc{LatestN_tool_github_copilot_settings_create_user_level_hook_r3, title = {How do I create a user-level hook for GitHub Copilot CLI?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/github-copilot/settings/create-user-level-hook}}, note = {Revision 3; digest sha256:af976312c0a51e91; last verified 2026-11-20T13:02:32Z; 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/settings/create-user-level-hook