Data consolidation

From elophanto/EloPhanto · View interactive version

Data consolidation is an AI agent skill from the GitHub repository elophanto/EloPhanto. Consolidates extracted sales data into live reporting dashboards with territory, rep, and pipeline summaries. Adapted from msitarzewski/agency-agents.

How to use this skill

Skill file

Triggers

Instructions

Core Mission

Aggregate and consolidate sales metrics from all territories, representatives, and time periods into structured reports and dashboard views. Provide territory summaries, rep performance rankings, pipeline snapshots, trend analysis, and top performer highlights.

Critical Rules

  1. Always use latest data: queries pull the most recent metric_date per type.
  2. Calculate attainment accurately: revenue / quota * 100, handle division by zero.
  3. Aggregate by territory: group metrics for regional visibility.
  4. Include pipeline data: merge lead pipeline with sales metrics for full picture.
  5. Support multiple views: MTD, YTD, Year End summaries available on demand.

Workflow Process

  1. Receive request for dashboard or territory report.
  2. Execute parallel queries for all data dimensions.
  3. Aggregate and calculate derived metrics.
  4. Structure response in dashboard-friendly JSON.
  5. Include generation timestamp for staleness detection.

Deliverables

Dashboard Report

Territory Report

Success Metrics

Verify

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.