Claude-code-plugins-plus fathom-cost-tuning

install
source · Clone the upstream repo
git clone https://github.com/jeremylongshore/claude-code-plugins-plus-skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/jeremylongshore/claude-code-plugins-plus-skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/plugins/saas-packs/fathom-pack/skills/fathom-cost-tuning" ~/.claude/skills/jeremylongshore-claude-code-plugins-plus-fathom-cost-tuning && rm -rf "$T"
manifest: plugins/saas-packs/fathom-pack/skills/fathom-cost-tuning/SKILL.md
source content

Fathom Cost Tuning

Overview

Fathom pricing scales with per-seat licensing for team features, with primary cost drivers being transcript storage volume and recording hours consumed. Every meeting generates a transcript and AI summary that persist in storage. For organizations running dozens of meetings daily, unchecked transcript accumulation and redundant API polling for meeting data create unnecessary spend. Optimizing retrieval patterns and storage lifecycle directly reduces both API costs and plan overhead.

Cost Breakdown

ComponentCost DriverOptimization
Seat licensesPer-user/month for Team planAudit active seats quarterly; remove inactive users
Transcript storageAccumulated meeting transcriptsArchive transcripts older than 90 days to local storage
Recording hoursMeeting duration across all usersDisable recording for standup/informal meetings
API pollingRepeated list/get calls for meeting dataUse webhooks for push notifications instead of polling
CRM sync eventsPer-meeting sync to Salesforce/HubSpotBatch CRM writes; skip internal-only meetings

API Call Reduction

class FathomTranscriptCache {
  private cache = new Map<string, { transcript: string; summary: string }>();

  async getTranscript(meetingId: string, apiFn: () => Promise<any>): Promise<any> {
    // Transcripts are immutable after generation — cache permanently
    if (this.cache.has(meetingId)) return this.cache.get(meetingId);
    const result = await apiFn();
    this.cache.set(meetingId, result);
    return result;
  }

  async listMeetings(params: { include_summary: boolean }): Promise<any[]> {
    // Always use include_summary=true to avoid N+1 calls
    // Fetches summaries inline with the list response
    const response = await fetch('/api/meetings?include_summary=true');
    return response.json();
  }
}

Usage Monitoring

class FathomUsageTracker {
  private apiCalls = 0;
  private readonly rateLimit = 60; // 60 req/min
  private windowStart = Date.now();

  async throttledCall<T>(fn: () => Promise<T>): Promise<T> {
    if (Date.now() - this.windowStart > 60_000) {
      this.apiCalls = 0;
      this.windowStart = Date.now();
    }
    if (this.apiCalls >= this.rateLimit) {
      const waitMs = 60_000 - (Date.now() - this.windowStart);
      await new Promise(r => setTimeout(r, waitMs));
      this.apiCalls = 0;
      this.windowStart = Date.now();
    }
    this.apiCalls++;
    return fn();
  }

  getUsageReport(): { callsThisMinute: number; remainingCapacity: number } {
    return { callsThisMinute: this.apiCalls, remainingCapacity: this.rateLimit - this.apiCalls };
  }
}

Cost Optimization Checklist

  • Use webhooks for meeting completion events instead of polling
  • Always pass
    include_summary=true
    in list requests to avoid extra calls
  • Cache transcripts permanently — they never change after generation
  • Batch API processing within the 60 req/min rate limit
  • Audit team seats quarterly and remove inactive users
  • Archive transcripts older than 90 days to reduce storage costs
  • Disable auto-recording for informal or standup meetings
  • Skip CRM sync for internal-only meetings

Error Handling

IssueCauseFix
429 rate limit hitExceeding 60 req/minImplement throttling with sliding window
Duplicate transcript fetchesMultiple services requesting same meetingCentralize through shared cache
Stale meeting listPolling on long intervalsSwitch to webhook-driven updates
CRM sync failuresBatch too large or network timeoutChunk CRM writes into batches of 10
Storage costs climbingNo transcript lifecycle policyImplement 90-day archive-to-local policy

Resources

Next Steps

See

fathom-performance-tuning
.