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.zipInstalls 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.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
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
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.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| agent-session-monitor (this skill) | 2 | 6mo | Review | Intermediate |
| model-usage | 5 | 2mo | Review | Beginner |
| tracking-crypto-derivatives | 4 | 27d | Review | Intermediate |
| weights-and-biases | 3 | 7mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by alibaba
View all by alibaba →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.
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".
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
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.
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".
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.