Skip to content

performance-memory

Use when reading or writing performance history for a client site, calculating trend deltas, comparing snapshots, tracking issue lifecycle, or managing performance-history.json. Also use when any skill needs to persist a partial metrics snapshot after completing its own analysis.

ModelSource
sonnetpack: assessment
Full Reference

Manages performance-history.json at the project root. Shared infrastructure layer for the assessment pack and any skill that wants to persist performance data between runs.

OperationWhen
snapshot.createAfter a full master-performance-assessment run
snapshot.compareCalculating MoM/QoQ deltas for trend display
trends.calculateGenerating sparkline data for reports
issues.trackMarking an issue resolved or wont-fix
issues.correlateSurfacing cross-domain issue relationships
history.pruneArchiving snapshots older than retentionMonths
partial.writeSingle-skill writes (seo-audit, cro-audit, etc.)
ItemValue
File locationperformance-history.json at project root
Schema version1.0
Default retention24 months
Snapshot fieldsseo, performance, analytics, ads, local, cro, content, ai, competitor
I want to…File
Understand the full JSON schema and all field definitionsreference/schema.md
Implement create, compare, trend calculation, and prune operationsreference/operations.md
Write a partial snapshot from a single skill (seo-audit, cro-audit, etc.)reference/integration.md

Usage: Read the reference file matching your current task. Each file is self-contained.


┏━ 🧠 performance-memory ━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ Performance history CRUD — trends, snapshots, ┃ ┃ issue tracking, cross-skill shared layer ┃ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛