sync-granola

sync-granola is a command for Claude Code from sanisideup/claude-code-granola-sync. It costs 0 tokens per session (714 once invoked), scanned A, original, MIT.

A command that copies Granola meeting records from its local cache into the project folder while keeping their metadata. Granola is a meeting-notes and recording app.

In plain words
What is it for?
Use it to sync the last seven days, a chosen number of days, all meetings, or meetings from one folder. You can also pass the optional no-transcripts flag.
Why use it?
It avoids manually exporting meetings and lets you choose which time period or folder to copy. It also reports how many meetings were saved and any errors.

Command for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/sanisideup/claude-code-granola-sync/sync-granola
Clone the repo
git clone --depth 1 https://github.com/sanisideup/claude-code-granola-sync

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for sync-granola

README.md
[![agentmods](https://agentmods.dev/badge/commands/sanisideup/claude-code-granola-sync/sync-granola.svg)](https://agentmods.dev/commands/sanisideup/claude-code-granola-sync/sync-granola)
Your own site
<a href="https://agentmods.dev/commands/sanisideup/claude-code-granola-sync/sync-granola"><img src="https://agentmods.dev/badge/commands/sanisideup/claude-code-granola-sync/sync-granola.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 714 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.00714
Opus 5 $0.00000 $0.00357
Sonnet 5 $0.00000 $0.00143
Haiku 4.5 $0.00000 $0.00071

Measured 5d ago against content hash d34f83ac7e6f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

sync-granola scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/sync-granola.md · 69 lines

How it starts

The opening of the file, as written. The whole thing — 69 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Sync Granola meetings from local cache into the project folder with metadata preservation.

Arguments

The command accepts optional arguments from the user: $ARGUMENTS

Argument formats:

  • No arguments: sync last 7 days (default)
  • Number like 30 or 30d: sync last N days
  • --all or all: sync all meetings
  • folder:FolderName: sync only meetings from specific folder (e.g., folder:Innovation)
  • --no-transcripts: optional legacy flag (transcripts may not exist in cache v4)

Instructions

Run the Granola sync script with the appropriate arguments:

  1. Parse the $ARGUMENTS to determine sync options

  2. Build the command with proper flags:

    • If $ARGUMENTS is empty: use default (last 7 days)
    • If $ARGUMENTS contains a number: use --days N
    • If $ARGUMENTS contains --all or all: use --days 0
    • If $ARGUMENTS contains folder:X: extract folder name and use --folder X
    • If $ARGUMENTS contains --no-transcripts: add the flag
  3. Execute the sync script: python3 scripts/sync-granola.py [flags]

  4. After sync completes, provide a summary:

    • Number of meetings synced
    • Location of saved files
    • Any errors encountered

Examples

User input: /sync-granola Command: python3 scripts/sync-granola.py --days 7

User input: /sync-granola 30 Command: python3 scripts/sync-granola.py --days 30

User input: /sync-granola all Command: python3 scripts/sync-granola.py --days 0

User input: /sync-granola folder:Innovation Command: python3 scripts/sync-granola.py --days 7 --folder Innovation

User input: /sync-granola 14 --no-transcripts Command: python3 scripts/sync-granola.py --days 14 --no-transcripts

Expected Output

After syncing, show the user:

  1. ✅ Success message with count of synced meetings
  2. 📁 File locations:
    • Meeting notes: main/sources/granola/meetings/
    • Transcripts: main/sources/granola/transcripts/ (legacy/pre-migration only)
  3. 📊 Brief summary of what was synced (date range, folders if filtered)
  4. ⚠️ Any warnings (especially metadata-only cache detection)

Read the full file on GitHub · 69 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 69 lines · 0 tokens per session scan A d34f83ac7e6f

Subscribe to this mod's changes

sync-granola is a command published in the GitHub repository sanisideup/claude-code-granola-sync (11 stars, last pushed 6mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 714 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.