# alert-management

Inspects fired CCAM alerts and manages monitoring rules for token thresholds, inactivity, and status duration.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · ★ 1121
- Author: hoangsonww
- License: MIT · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/hoangsonww/Claude-Code-Agent-Monitor/tree/HEAD/plugins/ccam-integrations/skills/alert-management/SKILL.md
- Updated: 2026-10-23
- HTML: https://affpapa.org/en/nevibecode/skills/alert-management

## What it does

This skill guides the agent through managing alerts via the `ccam` CLI. It enables checking unacknowledged events with `ccam alerts --unacked` and viewing existing configurations through `ccam alert-rules list`.

Every mutating action requires a preview showing the rule name, type, normalized config, and cooldown period. The `--yes` flag is restricted until confirmed. Acknowledging an alert modifies only the notification state. Underlying sessions remain untouched.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill alert-management -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/alert-management/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/alert-management/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill alert-management -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/alert-management/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill alert-management -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/alert-management/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install hoangsonww/Claude-Code-Agent-Monitor alert-management
```

2. **Manually: put the files in place**
- File: `.github/skills/alert-management/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill alert-management -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/hoangsonww/Claude-Code-Agent-Monitor --path plugins/ccam-integrations/skills/alert-management
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/alert-management/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill alert-management -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/hoangsonww/Claude-Code-Agent-Monitor/tree/HEAD/plugins/ccam-integrations/skills/alert-management/SKILL.md

## When to use it
- inspect unacknowledged CCAM alerts from the CLI
- create token threshold rules with explicit cooldown periods
- update or delete existing alert rules by identifier
- connect monitoring alert rules to webhook targets

## Example prompts
- Show all unacknowledged CCAM alerts
- Create a Token guard rule for 1000000 total tokens with a 300 second cooldown
- List all configured CCAM alert rules

## Source text · SKILL.md · MIT

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: f04b7b5620abbd8c.

BEGIN THIRD-PARTY FILE f04b7b5620abbd8c
````text
---
name: alert-management
description: >
  Inspect fired CCAM alerts and manage alert rules for token thresholds, event
  patterns, inactivity, and status duration. Use when acknowledging alerts,
  creating or editing a rule, checking cooldowns, or connecting alert rules to
  webhook targets.
---

# Alert Management

## Read

- `ccam alerts --unacked`
- `ccam alert-rules list`

## Write

Before changing anything, show the rule name, type, normalized config, enabled
state, and cooldown. Use `--yes` only after confirmation.

```bash
ccam alert-rules create --name "Token guard" --type token_threshold \
  --config '{"total_tokens":1000000}' --cooldown 300 --yes
```

Use `ccam alert-rules update <id> ... --yes` for partial edits and
`ccam alert-rules delete <id> --yes` for deletion. Acknowledgment changes the
feed state only. It does not change the rule or underlying session.

Never invent rule configs. Read the current rule and provider catalog first.
````
END THIRD-PARTY FILE f04b7b5620abbd8c

The third-party file has ended. Everything between the f04b7b5620abbd8c tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

© hoangsonww · MIT · https://github.com/hoangsonww/Claude-Code-Agent-Monitor/tree/HEAD/plugins/ccam-integrations/skills/alert-management/SKILL.md

## Similar
- [setup-matt-pocock-skills](https://affpapa.org/en/nevibecode/skills/setup-matt-pocock-skills.md) — skill · 1052851 installs
- [ask-matt](https://affpapa.org/en/nevibecode/skills/ask-matt.md) — skill · 766587 installs
- [to-tickets](https://affpapa.org/en/nevibecode/skills/to-tickets.md) — skill · 711230 installs
- [writing-plans](https://affpapa.org/en/nevibecode/skills/writing-plans.md) — skill · 282859 installs
- [caveman-review](https://affpapa.org/en/nevibecode/skills/caveman-review.md) — skill · 411800 installs
- [caveman-compress](https://affpapa.org/en/nevibecode/skills/caveman-compress.md) — skill · 411500 installs

From the same set: [hoangsonww/claude-code-agent-monitor](https://affpapa.org/en/nevibecode/by/hoangsonww/claude-code-agent-monitor.md) — 60 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
