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 ★
- Claude Code Hooks — 🪝 A growing collection of useful Claude Code hooks 340 ★
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
Ask Claude And Sol For Codex
A second opinion is useful. Two independent second opinions are more useful
Toolkit MCP Server
Generate random IDs, QR codes, and hashes, encode and decode values, and geolocate IPs, plus gated network and
Skill Scout
🔍 Discover + safety-vet Claude Code extensions before you install them - a 0-100 trust score for discovery +
Secondmate Verify
Run the secondmate pre-integration gate on a maker's worktree — clean tree, non-empty diff, exact-SHA match, t
Inspeximus
Your agent's most expensive failure is not forgetting. It is confidently remembering the old answer. inspeximu
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