Skip to content
C

content-hash-cache-pattern

Cache expensive file processing results using SHA-256 content hashes

by affaan-mFree

#206in AI Skills
0In stores

Description

content-hash-cache-pattern is an agent skill from the ECC collection by affaan-m, listed on skills.sh. It teaches a pattern for caching expe…

Highlights

  • SHA-256 content hash as cache key
  • Survives file moves and renames
  • Invalidates automatically on content change
  • Adds --cache and --no-cache options

Ratings & Reviews

No ratings yet

Be the first to rate content-hash-cache-pattern.

People also visit

C

cache-strategist

Redis, caching patterns, and cache invalidation strategies expert

AI Skills
Get
N

netlify-caching

Cache dynamic and static responses on Netlify's CDN from Functions

AI Skills
Get
H

hivemind

Auto-generates skills from coding agent session traces for Claude Code, Codex

AI Skills
Get
N

next-cache-components

Next.js 16 Cache Components

AI Skills
Get
A

amazon-elasticache

Activate when developers have latent caching needs: slow API responses

AI Skills
Get
M

memory-md-management

Provides comprehensive memory file management capabilities including auditing

AI Skills
Get

content-hash-cache-pattern FAQ

What does the content-hash-cache-pattern skill do?

It shows an agent how to cache slow file processing results by file content, so repeated work on the same files is skipped.

Why hash the content rather than the path?

Content hashes survive file moves and renames and update when the file's contents change, while path keys do not.

Which kinds of processing does it cover?

PDF parsing, text extraction and image analysis, as examples.

How do I install it?

Run: npx skills add https://github.com/affaan-m/ecc --skill content-hash-cache-pattern

Is it free?

Yes. It is free and open source.

Are there security findings?

The skills.sh listing shows Gen Agent Trust Hub, Socket and Snyk all passing.

What are the best content-hash-cache-pattern alternatives?

Popular alternatives to content-hash-cache-pattern include cache-strategist, netlify-caching and hivemind. See all content-hash-cache-pattern alternatives

Developer Stuff

Badges