/fathom-pack:fathom-performance-tuningfrom fathom-pack
Optimize Fathom API performance with caching and batch processing. Trigger with phrases like "fathom performance", "fathom caching", "optimize fathom".
Ships in fathom-pack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Fathom's meeting intelligence API serves transcript downloads, bulk meeting sync, and action item aggregation. Transcript payloads are large (50-500KB each), making bulk sync of historical meetings a major latency bottleneck. The 60 req/min rate limit requires careful batching. Caching immutable transcripts aggressively while keeping action item data fresh reduces download latency by 70% and prevents rate limit errors during bulk operations.
const cache = new Map<string, { data: any; expiry: number }>();
const TTL = { transcript: 3_600_000, actionItems: 120_000, meetings: 300_000 };
async function cached(key: string, ttlKey: keyof typeof TTL, fn: () => Promise<any>) {
const entry = cache.get(key);
if (entry && entry.expiry > Date.now()) return entry.data;
const data = await fn();
cache.set(key, { data, expiry: Date.now() + TTL[ttlKey] });
return data;
}
// Transcripts are immutable — cache 1hr. Action items change — cache 2min.
async function syncMeetingsBatch(client: any, ids: string[], batchSize = 50) {
const results = [];
for (let i = 0; i < ids.length; i += batchSize) {
const batch = ids.slice(i, i + batchSize);
const res = await Promise.all(batch.map(id => client.getTranscript(id)));
results.push(...res);
if (i + batchSize < ids.length) await new Promise(r => setTimeout(r, 61_000)); // 60 req/min
}
return results;
}
import { Agent } from 'https';
const agent = new Agent({ keepAlive: true, maxSockets: 6, maxFreeSockets: 3, timeout: 45_000 });
// Transcript downloads are large — longer timeout, fewer concurrent sockets
async function withFathomRateLimit(fn: () => Promise<any>): Promise<any> {
try { return await fn(); }
catch (err: any) {
if (err.status === 429) {
const retryAfter = parseInt(err.headers?.['retry-after'] || '60') * 1000;
await new Promise(r => setTimeout(r, retryAfter));
return fn();
}
throw err;
}
}
const metrics = { downloads: 0, cacheHits: 0, rateLimits: 0, avgLatencyMs: 0 };
function trackDownload(startMs: number, cached: boolean, rateLimited: boolean) {
metrics.downloads++;
metrics.avgLatencyMs = (metrics.avgLatencyMs * (metrics.downloads - 1) + (Date.now() - startMs)) / metrics.downloads;
if (cached) metrics.cacheHits++; if (rateLimited) metrics.rateLimits++;
}
| Issue | Cause | Fix |
|---|---|---|
| 429 Rate Limited | Exceeded 60 req/min | Parse Retry-After, batch with 61s delay between groups |
| Transcript timeout | Large payload on slow connection | Increase timeout to 45s, enable keep-alive |
| Stale action items | Cache TTL too aggressive | Reduce action item TTL to 2 min |
| Missing transcript | Meeting still processing | Check meeting status before download, retry after 30s |
| Partial sync failure | Network interruption mid-batch | Track progress, resume from last successful ID |
See fathom-reference-architecture.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
18 skills in this plugin
/fathom-ci-integrationTest Fathom integrations in CI/CD pipelines.
Trigger with phrases like "fathom CI", "fathom github actions", "test fathom pipeline".
/fathom-common-errorsDiagnose and fix Fathom API errors including auth failures and missing data.
Use when API calls fail, transcripts are empty, or webhooks are not firing.
Trigger with phrases like "fathom error", "fathom not working",
"fathom api failure", "fix fathom".
/fathom-core-workflow-aBuild a meeting analytics pipeline with Fathom transcripts and summaries.
Use when extracting insights from meetings, building CRM sync,
or creating automated meeting follow-up workflows.
Trigger with phrases like "fathom analytics", "fathom meeting pipeline",
"fathom transcript analysis", "fathom action items sync".
/fathom-core-workflow-bSync Fathom meeting data to CRM and build automated follow-up workflows.
Use when integrating Fathom with Salesforce, HubSpot, or custom CRMs,
or creating automated post-meeting email summaries.
Trigger with phrases like "fathom crm sync", "fathom salesforce",
"fathom follow-up", "fathom post-meeting workflow".
/fathom-cost-tuningOptimize Fathom API usage and plan selection.
Trigger with phrases like "fathom cost", "fathom pricing", "fathom plan".
/fathom-debug-bundleCollect Fathom API diagnostics for support cases.
Trigger with phrases like "fathom debug", "fathom diagnostics".
npx claudepluginhub flight505/skill-forge --plugin fathom-pack