data-retention
CommunityAutomate per-table data retention and pruning.
Authorjamesaphoenix
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Prunes stale data across tables by applying per-table retention settings to remove expired or terminal rows on a Temporal schedule, reducing storage usage and keeping data lifecycle compliant.
Core Features & Use Cases
- Central retention config via retentionTableNames and system_settings, allowing per-table enablement and retention_days.
- Per-table prune methods in repositories (pruneExpired, pruneTerminal, pruneProcessed, prunePublished) to delete old rows safely.
- Temporal-based orchestration with dataRetentionWorkflow and ensureDataRetentionSchedule to run pruning on a regular cadence.
- Runtime updates to retention policies without redeployments, enabling quick adjustments for new environments or policy changes.
Quick Start
Schedule and run the data retention workflow to prune expired and terminal rows from all configured tables.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: data-retention Download link: https://github.com/jamesaphoenix/tx-agent-kit/archive/main.zip#data-retention Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.