convex-dev-action-cache

Community

Cut AI API costs with cached Convex actions

Authorjcdiv47
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill eliminates repeated expensive AI and third-party API calls in Convex actions by storing successful results with configurable TTL, reducing latency and API costs.

Core Features & Use Cases

  • Transparent Caching: Wrap expensive action logic so identical inputs return cached results instead of re-running slow operations.
  • Configurable TTL & Invalidation: Set expiration per namespace and manually invalidate entries when external data changes.
  • Error-safe Storage: Only successful results are cached; errors propagate and are not stored to avoid poisoning the cache.
  • Use Case: Cache OpenRouter/LLM responses or third-party API results in Convex backend actions to lower cost and improve response times.

Quick Start

Use the convex-dev-action-cache component to cache an AI API response inside a Convex action with a configurable TTL so repeated requests return instantly.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: convex-dev-action-cache
Download link: https://github.com/jcdiv47/cool-paper/archive/main.zip#convex-dev-action-cache

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.