snapshot-aggregation

Compress and aggregate time-series data into daily snapshots with merge logic.

783|62|Updated Jan 19, 2026
One-click install
npx skills add https://github.com/dadbodgeoff/drift --skill snapshot-aggregation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: snapshot-aggregation
Source: https://github.com/dadbodgeoff/drift/tree/main/drift%20v1%20depreciated/skills/snapshot-aggregation
Command: npx skills add https://github.com/dadbodgeoff/drift --skill snapshot-aggregation

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the challenge of rapidly growing raw event data by providing a method for daily compression, merging logic for multiple pipeline runs, and structured aggregation for dashboards, while also estimating storage needs for capacity planning.

Core Features & Use Cases

  • Daily Compression: Reduces the volume of time-series data for efficient storage and querying.
  • Merge Logic: Ensures data from multiple daily pipeline runs is correctly merged without overwriting.
  • Dashboard Aggregation: Structures data for easy use in historical dashboards.
  • Storage Estimation: Provides insights into storage requirements for capacity planning.
  • Use Case: When raw event data becomes too large for direct queries, this Skill creates daily snapshots that retain essential information for historical analysis and reporting, using minimal storage.

Quick Start

Use the snapshot-aggregation skill to aggregate the latest pipeline results into a daily snapshot.

Frequently Asked Questions about snapshot-aggregation

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

FAQPage Schema
How do I compress time-series data for daily dashboard aggregation?

Compress time-series data into daily snapshots by merging raw event data, predictions, and statistics into a structured DailySnapshot interface using TypeScript, which retains essential historical information while minimizing storage volume.

What is the best way to merge time-series data from multiple pipeline runs?

Merging time-series data from multiple pipeline runs requires specific merge logic to ensure later runs correctly update without overwriting previous daily snapshots, facilitating structured aggregation for historical dashboards and reporting.

How does storage estimation work for compressed time-series snapshots?

Storage estimation for compressed time-series snapshots calculates capacity requirements by evaluating the volume reduction achieved through daily aggregation, providing insights for capacity planning when raw event data becomes too large for direct queries.

Can I use TypeScript to generate daily snapshots from raw event data?

Yes, you can use TypeScript to generate daily snapshots by processing raw event data, predictions, and statistics into a structured DailySnapshot interface, handling the compression and aggregation logic efficiently for dashboard integration.

When do I need daily snapshot aggregation for time-series data?

Daily snapshot aggregation is needed when raw event data becomes too large for direct queries, allowing you to retain essential information for historical analysis and reporting while using minimal storage.