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.
Requirements
Section titled âRequirementsâ| Requirement | Notes |
|---|---|
| Windows | Toast notifications use the Windows notification system |
| PowerShell 7+ | pwsh must be on your PATH â run winget install Microsoft.PowerShell |
| BurntToast | PowerShell module used to fire toast notifications |
| GitHub Copilot CLI | Hooks require Copilot CLI v1.0+ |
Quick install
Section titled âQuick installâRun this from the root of any repository where you want notifications:
irm https://raw.githubusercontent.com/melodiouscoders/CopilotOnToast/main/install.ps1 | iexThis copies the hook files into .github/hooks/ of your current directory. It will not overwrite files that already exist (use -Force to override).
With automatic BurntToast install
Section titled âWith automatic BurntToast installâIf you donât have BurntToast installed yet, download the script first so you can pass parameters:
irm https://raw.githubusercontent.com/melodiouscoders/CopilotOnToast/main/install.ps1 -OutFile install.ps1.\install.ps1 -InstallBurntToastRemove-Item install.ps1Install parameters
Section titled âInstall parametersâ| Parameter | Description |
|---|---|
-InstallBurntToast | Automatically installs BurntToast (-Scope CurrentUser) if itâs missing |
-Force | Overwrite existing hook files |
-Path <dir> | Target a specific repository root instead of the current git repo |
Manual install
Section titled âManual installâ- 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.pngfrom this repo into the.github/hooks/directory of your repository. - Install BurntToast:
Install-Module BurntToast -Scope CurrentUser - Restart Copilot CLI â hooks are loaded at session start.
Verify itâs working
Section titled âVerify itâs workingâ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/
Uninstall
Section titled âUninstallâRemove the installed files from .github/hooks/:
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.pngRemove the skill file if installed:
Remove-Item .github/skills/toast/SKILL.md