Cache expensive file processing results using SHA-256 content hashes — path-independent, auto-invalidating, with service layer separation. Use when repeated file processing is slow and results should be cached and invalidated by content rather than path.
Install
npx skills add affaan-m/ECC --skill content-hash-cache-patternnpx skills add affaan-m/ECC --skill content-hash-cache-pattern -a claude-code -gnpx skills add affaan-m/ECC --skill content-hash-cache-pattern -a codex -ggemini skills install https://github.com/affaan-m/ECC.git --path .kiro/skills/content-hash-cache-patterngh skill install affaan-m/ECC content-hash-cache-patterngit clone --depth 1 https://github.com/affaan-m/ECC /tmp/affaan-m__ECC
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/affaan-m__ECC/.kiro/skills/content-hash-cache-pattern ~/.claude/skills/content-hash-cache-pattern # Claude Code
cp -R /tmp/affaan-m__ECC/.kiro/skills/content-hash-cache-pattern ~/.agents/skills/content-hash-cache-pattern # Codex, Cursor, Gemini CLI, Copilot, OpenCode