AG

agent-session-monitor

Real-time conversation monitor for tracking AI costs, token usage, and session history.

Install

mkdir -p .claude/skills/agent-session-monitor && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/2642" && unzip -o skill.zip -d .claude/skills/agent-session-monitor && rm skill.zip

Installs to .claude/skills/agent-session-monitor

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Real-time agent conversation monitoring - monitors Higress access logs, aggregates conversations by session, tracks token usage. Supports web interface for viewing complete conversation history and costs. Use when users ask about current session token consumption, conversation history, or cost statistics.
306 chars✓ has a “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)
Intermediate

Key capabilities

  • Aggregates conversations by session ID
  • Tracks input/output/reasoning token usage
  • Parses log rotation files
  • Generates session drill-down reports
  • Calculates operational costs

How it works

Reads and incrementally parses Higress access log files into structured JSON session data for web visualization.

Inputs & outputs

You give it
Path to proxy access logs
You get back
Session statistics and web dashboard view

When to use agent-session-monitor

  • Monitor token consumption
  • View conversation history
  • Analyze AI operational costs

About agent-session-monitor

Parses proxy access logs to reconstruct multi-turn conversations. It tracks token consumption and provides visualization for session insights.

Real-time agent conversation monitoring - monitors Higress access logs, aggregates conversations by session, tracks token usage. Supports web interface for viewing complete conversation history and costs. Use when users ask about current session token consumption, conversation history, or cost statistics.

When not to use it

  • Real-time production monitoring without log access
  • Small sessions where logging overhead is unnecessary

Prerequisites

Higress access logsPython environment for parsing

Limitations

  • Requires read access to server logs
  • Parsing latency depends on log volume
  • Dependent on stable JSON log formatting

How it compares

It reconstructs conversation state and costs from raw logs rather than relying on API telemetry.

Compared to similar skills

agent-session-monitor side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
agent-session-monitor (this skill)26moReviewIntermediate
model-usage52moReviewBeginner
tracking-crypto-derivatives427dReviewIntermediate
weights-and-biases37moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

higress-auto-router

alibaba

Configure automatic model routing using the get-ai-gateway.sh CLI tool for Higress AI Gateway. Use when: (1) User wants to configure automatic model routing, (2) User mentions 'route to', 'switch model', 'use model when', 'auto routing', (3) User describes scenarios that should trigger specific models, (4) User wants to add, list, or remove routing rules.

14

higress-clawdbot-integration

alibaba

Deploy and configure Higress AI Gateway for Clawdbot/OpenClaw integration. Use when: (1) User wants to deploy Higress AI Gateway, (2) User wants to configure Clawdbot/OpenClaw to use Higress as a model provider, (3) User mentions 'higress', 'ai gateway', 'model gateway', 'AI网关', (4) User wants to set up model routing or auto-routing, (5) User needs to manage LLM provider API keys, (6) User wants to track token usage and conversation history.

11

higress-daily-report

alibaba

生成 Higress 项目每日报告,追踪 issue/PR 动态,沉淀问题处理经验,驱动社区问题闭环。用于生成日报、跟进 issue、记录解决方案。

13

higress-wasm-go-plugin

alibaba

Develop Higress WASM plugins using Go 1.24+. Use when creating, modifying, or debugging Higress gateway plugins for HTTP request/response processing, external service calls, Redis integration, or custom gateway logic.

12

nginx-to-higress-migration

alibaba

Migrate from ingress-nginx to Higress in Kubernetes environments. Use when (1) analyzing existing ingress-nginx setup (2) reading nginx Ingress resources and ConfigMaps (3) installing Higress via helm with proper ingressClass (4) identifying unsupported nginx annotations (5) generating WASM plugins for nginx snippets/advanced features (6) building and deploying custom plugins to image registry. Supports full migration workflow with compatibility analysis and plugin generation.

11

bmad-agent-pm

alibaba

Product manager for PRD creation and requirements discovery. Use when the user asks to talk to John or requests the product manager.

00

You might also like

model-usage

openclaw

Use CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.

548

tracking-crypto-derivatives

jeremylongshore

Track cryptocurrency futures, options, and perpetual swaps with funding rates, open interest, liquidations, and comprehensive derivatives market analysis. Use when monitoring derivatives markets, analyzing funding rates, tracking open interest, finding liquidation levels, or researching options flow. Trigger with phrases like "funding rate", "open interest", "perpetual swap", "futures basis", "liquidation levels", "options flow", "put call ratio", "derivatives analysis", or "BTC perps".

437

weights-and-biases

davila7

Track ML experiments with automatic logging, visualize training in real-time, optimize hyperparameters with sweeps, and manage model registry with W&B - collaborative MLOps platform

325

tooluniverse-pharmacovigilance

mims-harvard

Analyze drug safety signals from FDA adverse event reports, label warnings, and pharmacogenomic data. Calculates disproportionality measures (PRR, ROR), identifies serious adverse events, assesses pharmacogenomic risk variants. Use when asked about drug safety, adverse events, post-market surveillance, or risk-benefit assessment.

323

analyzing-mempool

jeremylongshore

Monitor blockchain mempools for pending transactions, gas analysis, and MEV opportunities. Use when analyzing pending transactions, optimizing gas prices, or researching MEV. Trigger with phrases like "check mempool", "scan pending txs", "find MEV", "gas price analysis", or "pending swaps".

318

video-comparer

daymade

This skill should be used when comparing two videos to analyze compression results or quality differences. Generates interactive HTML reports with quality metrics (PSNR, SSIM) and frame-by-frame visual comparisons. Triggers when users mention "compare videos", "video quality", "compression analysis", "before/after compression", or request quality assessment of compressed videos.

15

Search skills

Search the agent skills registry