SKILL·30D28F

content-hash-cache-pattern

affaan-m
Updated 1 month ago
13 views
77,317
9,709
77,317
View on GitHub
Othergeneral

About

This skill implements a content-hash caching pattern for expensive file processing tasks like PDF parsing or image analysis. It uses SHA-256 hashes of file contents as cache keys, making the cache path-independent and automatically invalidating when content changes. Developers should use it when building file processing pipelines where the same files are repeatedly processed and they need to add caching without modifying existing pure functions.

Quick Install

Claude Code

Recommended
Primary
npx skills add affaan-m/everything-claude-code -a claude-code
Plugin CommandAlternative
/plugin add https://github.com/affaan-m/everything-claude-code
Git CloneAlternative
git clone https://github.com/affaan-m/everything-claude-code.git ~/.claude/skills/content-hash-cache-pattern

Copy and paste this command in Claude Code to install this skill

GitHub Repository

affaan-m/everything-claude-code
Path: docs/zh-CN/skills/content-hash-cache-pattern
0
ai-agentsanthropicclaudeclaude-codedeveloper-toolsllm
FAQ

Frequently asked questions

What is the content-hash-cache-pattern skill?

content-hash-cache-pattern is a Claude Skill by affaan-m. Skills package instructions and resources that Claude loads on demand, so Claude can perform content-hash-cache-pattern-related tasks without extra prompting.

How do I install content-hash-cache-pattern?

Use the install commands on this page: add content-hash-cache-pattern to Claude Code as a plugin, or clone its repository into your skills directory, then restart Claude so it picks up the skill.

What category does content-hash-cache-pattern belong to?

content-hash-cache-pattern is in the Other category, tagged general.

Is content-hash-cache-pattern free to use?

Yes. content-hash-cache-pattern is listed on AIMCP and free to install. It runs inside Claude, so no separate service account is required to use the skill itself.

Related Skills

llamaguard
Other

LlamaGuard is Meta's 7-8B parameter model for moderating LLM inputs and outputs across six safety categories like violence and hate speech. It offers 94-95% accuracy and can be deployed using vLLM, Hugging Face, or Amazon SageMaker. Use this skill to easily integrate content filtering and safety guardrails into your AI applications.

View skill
cost-optimization
Other

This Claude Skill helps developers optimize cloud costs through resource rightsizing, tagging strategies, and spending analysis. It provides a framework for reducing cloud expenses and implementing cost governance across AWS, Azure, and GCP. Use it when you need to analyze infrastructure costs, right-size resources, or meet budget constraints.

View skill
sports-betting-analyzer
Other

This Claude Skill analyzes sports betting markets including spreads, over/unders, and prop bets by examining historical trends and situational statistics to identify value bets. It provides structured markdown output with actionable recommendations for educational purposes. Developers should use this for sports betting analysis tools while noting it's designed for entertainment/education only.

View skill
quantizing-models-bitsandbytes
Other

This skill quantizes LLMs to 8-bit or 4-bit precision using bitsandbytes, achieving 50-75% memory reduction with minimal accuracy loss. It's ideal for running larger models on limited GPU memory or accelerating inference, supporting formats like INT8, NF4, and FP4. The skill integrates with HuggingFace Transformers and enables QLoRA training and 8-bit optimizers.

View skill