content-hash-cache-pattern
content hash cache pattern
What it does
- Building file processing pipelines (PDF, images, text extraction)
- Processing cost is high and same files are processed repeatedly
- Need a --cache/--no-cache CLI option
- Want to add caching to existing pure functions without modifying them
- Hash content, not paths — paths change, content identity doesn't
- Chunk large files when hashing — avoid loading entire files into memory
- Keep processing functions pure — they should know nothing about caching
Requirements & configuration
- Need a --cache/--no-cache CLI option
Derived from the skill's own SKILL.md documentation · extracted 2026-07-23
content-hash-cache-pattern FAQ
What does the content-hash-cache-pattern skill do?
Cache expensive file processing results using SHA-256 content hashes — path-independent, auto-invalidating, with service layer separation. Building file processing pipelines (PDF, images, text extraction) Processing cost is high and same files are processed repeatedly
How do I install content-hash-cache-pattern?
Run: npx -y skills add https://github.com/affaan-m/everything-claude-code --skill content-hash-cache-pattern --agent claude-code — the source lives at github.com/affaan-m/everything-claude-code.
Maintain content-hash-cache-pattern?
Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.
[](https://getagentictools.com/skills/affaan-m-everything-claude-code-content-hash-cache-pattern?ref=badge) npx agentictools info skills/affaan-m-everything-claude-code-content-hash-cache-pattern The second line is the CLI lookup for this page — handy in READMEs and docs.