Skip to main content
plugin CX Codex

ccam-cost-guard — Claude Code plugin: costs and setup

The ccam-cost-guard plugin tracks Claude Code spending, forecasts the month-end bill, and sets alerts when cost thresholds are reached.

MIT ★ 1,198 updated 2026-10-23

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add hoangsonww/Claude-Code-Agent-Monitor
/plugin install ccam-cost-guard@claude-code-agent-monitor-plugins
Open on GitHub

What ccam-cost-guard does

ccam-cost-guard compares current spending with a target budget and projects the month-end total from the daily trend. It also surfaces the most expensive sessions and estimates savings from routing suitable work to lower-priced models.

The plugin uses the Agent Monitor pricing engine and connects cost-threshold alert rules to the monitoring flow. Its dashboard is available at http://localhost:4820, so that address is part of the setup for viewing spend data and alerts.

Installation is provided through the Claude Code marketplace. Codex appears among the supported platforms, while the supplied installation path targets Claude Code.

What it helps with

  • track spending against a target budget
  • project the month-end cost from daily usage
  • identify the most expensive sessions
  • estimate savings from cheaper model routing
  • set alerts for spending thresholds

Example prompts for the agent

  • Compare current Claude Code spending with the target budget and forecast the month-end total.
  • Find the priciest sessions and estimate savings from routing work to cheaper models.
  • Set cost-threshold alert rules and connect them to the dashboard at http://localhost:4820.

How to install ccam-cost-guard

Plugin marketplace

/plugin marketplace add hoangsonww/Claude-Code-Agent-Monitor
/plugin install ccam-cost-guard@claude-code-agent-monitor-plugins

Step by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own

Questions about ccam-cost-guard

How do I install ccam-cost-guard in Claude Code?

Add the marketplace with /plugin marketplace add hoangsonww/Claude-Code-Agent-Monitor, then install the plugin with /plugin install ccam-cost-guard@claude-code-agent-monitor-plugins.

What does ccam-cost-guard do?

It tracks spending against a budget, forecasts the month-end cost, highlights expensive sessions, estimates savings from cheaper models, and wires up cost alerts.

What does ccam-cost-guard use to monitor costs?

The plugin relies on the Agent Monitor pricing engine and the dashboard at http://localhost:4820 for spend data and cost-alert rules.

Source text

ccam-cost-guard · MIT
Budget tracking, spend forecasting, and cost-threshold alerts for Claude Code usage via the Agent Monitor pricing engine. Watches spend against a target budget, projects month-end cost from the daily trend, surfaces the priciest sessions, estimates savings from cheaper-model routing, and wires up cost alert rules — all backed by the dashboard at http://localhost:4820.

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

Similar plugins

All plugins for Finance and business →

From the same set155

The whole set →
ccam-integrations ccam-integrations manages CCAM alert rules, universal webhooks, browser push notifications, and SSH remote data sources directly from your agent. CX Codex ★ 1,198repo stars ccam-insights ccam-insights — a Claude Code plugin that detects patterns in agent behavior, alerts on anomalies, and provides optimization recommendations. Uses Agent Monitor analytics to compare sessions and spot deviations. CX Codex ★ 1,198repo stars ccam-devtools ccam-devtools is a Claude Code plugin for debugging Claude Code Agent Monitor sessions, diagnosing hooks, and exporting monitoring data. CX Codex ★ 1,198repo stars ccam-dashboard ccam-dashboard connects Claude Code to the Agent Monitor dashboard via MCP. It feeds live session metrics, operational stats, and service health checks directly into the agent context. CX Codex ★ 1,198repo stars ccam-config ccam-config audits a Claude setup and its per-project memory: duplicated skills, risky hooks, stale facts. Results land in the dashboard at http://localhost:4820. CX Codex ★ 1,198repo stars ccam-analytics ccam-analytics tracks Claude Code sessions via Agent Monitor, providing token breakdowns, cost tracking, usage trends, and productivity scores. CX Codex ★ 1,198repo stars session-timeline session-timeline reconstructs a chronological event timeline for a Claude Code session from Agent Monitor data with exact tool durations. CX Codex +1 ★ 1,198repo stars session-search session-search is a Claude Code skill that finds Agent Monitor sessions by project, model, status, or date, sorting by cost or recency. It helps locate a saved run. CX Codex +1 ★ 1,198repo stars

Project sponsors

Companies that keep this analytics open