manage-metrics
Installation
SKILL.md
Manage Metrics
Collects wall-clock duration and token usage data per phase, generates incremental metrics.md reports in the plan directory.
Scope: hybrid means this skill stores data per-plan (.plan/plans/{plan_id}/) but can also enrich from the host platform's session transcripts on disk.
Enforcement
Base contract: See manage-contract.md for shared enforcement rules, TOON output format, and error response patterns.
Skill-specific constraints:
- Script-only skill — all access via the script API
- Never hard-code token values — only use data from Task agent
<usage>tags - Metrics data stored in
.plan/plans/{plan_id}/work/metrics.toon; human-readable output in.plan/plans/{plan_id}/metrics.md - Phase names must be one of:
1-init,2-refine,3-outline,4-plan,5-execute,6-finalize(must matchmanage-statusphases exactly)