---
name: notify
description: Notify the user when work is completed or to report progress along the way. Use when a long-running task finishes and the user should be alerted, or when the user says "完了したら通知して" / "notify me when done" / "タスク完了後に通知"
---

# Notify

A skill to send Windows toast notifications when long-running tasks are completed.

## Quick Start

After the task is completed, run the following PowerShell command:

```powershell
pwsh -NoProfile -File ".agents/skills/notify/scripts/notify.ps1" -Title "Antigravity" -Message "The task has been completed"
```

## Workflow

1.  Run a long-running task.
2.  After the task finishes, run `notify.ps1` to send a notification.
3.  Customize the notification title and message depending on the situation.

## Custom Message Examples

```powershell
# Build completed
pwsh -NoProfile -File ".agents/skills/notify/scripts/notify.ps1" -Title "Antigravity: Build completed" -Message "The project build was completed successfully"

# Test completed
pwsh -NoProfile -File ".agents/skills/notify/scripts/notify.ps1" -Title "Antigravity: Test completed" -Message "All tests completed (Failed: 1)"

# Error notification
pwsh -NoProfile -File ".agents/skills/notify/scripts/notify.ps1" -Title "Antigravity: Error occurred" -Message "An error occurred during the task. Please check."
```

## Parameters

| Parameter  | Default Value             | Description                |
| ---------- | ------------------------- | -------------------------- |
| `-Title`   | `Antigravity`             | Title of the notification  |
| `-Message` | `The task has been completed` | Body of the notification   |

## Notes

-   Uses Windows 10/11 toast notification APIs.
-   Requires PowerShell 5.1+.
-   The script path is a relative path from the project root.
