Skip to main content
skill CX Codex

alert-management — Claude Code skill: what it does, how to install

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

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill alert-management -a claude-code
Open on GitHub

What alert-management 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.

What it helps with

  • 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 for the agent

  • 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

How to install alert-management

1Skills CLI (Vercel)

npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill alert-management -a claude-code

2Manually: put the files in place

~/.claude/skills/alert-management/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/alert-management/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about alert-management

How to install alert-management in Claude Code?

Run npx skills add hoangsonww/Claude-Code-Agent-Monitor --skill alert-management -a claude-code in your terminal.

What does alert-management do?

It gives the agent instructions to inspect active CCAM notifications and manage alert rules using the command line.

Does acknowledging an alert modify the active session?

No. Acknowledging an alert only updates the feed state without modifying the active session or the rule.

Source text

SKILL.md · MIT
---
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.

© hoangsonww · MIT · hoangsonww/Claude-Code-Agent-Monitor

Similar skills

All skills for Agent setup: memory, context, orchestration →

From the same set60

history-portability Pulls in Claude or Claude history and shifts whole CCAM datasets between machines. Useful when you switch laptops or need a restore. CX Codex +1 ★ 1,121repo stars config-explorer Inspects and edits Claude Code and Codex settings through CCAM with timestamped backups. Useful for auditing hooks, memory, rules, and MCP servers. CX Codex +1 ★ 1,121repo stars webhook-management Configure CCAM webhook targets, connect them to alert rules, and inspect delivery records. Use the skill when managing notification endpoints from the CLI. CX Codex +1 ★ 1,121repo stars remote-collection A skill that walks the agent through CCAM remote data sources: connect machines over SSH and pull Claude and Codex history. Useful when sessions live beyond your laptop. CX Codex +1 ★ 1,121repo stars session-compare Compare two Agent Monitor sessions across cost, tokens, events, and agent activity. Use it to see what changed between runs with different outcomes. CX Codex +1 ★ 1,121repo stars regression-watch Compares an older baseline window of session history with a recent one and reports which metrics got worse: errors, cache, compactions, cost per session. CX Codex +1 ★ 1,121repo stars pattern-detect Analyzes agent sessions via Agent Monitor to find recurring tool sequences, error cascades, and delegation habits. Generates a ranked report with recommendations. CX Codex +1 ★ 1,121repo stars optimization-suggest This skill reviews Claude Code session history and ranks ways to cut costs, improve speed, and prevent errors. Use it to plan changes based on recorded activity. CX Codex +1 ★ 1,121repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor