raw-store-patterns
CommunityPreserve raw API responses for reliable reuse.
Authorbennybennison
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Many integrations provide data that cannot be reliably re-fetched or have evolving schemas, forcing either brittle parsing at ingestion or loss of original context; this pattern solves the problem by capturing immutable raw responses and deferring extraction until access patterns justify structure.
Core Features & Use Cases
- Immutable Raw Storage: Store full API response payloads with source identifiers and fetched timestamps to preserve the original data for auditing and reprocessing.
- Parse-on-Demand: Delay JSON parsing until a value is needed, avoiding lost data when parsing fails and enabling schema evolution handling.
- Core Table Derivation: Create structured core tables derived from raw rows when queries, joins, or indexing needs emerge.
- Retention & Cleanup: Apply configurable retention windows and safe cleanup of processed records using processed_at and fetched_at markers.
- Use Case: Ideal for ingesting data from customer systems, rate-limited third-party APIs, or any source where you might only obtain a single pull and must retain an audit trail.
Quick Start
Ingest API responses into raw_{source}_{entity} with payload, source_id, and fetched_at, then extract a core table when you identify frequent query patterns.
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: raw-store-patterns Download link: https://github.com/bennybennison/agent-toolkit/archive/main.zip#raw-store-patterns 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.