agent-metrics

Log agent performance metrics to Engram after completed tasks.

Updated Jun 1, 2025
One-click install
npx skills add https://github.com/Yokhan/yokhanFitnessDocsWebsite --skill agent-metrics
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-metrics
Source: https://github.com/Yokhan/yokhanFitnessDocsWebsite/tree/main/.claude/skills/agent-metrics
Command: npx skills add https://github.com/Yokhan/yokhanFitnessDocsWebsite --skill agent-metrics

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automatically record post-task performance metrics to Engram, enabling visibility into accuracy, speed, and improvement over time.

Core Features & Use Cases

  • Log performance data after every completed task.
  • Aggregate metrics for weekly retrospectives and trend analysis.
  • Fallback storage to tasks/.memory-fallback.md when Engram is unavailable.

Quick Start

After finishing a task, run the metrics logging to Engram to persist the results.

Frequently Asked Questions about agent-metrics

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I log agent performance metrics after completing a task?

To log agent performance metrics, run the metrics logging process after finishing a task to persist results to Engram. It captures accuracy, duration, corrections, and confidence across all task sizes for ongoing improvement tracking.

Can I track agent accuracy and duration for weekly retrospective trend analysis?

Yes, aggregating metrics for weekly retrospectives supports trend analysis by logging accuracy, duration, corrections, and confidence data after every completed task. This enables visibility into performance improvement over time.

What happens to task performance data when Engram is unavailable?

When Engram is unavailable, task performance data uses a fallback storage mechanism. Metrics are written to tasks/.memory-fallback.md to ensure data persistence until the primary memory system is accessible again.

Do I need Engram to record post-task performance metrics?

No, you do not need Engram strictly required to record post-task metrics. The system provides a fallback to tasks/.memory-fallback.md when Engram is unavailable, ensuring continuous data capture.

What specific performance dimensions are captured for ongoing agent improvement?

The specific performance dimensions captured for ongoing improvement include accuracy, duration, corrections, and confidence. These metrics are logged via mem_save with a structured content payload after every task.

Does this logging approach work for both small and large scale tasks?

Yes, this metrics logging applies across XS through XL tasks without size restrictions. It captures accuracy, duration, corrections, and confidence uniformly to support consistent performance tracking regardless of task scale.