From fathom-pack
Provides reusable Fathom REST API client patterns in Python and TypeScript for listing meetings, fetching transcripts, and summaries. Use for data pipelines or API wrappers.
How this skill is triggered — by the user, by Claude, or both
Slash command
/fathom-pack:fathom-sdk-patternsThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
```python
import os, requests
from dataclasses import dataclass
from typing import Optional
@dataclass
class FathomConfig:
api_key: str
base_url: str = "https://api.fathom.ai/external/v1"
timeout: int = 30
class FathomClient:
def __init__(self, config: Optional[FathomConfig] = None):
self.config = config or FathomConfig(api_key=os.environ["FATHOM_API_KEY"])
self.session = requests.Session()
self.session.headers.update({"X-Api-Key": self.config.api_key})
def list_meetings(self, limit: int = 20, **filters) -> list[dict]:
params = {"limit": limit, **filters}
resp = self.session.get(f"{self.config.base_url}/meetings", params=params, timeout=self.config.timeout)
resp.raise_for_status()
return resp.json().get("meetings", [])
def get_transcript(self, recording_id: str) -> dict:
resp = self.session.get(f"{self.config.base_url}/recordings/{recording_id}/transcript", timeout=self.config.timeout)
resp.raise_for_status()
return resp.json()
def get_summary(self, recording_id: str) -> dict:
resp = self.session.get(f"{self.config.base_url}/recordings/{recording_id}/summary", timeout=self.config.timeout)
resp.raise_for_status()
return resp.json()
class FathomClient {
private apiKey: string;
private baseUrl: string;
constructor(apiKey?: string) {
this.apiKey = apiKey ?? process.env.FATHOM_API_KEY!;
this.baseUrl = "https://api.fathom.ai/external/v1";
}
private async get<T>(path: string, params?: Record<string, string>): Promise<T> {
const url = new URL(`${this.baseUrl}${path}`);
if (params) Object.entries(params).forEach(([k, v]) => url.searchParams.set(k, v));
const resp = await fetch(url, { headers: { "X-Api-Key": this.apiKey } });
if (!resp.ok) throw new Error(`Fathom ${resp.status}: ${await resp.text()}`);
return resp.json();
}
async listMeetings(limit = 20) { return this.get<{meetings: any[]}>("/meetings", {limit: String(limit)}); }
async getTranscript(id: string) { return this.get(`/recordings/${id}/transcript`); }
async getSummary(id: string) { return this.get(`/recordings/${id}/summary`); }
}
| Status | Meaning | Action |
|---|---|---|
| 401 | Invalid API key | Regenerate key |
| 404 | Recording not found | Verify recording ID |
| 429 | Rate limited (60/min) | Backoff and retry |
Apply in fathom-core-workflow-a for meeting analytics.
npx claudepluginhub jeremylongshore/claude-code-plugins-plus-skills --plugin fathom-packFetches Fathom meeting transcripts, summaries, and action items via curl API calls. Tests access, explores responses, lists/filter meetings.
Provides typed GraphQL client patterns for Fireflies.ai API in TypeScript and Python with error handling and convenience methods. Use for integrations and team standards.
Applies production TwinMind SDK patterns for TypeScript/Python: authenticated REST clients, memory storage/retrieval, meeting context/insights integration.