Skip to content
Back to skills

Trace Stats

ASecurity

Monitor token consumption, cost metrics, and tool reliability rates via agents-traces MCP.

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 27, 2026
ai-agents

Works with

  • cli
  • mcp

Security analysis

A100/100

Scanned September 27, 2026

npx -y skills add Lolaplex/agents-traces --skill trace-stats --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Trace Stats?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Trace Stats
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/lolaplex-trace-stats/badge)](https://www.skillsdirectory.com/skills/lolaplex-trace-stats)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: trace-stats
description: Monitor token consumption, cost metrics, and tool reliability rates via agents-traces MCP.
---

# Trace Stats Skill

Use this skill when checking session resource usage, cost breakdowns, or error percentages.

## How to check Agent Metrics

1. To get today's token, cost, and tool reliability metrics:
   - Tool: `get_session_stats(days=1)`
   - Or CLI: `agents-traces stats`
2. For weekly aggregated usage:
   - Tool: `get_session_stats(days=7)`
   - Or CLI: `agents-traces stats --days 7`
3. Per-model failure rates:
   - Tool: `get_model_stats(days=7)`
   - Or CLI: `agents-traces analyze-models`
4. Identify problematic tools:
   - Check `top_tools` and `tool_success_rate` in the returned JSON.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.