juicebox-performance-tuning

Installation
SKILL.md

Juicebox Performance Tuning

Use Specific Filters

// SLOW: broad query
await client.search({ query: 'engineer' });
// FAST: targeted with filters
await client.search({ query: 'backend engineer', filters: { location: 'SF', skills: ['Go'] }, limit: 20 });

Cache Results

const cache = new Map();
async function cachedSearch(query: string) {
  const cached = cache.get(query);
  if (cached?.expiry > Date.now()) return cached.result;
  const result = await client.search({ query, limit: 20 });
  cache.set(query, { result, expiry: Date.now() + 300_000 });
  return result;
}

Batch Enrichment

const enriched = await client.enrichBatch({
  profile_ids: profiles.map(p => p.id),
  fields: ['skills_map', 'contact']
});

Resources

Next Steps

See juicebox-cost-tuning.

Weekly Installs
26
GitHub Stars
2.1K
First Seen
Feb 27, 2026