$npx -y skills add halo-dev/cli --skill halo-cli-moderation-notificationsUse when moderating Halo comments or replies, creating official replies, managing notifications, listing unread notifications, deleting notifications, or marking notifications as read. Trigger this skill whenever the user mentions Halo comments, comment replies, or notifications
| 1 | # Halo CLI Moderation And Notifications |
| 2 | |
| 3 | Use this skill for `halo comment`, `halo comment reply`, and `halo notification`. |
| 4 | |
| 5 | ## Commands |
| 6 | |
| 7 | ```bash |
| 8 | halo comment --help |
| 9 | halo comment reply --help |
| 10 | halo notification --help |
| 11 | ``` |
| 12 | |
| 13 | ## Comments |
| 14 | |
| 15 | Common flows: |
| 16 | |
| 17 | ```bash |
| 18 | halo comment list |
| 19 | halo comment list --approved=false |
| 20 | halo comment list --owner-kind Post --owner-name my-post |
| 21 | halo comment get comment-abc123 |
| 22 | halo comment approve comment-abc123 |
| 23 | halo comment delete comment-abc123 --force |
| 24 | ``` |
| 25 | |
| 26 | Useful filters for `comment list`: |
| 27 | |
| 28 | - `--page` |
| 29 | - `--size` |
| 30 | - `--keyword` |
| 31 | - `--owner-name` |
| 32 | - `--owner-kind` |
| 33 | - `--approved` |
| 34 | - `--sort` |
| 35 | |
| 36 | ## Replies |
| 37 | |
| 38 | Common flows: |
| 39 | |
| 40 | ```bash |
| 41 | halo comment reply list |
| 42 | halo comment reply list --comment comment-abc123 |
| 43 | halo comment reply get reply-abc123 |
| 44 | halo comment reply approve reply-abc123 |
| 45 | halo comment reply delete reply-abc123 --force |
| 46 | ``` |
| 47 | |
| 48 | Create a reply: |
| 49 | |
| 50 | ```bash |
| 51 | halo comment create-reply comment-abc123 --content "Thanks for your feedback" |
| 52 | halo comment create-reply comment-abc123 --content "Following up here" --quote-reply reply-abc123 |
| 53 | halo comment create-reply comment-abc123 --content "Internal note" --hidden |
| 54 | ``` |
| 55 | |
| 56 | Rules: |
| 57 | |
| 58 | - In non-interactive mode, `create-reply` requires `--content`. |
| 59 | - `create-reply` creates an already approved reply in console context. |
| 60 | - Replies can be quoted with `--quote-reply`. |
| 61 | |
| 62 | ## Notifications |
| 63 | |
| 64 | Common flows: |
| 65 | |
| 66 | ```bash |
| 67 | halo notification list |
| 68 | halo notification list --unread=false |
| 69 | halo notification get notification-abc123 |
| 70 | halo notification mark-as-read notification-abc123 |
| 71 | halo notification mark-as-read --all |
| 72 | halo notification delete notification-abc123 --force |
| 73 | ``` |
| 74 | |
| 75 | Useful filters for `notification list`: |
| 76 | |
| 77 | - `--page` |
| 78 | - `--size` |
| 79 | - `--unread` |
| 80 | - `--sort` |
| 81 | |
| 82 | ## Safety And Automation |
| 83 | |
| 84 | - Use `--profile <name>` when moderating a non-default environment. |
| 85 | - Use `--json` for machine-readable moderation pipelines. |
| 86 | - Use `--force` for destructive deletes in non-interactive mode. |
| 87 | - If a resource is not found, confirm the selected profile and exact resource name. |