sync-calls
Skill18 starsChanged 5 months agoMITView on GitHub
Fetch recent call recordings from your configured call recording provider, import transcripts, and save them as structured markdown files. For providers without an API (otter, grain, etc.), the skill prompts the user to paste or drop a transcript file instead. Read in parallel: - config/config.yaml -> integrations.call_recording section - memory/call_sync.md (if exists) -> last sync timestamp and last imported recording ID Extract: - provider — which call recording tool (fathom, fireflies, otter, grain) - api_key_env — name of the env…
- Reads credentials
- Sends data out
In this repository7 other files it gives its agents.
- analyse-callSkill
- cold-emailSkill
- good-morningSkill
- good-nightSkill
- setupSkill
- validate-leadSkill
- whats-newSkill
The file
We split this skill into the rules it gives an agent
12 rules. About 0 are common, 7 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 40
If call_recording.provider is not set or call_recording.enabled is false, tell the user: "No call recording provider configured.
- Distinctive: line 60
Ask: "Paste a transcript, drop a file path, or type 'skip'"
- Distinctive: line 61
If they paste/provide a file, go to Step 4c for formatting and saving
- Very specific: line 66
If --id flag, skip listing and go directly to Step 4 for that recording.
- Distinctive: line 81
Ask: "Which calls should I import?
- Very specific: line 115
Use this naming convention: {company}_{date}_{topic}.md
- Distinctive: line 127
Ask: "Save this? (yes / rename / skip)"
- Distinctive: line 129
If rename -> let user specify new filename.
- Very specific: line 157
After all imports complete, update memory/call_sync.md:
- Distinctive: line 194
If the API returns an error, show the error and suggest checking the API key
- Very specific: line 195
If memory/call_sync.md doesn't exist, treat all calls as new (first run)
- Distinctive: line 196
Always confirm with the user before writing files — never auto-import without approval
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/sync-calls — Import Call Recordings
Fetch recent call recordings from your configured call recording provider, import transcripts, and save them as structured markdown files.
Usage
/sync-calls— Fetch new calls since last sync/sync-calls --all— Show all recent calls (ignore last-sync marker)/sync-calls --id {recording_id}— Import a specific recording by ID
Prerequisites
config/config.yamlwithintegrations.call_recording.providerset (e.g.,fathom,fireflies,otter,grain).envfile with the API key (env var name fromconfig.integrations.call_recording.api_key_env)
Supported Providers
| Provider | API Base | Auth Header |
fathom | https://api.fathom.ai/external/v1 | X-Api-Key |
fireflies | https://api.fireflies.ai/graphql | Authorization: Bearer |
otter | Manual import (no API) | — |
grain | Manual import (no API) | — |
For providers without an API (otter, grain, etc.), the skill prompts the user to paste or drop a transcript file instead.
Instructions
Step 1: Load Config and State
Read in parallel:
config/config.yaml->integrations.call_recordingsectionmemory/call_sync.md(if exists) -> last sync timestamp and last imported recording ID
Extract:
provider— which call recording tool (fathom, fireflies, otter, grain)api_key_env— name of the env var holding the API keyapi_base— API base URL (use default for known providers)
If call_recording.provider is not set or call_recording.enabled is false, tell the user: "No call recording provider configured. Run /setup to set one up, or add transcripts manually to my-context/call-transcripts/."
Step 2: Fetch Recent Calls
If provider is fathom:
curl -s -H "X-Api-Key: $API_KEY" \
"https://api.fathom.ai/external/v1/meetings"If provider is fireflies:
curl -s -X POST "https://api.fireflies.ai/graphql" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "{ transcripts { id title date duration organizer_email participants sentences { speaker_name text } } }"}'If provider is otter, grain, or unknown:
Say: "Your provider ({provider}) doesn't have API sync. You can import transcripts manually:"
- Ask: "Paste a transcript, drop a file path, or type 'skip'"
- If they paste/provide a file, go to Step 4c for formatting and saving
- If skip, exit
Parse the response. Filter to only show calls created AFTER the last sync timestamp (from memory/call_sync.md). If --all flag, skip the filter and show all.
If --id flag, skip listing and go directly to Step 4 for that recording.
Step 3: Present Calls for Selection
Show the user a numbered list of new calls:
## New Calls Since Last Sync
| # | Date | Title / Participants | Recording ID |
|---|------|---------------------|--------------|
| 1 | 2025-03-10 | Acme Corp - Discovery | 12345678 |
| 2 | 2025-03-11 | Beta Inc - Follow-up | 12345679 |Ask: "Which calls should I import? (all / numbers / skip)"
Step 4: Import Selected Calls
For each selected call:
4a: Fetch Summary
Fathom:
curl -s -H "X-Api-Key: $API_KEY" \
"https://api.fathom.ai/external/v1/recordings/{recording_id}/summary"Fireflies:
Summary is included in the transcript response (use the summary field from the GraphQL query).
4b: Fetch Transcript
Fathom:
curl -s -H "X-Api-Key: $API_KEY" \
"https://api.fathom.ai/external/v1/recordings/{recording_id}/transcript"Fireflies: Transcript sentences are included in the initial GraphQL response.
4c: Determine File Routing
Route the file based on call type:
- Customer/prospect calls ->
my-context/call-transcripts/ - Cohort/accountability calls -> only if
config.ritual.cohort.enabled, route to acohort/folder or skip
Use this naming convention: {company}_{date}_{topic}.md
- Company: lowercase, underscores for spaces
- Date: YYYYMMDD or monthDD format (e.g., mar10)
- Topic: brief descriptor (discovery, demo, followup, kickoff, poc_review)
Example: acme_corp_mar10_discovery.md
4d: Ask User to Confirm
Before writing, show:
- Proposed filename and path
- Call summary preview
- Ask: "Save this? (yes / rename / skip)"
If rename -> let user specify new filename.
4e: Write the File
Format the transcript file as:
# {Call Title}
**Date:** {date}
**Participants:** {list from API}
**Source:** {provider name}
## Summary
{Provider-generated summary}
## Key Points
{Extract key points from summary if available}
## Transcript
{Full transcript with speaker labels}Step 5: Update Sync State
After all imports complete, update memory/call_sync.md:
# Call Sync State
- **Provider:** {provider}
- **Last synced:** {current ISO timestamp}
- **Last imported call date:** {date of most recent imported call}
- **Last imported recording_id:** {id}
## Import History
| Date | Recording ID | File | Company |
|------|-------------|------|---------|
| {date} | {id} | {filepath} | {company} |Append new imports to the history table (don't overwrite previous entries).
Step 6: Offer Next Steps
After import, ask:
- "Want me to analyse any of these calls?" -> triggers
/analyse-call - "Want me to create follow-up tasks?" -> creates tasks in {config.linear.action_team}
Mode: --all
Show all calls from the API response, not just those after last sync. Useful for re-importing or finding older calls.
Mode: --id {recording_id}
Skip the listing step. Directly fetch summary + transcript for the given recording ID. Still confirm filename before saving.
Notes
- The API key is stored in
.envand referenced by the env var name in config - If the API returns an error, show the error and suggest checking the API key
- If
memory/call_sync.mddoesn't exist, treat all calls as new (first run) - Always confirm with the user before writing files — never auto-import without approval
- For providers without API support, the skill gracefully falls back to manual import
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

