# Agent Cache

> Cache les réponses des agents pour skipper l'exécution quand l'output est prédictible. Use when you want to cut 10-15% by avoiding redundant agent runs.

- Skill: `zedarvates/agent-cache` (Agent Skill, multi-file: 4 files)
- Install (CLI): `npx skillmds@latest add zedarvates/agent-cache`
- Raw SKILL.md: https://api.skillmd.com/api/skills/zedarvates/agent-cache/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: zedarvates (https://skillmd.com/u/zedarvates)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/zedarvates/agent-cache

---

# Agent Cache

Skippe l'exécution d'un agent si son résultat peut être prédit.

## Stratégies de matching

| Stratégie | Description | Quand |
|-----------|-------------|-------|
| Exact hash | Même input → même output | Tâches déterministes |
| Fingerprint | Code inchangé → résultat inchangé | Audit, linting |
| Fuzzy match | Similarité sémantique | Questions similaires |

## Usage

```bash
python -m skills.agent_cache.cli check "query" --agent audit
python -m skills.agent_cache.cli store "query" "response" --agent fix
python -m skills.agent_cache.cli stats
```

