Content Hash Cache Pattern — Development skill for Claude Code
Cache expensive file processing results via SHA-256 content hashes — path-independent, auto-invalidating, service layer separation.
How to install Content Hash Cache Pattern
Installs to ~/.claude/skills/rustidi-ml-portfolio-content-hash-cache-pattern/SKILL.md
mkdir -p ~/.claude/skills/rustidi-ml-portfolio-content-hash-cache-pattern && curl -fsSL https://raw.githubusercontent.com/rustidi/ml-portfolio/HEAD/skills/content-hash-cache-pattern.md -o ~/.claude/skills/rustidi-ml-portfolio-content-hash-cache-pattern/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Content Hash Cache Pattern does
name: content-hash-cache-pattern description: Cache expensive file processing results via SHA-256 content hashes — path-independent, auto-invalidating, service layer separation. Useful for caching results of costly pipelines (transcription, OCR, text extraction, image analysis) so re-processing the same file is an instant hit. Triggers: "content hash cache", "file dedup", "already processed this file", "SHA-256 cache". triggers:
- "content hash cache"
- "SHA-256 cache"
- "file dedup"
Alternatives in Development
- Breach Check — HIBP k-anonymity check on a password wordlist 4.5k ★
- MCP Edit — tilth_write replaces the host Edit and Write tools 349 ★
- Symfony Cache — Implement caching strategies using Symfony Cache component 206 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Plan Attest
Lock the current task_plan.md content with a SHA-256 attestation. Hooks then refuse to inject plan content if
Hyperframes Studio Pro
MEGA motion graphics & video editing skill using Hyperframes - launch, shorts, high-energy, default, B-roll, o
Toolkit MCP Server
Generate random IDs, QR codes, and hashes, encode and decode values, and geolocate IPs, plus gated network and
Verify Chain
Verify the full receipt chain offline — structure (single unbroken chain from GENESIS, content hashes) and eve
Fullstack Reconcile
Record a reconcile point — write the current backend + app contract hashes into sync.json so drift-since-recon
Cc Plugin Lock
Lock file for Claude Code plugins: pins marketplace plugins and skills to content hashes, verifies them before
Related Agents
Econ Kotelnikov
Котельников" — Эконом токенов фабрики Зевс. Закладывает в новую систему механизмы токеносбережения: hash-cache
Password Attacks
Password cracking and credential attack specialist. Use when working with password hashes, hash cracking, word
PDF Debugger
Debug PDF processing issues — OCR failures, text extraction problems, AI misclassification, and renaming error