---
name: stijnman/predictive-cache-manager
source: https://app.decimal.ai/s/stijnman-predictive-cache-manager@1/SKILL.md
source_sha256: f6140179fd73
---

# Predictive Cache Manager

## When to Use

- User says **cache results** or task matches this capability
- User says **prefetch** or task matches this capability
- User says **reuse cache** or task matches this capability
- User says **avoid repeat fetch** or task matches this capability

## Workflow

1. Identify repeat queries from session history.
2. Cache with TTL based on data freshness needs.
3. Invalidate on write operations to same resource.
4. Prefetch only high-confidence next steps.

## Integrations

- `performance-optimizer`
- `mega-context-manager`

## Error Handling

| Failure | Response |
|---------|----------|
| Stale cache served | Shorten TTL; add freshness check. |

## Gotchas

- Never cache auth tokens or PII.

## Example

**Input:** User request matching triggers above.
**Output:** Structured result per workflow with integrations invoked as needed.