claude-code-granola-sync: Command for Claude Code

.claude/commands/sync-granola.md

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

Written for Claude Code: $ARGUMENTS substitution.

This is sanisideup/claude-code-granola-sync's own configuration. It tells Claude Code how to work on claude-code-granola-sync itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claude-code-granola-sync configures →

Reuse

Borrowing it

Nothing to install: this file belongs to sanisideup/claude-code-granola-sync. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/sanisideup/claude-code-granola-sync/main/.claude/commands/sync-granola.md
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/github.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/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for sync-granola

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00000 $0.00714
Opus 5.5 $0.00000 $0.00286
Sonnet 5.5 $0.00000 $0.00143
Haiku 4.5 $0.00000 $0.00071

Measured 2mo ago against content hash d34f83ac7e6f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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. 2mo 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 8mo 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.

Related

sync-granola compared with commands from other repositories

sync-granola next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sync-granolasanisideup/claude-code-granola-syncCommand118mo agoMITA0Claude Code
devkit.write-a-minute-of-a-meetinggiuseppe-trisciuoglio/developer-kitCommand3671mo agoMITA23Claude Code
searchtractorjuice/arc-kitCommand2.3k2d agononeA14Claude Code
archivestellarshenson/claude-code-pluginsCommand47d agoMITA43Claude Code
assessHabitat-Thinking/ai-literacy-superpowersCommand12018d agononeA24GitHub Copilot
wize-shard-docqwize-br/wize-development-kitCommand193d agononeA24Claude Code, OpenCode
gdrive-inboxdanielrosehill/Claude-Filesystem-Organiser-PluginCommand4yesterdaynoneA0Claude Code