Skip to content

Getting Started

CopilotOnToast hooks into GitHub Copilot CLI to pop Windows toast notifications for every key agent event. This page will get you up and running in minutes.

RequirementNotes
WindowsToast notifications use the Windows notification system
PowerShell 7+pwsh must be on your PATH — run winget install Microsoft.PowerShell
BurntToastPowerShell module used to fire toast notifications
GitHub Copilot CLIHooks require Copilot CLI v1.0+

Run this from the root of any repository where you want notifications:

Terminal window
irm https://raw.githubusercontent.com/melodiouscoders/CopilotOnToast/main/install.ps1 | iex

This copies the hook files into .github/hooks/ of your current directory. It will not overwrite files that already exist (use -Force to override).

If you don’t have BurntToast installed yet, download the script first so you can pass parameters:

Terminal window
irm https://raw.githubusercontent.com/melodiouscoders/CopilotOnToast/main/install.ps1 -OutFile install.ps1
.\install.ps1 -InstallBurntToast
Remove-Item install.ps1
ParameterDescription
-InstallBurntToastAutomatically installs BurntToast (-Scope CurrentUser) if it’s missing
-ForceOverwrite existing hook files
-Path <dir>Target a specific repository root instead of the current git repo
  1. Copy .github/hooks/copilot-on-toast.json, .github/hooks/copilot-on-toast.ps1, .github/hooks/copilot-on-toast.config.json, and .github/hooks/copilot-icon.png from this repo into the .github/hooks/ directory of your repository.
  2. Install BurntToast: Install-Module BurntToast -Scope CurrentUser
  3. Restart Copilot CLI — hooks are loaded at session start.

Start a Copilot CLI session. You should see a “Copilot – Started” toast notification appear. If not, check:

  • BurntToast is installed: Get-Module BurntToast -ListAvailable
  • PowerShell 7 is on your PATH: pwsh --version
  • Hook files are present in .github/hooks/

Remove the installed files from .github/hooks/:

Terminal window
Remove-Item .github/hooks/copilot-on-toast.json,
.github/hooks/copilot-on-toast.ps1,
.github/hooks/copilot-on-toast.config.json,
.github/hooks/copilot-icon.png

Remove the skill file if installed:

Terminal window
Remove-Item .github/skills/toast/SKILL.md