# Alert Management

Inspect fired CCAM alerts and manage alert rules for token thresholds, event patterns...

- Repository: https://github.com/hoangsonww/Claude-Code-Agent-Monitor (1136 stars)
- Category: Engineering
- License: MIT
- Last updated: 2026-10-31
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill alert-management -g -a claude-code -y`
Codex: `npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill alert-management -g -a codex -y`
Cursor: `npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill alert-management -g -a cursor -y`
Gemini CLI: `npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill alert-management -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add hoangsonww/Claude-Code-Agent-Monitor`

## 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.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# 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.

