Skip to main content

Overview

Every Skills instance tracks usage metrics per skill automatically. Metrics help you understand which skills agents use, how often, and how much content they load.

Accessing Metrics

From an Agent

From a Task

Directly from Skills

SkillMetrics Fields

Team Metrics

When skills are attached to a Team, each agent gets an independent copy with its own metrics:
Team skill propagation uses Skills.copy() internally, so each agent’s metrics are tracked independently — one agent’s usage doesn’t affect another’s counts.

Serialization

SkillMetrics supports to_dict() and from_dict() for serialization: