What problem does it solve?
This Skill eliminates wasted compute from re-running expensive file processing operations (such as PDF parsing, text extraction, or image analysis) when files are renamed, moved, or their content has not changed since the last processing run.
Core Features & Use Cases
- Content-hash cache keys: Uses SHA-256 file content hashes instead of file paths, so cache hits work even after files are moved or renamed, and automatically invalidate when file content changes.
- No external index required: Cache entries are stored as individual files named with their content hash for O(1) lookup, with no separate index file to manage or risk corruption.
- Use Case: For teams running weekly batch PDF invoice extraction pipelines, this Skill caches extraction results so only files with updated content are re-processed, cutting total runtime from hours to minutes.
Quick Start
Use the content-hash-cache-pattern skill to add caching to your existing PDF text extraction function so it skips re-processing files that haven't changed since the last run.