Skip to main content
plugin CX Codex

ccam-insights — Claude Code plugin: session analysis and anomalies

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.

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-insights@claude-code-agent-monitor-plugins
Open on GitHub

What ccam-insights does

The plugin analyzes Agent Monitor data — logs, token usage, and tool calls — to show where the agent spends more resources than usual. Identifies recurring patterns across sessions and flags anomalies: sudden spikes in requests, infinite loops, or redundant tool invocations.

Offers actionable improvements: rewrite the prompt, cap recursion depth, cache results. Compares the current session against previous ones to see if agent behavior shifted after a config update.

MIT licensed, installed via marketplace. The plugin depends on Agent Monitor: without recorded sessions, there is nothing to analyze.

What it helps with

  • find which tasks consume the most tokens
  • get alerts on infinite loops or excessive tool calls
  • compare current session against past runs and spot changes
  • receive optimization recommendations for prompts and settings
  • catch anomalies before the budget runs out

Example prompts for the agent

  • Show patterns in the last session and where the agent spent the most
  • Compare this session to the previous one and highlight anomalies
  • Give me recommendations on reducing API call count

How to install ccam-insights

Plugin marketplace

/plugin marketplace add hoangsonww/Claude-Code-Agent-Monitor
/plugin install ccam-insights@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-insights

How to install ccam-insights in Claude Code?

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

What does ccam-insights do?

The plugin analyzes Agent Monitor sessions, detects patterns and anomalies in agent behavior, compares sessions, and suggests ways to reduce token and tool call usage.

What does ccam-insights require to work?

Agent Monitor must be set up and collecting session data. Without recorded metrics, the plugin cannot perform analysis.

Source text

ccam-insights · MIT
AI-powered insights for Claude Code — pattern detection, anomaly alerting, optimization recommendations, and session comparison using Agent Monitor analytics.

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

Similar plugins

All plugins for Agent setup: memory, context, orchestration →
analytics-insights Indranil Banerjee analytics-insights — a skill for designing an analytics layer with KPI frameworks, report templates, and attribution models. Activates when you work with metrics, success measures, and traffic anomalies. CX Codex +1 ★ 1,596repo stars insights Rohit Ghumare The insights skill turns project memory and session history into analytics on corrections, saved learnings, and coding activity. Ask for a report to spot recurring patterns. CX Codex +1 ★ 2,966repo stars get-token-insights Samarth Gupta get-token-insights parses Claude Code conversation history, flags token waste, and generates an offline dashboard covering costs, hooks, and agent workflows. CX Codex +1 ★ 276repo stars turning-engineering-analytics-into-insights PostHog turning-engineering-analytics-into-insights — a skill for Claude Code and Codex: converts PR and CI metrics into saved PostHog insights, dashboards, and automated subscriptions. Triggers when visualizing engineering team performance. CX Codex +1 189installs creator-insights Starchild-ai-agent The creator-insights skill analyzes Twitter/X accounts, spots viral patterns and high-value followers, and drafts tweets. Use it for creator research and niche analysis. CX Codex +1 151installs creating-box-plot-insights PostHog The creating-box-plot-insights Claude Code skill builds box plot insights in PostHog from product analytics or SQL. It runs on requests to chart a numeric distribution, compare medians, or save an insight. CX Codex +1 148installs

From the same set155

The whole set →
ccam-quality ccam-quality tracks Claude Code session reliability, API errors, and SLO error budgets via the local Agent Monitor stream. CX Codex ★ 1,198repo stars ccam-productivity ccam-productivity — a plugin for standups, weekly reports, sprint summaries, and workflow tuning based on Agent Monitor session data. CX Codex ★ 1,198repo stars ccam-platform ccam-platform — a plugin for Claude Code and Codex that handles configuration, session history, backups, and MCP servers. Keeps your settings safe across updates and lets you restore them on a fresh install. CX Codex ★ 1,198repo stars 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-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-cost-guard The ccam-cost-guard plugin tracks Claude Code spending, forecasts the month-end bill, and sets alerts when cost thresholds are reached. 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

Project sponsors

Companies that keep this analytics open