log-metrics
CommunityLog and query agent metrics with CSV backup.
Author5hdaniel
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Teams need a reliable way to record and query agent metrics generated during automation runs, preserving a primary source of truth in Supabase and a lightweight CSV backup for traceability.
Core Features & Use Cases
- Automatic capture of agent metrics to the Supabase pm_token_metrics table and an append-only CSV token log for backup.
- Flexible querying and labeling by task_id, agent_type, session_id, date, and agent_id to analyze sprint progress and individual performance.
- Use Case: During a sprint, consolidate metrics across agents to measure total input/output tokens, API calls, and durations to guide optimization decisions.
Quick Start
Log a metric entry for engineer TASK-1775 with 5000 input_tokens and 3000 output_tokens.
Dependency Matrix
Required Modules
None requiredComponents
scripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: log-metrics Download link: https://github.com/5hdaniel/Mad/archive/main.zip#log-metrics Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.