From openevidence-pack
Provides TypeScript in-memory caching function for OpenEvidence to reduce API calls and latency. Useful for optimizing repeated queries in healthcare apps.
How this skill is triggered — by the user, by Claude, or both
Slash command
/openevidence-pack:openevidence-performance-tuningThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
```typescript
const cache = new Map();
async function cached(key: string, fn: () => Promise<any>) {
const c = cache.get(key);
if (c?.expiry > Date.now()) return c.data;
const data = await fn();
cache.set(key, { data, expiry: Date.now() + 300_000 });
return data;
}
See openevidence-cost-tuning.
npx claudepluginhub jeremylongshore/claude-code-plugins-plus-skills --plugin openevidence-packTunes OpenEvidence API costs with caching, batching, tier selection, dashboard monitoring, and TypeScript usage tracker. Trigger: 'openevidence cost tuning'.
Analyzes and optimizes caching strategies for Redis, Memcached, and in-memory caches by tuning hit rates, TTLs, key design, and invalidation policies. Use for performance bottlenecks.
Provides TypeScript caching utility and MindTickle integration resources for performance optimization. Useful for tuning MindTickle apps or APIs.