界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

juicebox-cost-tuning

juicebox-cost-tuning

【效率与协作】Optimize Juicebox costs. Trigger: "juicebox cost", "juicebox billing", "juicebox budget".

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: juicebox-cost-tuning description: 'Optimize Juicebox costs.

Trigger: "juicebox cost", "juicebox billing", "juicebox budget".

' allowed-tools: Read, Write, Edit, Grep version: 1.16.0 license: MIT author: Jeremy Longshore jeremy@intentsolutions.io tags:

  • saas
  • recruiting
  • juicebox compatibility: Designed for Claude Code

Juicebox Cost Tuning

Cost Factors

FeatureCost Driver
SearchPer query
EnrichmentPer profile
Contact dataPer lookup
OutreachPer message

Reduction Strategies

  1. Cache search results (avoid duplicate queries)
  2. Use filters (fewer wasted enrichments)
  3. Only enrich top-scored candidates
  4. Only get contacts for final candidates

Quota Monitoring

const quota = await client.account.getQuota();
console.log(`Searches: ${quota.searches.used}/${quota.searches.limit}`);
if (quota.searches.used > quota.searches.limit * 0.8) console.warn('80% quota used');

Overview

Use cost controls as a safety boundary: validate them first in a sandbox, reduce unnecessary processing, and never treat cost optimization as permission to expand data or outreach scope.

Prerequisites

  • An approved budget, synthetic sandbox fixture, source/destination allowlists, suppression controls, current quota baseline, and a rollback owner.

Instructions

  1. Measure cache and batching changes with synthetic inputs and aggregate counters only; reject unapproved sources, destinations, or contact exports.
  2. Compare each canary to the approved quota baseline, verify suppression and contacts_exported=0, and stop on material scope or policy drift.
  3. Promote cost settings only after owner approval; restore the prior configuration and cancel queued work on failure.
  4. Retain a redacted summary and delete test artifacts at the end of the approved window.

Output

Record a cost-control receipt with environment, baseline and aggregate usage, cache/batch setting, suppression/no-export results, owner approval, rollback action, and retention/deletion proof. Exclude query text, contacts, and credentials.

Error Handling

ConditionResponse
Budget or quota anomalyPause the canary, cancel queued work, and restore the approved configuration.
Source, destination, or suppression driftReject the run and investigate with redacted aggregate telemetry only.

Examples

env=staging; fixture=synthetic; cache=enabled; usage_delta=-18%; suppression=pass; contacts_exported=0; rollback=available supports an approval decision.

Resources

Next Steps

See juicebox-reference-architecture.

我的收藏