Quarterly database cleanup

From TomGranot/hubspot-admin-skills · View interactive version

Quarterly database cleanup is an AI agent skill from the GitHub repository TomGranot/hubspot-admin-skills. Run a comprehensive quarterly CRM audit covering list health, bounce monitoring, data quality, scoring calibration, engagement metrics, and property cleanup. Produces a health report with quarter-over-quarter trend comparison.

How to use this skill

Skill file

Quarterly Database Cleanup

A structured quarterly audit that catches data drift before it becomes a crisis. Run this at the start of each quarter (or monthly if the database is large or fast-growing).

Prerequisites

Audit Checklist

1. List Health

2. Bounce Monitoring

3. Data Quality

4. Scoring Calibration

5. Engagement Metrics

6. Property Cleanup

Step-by-Step Instructions

Stage 1: Before — Gather Baselines

  1. Locate the previous quarter's report (if it exists) in reports/.
  2. Run /hubspot-audit to get fresh numbers across all dimensions (or /hubspot-marketing-audit / /hubspot-sales-audit if each team reviews its own side).

Stage 2: Execute — Deep Review

For each checklist item above:

  1. Pull current metrics via the HubSpot API (reuse audit script patterns).
  2. Compare to the previous quarter's numbers.
  3. Flag any metric that worsened by more than 5 percentage points.
  4. Document specific contacts, lists, or properties that need action.

Stage 3: After — Generate Report

Save a report to reports/quarterly-cleanup-{YYYY-Q#}.md with this structure:

# Quarterly Database Health Report — YYYY Q#

## Summary

| Metric | Last Quarter | This Quarter | Change |
|--------|-------------|-------------|--------|
| Total contacts | XX,XXX | XX,XXX | +X% |
| Data completeness | XX% | XX% | +X% |
| Bounce rate | X.X% | X.X% | -X% |
| Zombie contacts | XX% | XX% | -X% |
| Unused lists | XX | XX | -XX |

## Action Items

1. [item with owner and deadline]
2. ...

## Detailed Findings

[One section per checklist item with metrics and recommendations]

Stage 4: Rollback

This is a read-only audit — no rollback needed. Action items from the report are executed separately through their respective skills.

Scheduling

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.