product-os: Command for Claude Code

.claude/commands/export-transcripts.md

export-transcripts is a command for Claude Code from motorway-sandbox/product-os. It costs 0 tokens per session (386 once invoked), scanned A, original, MIT.

A command that copies meeting transcripts from Granola's local cache into Markdown files. Markdown is plain text with simple formatting for documents.

In plain words
What is it for?
It exports meeting titles, dates, participants, speakers, and full transcripts, while skipping files already exported.
Why use it?
It provides local transcript backups and makes meetings available for offline reading and bulk searching.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is motorway-sandbox/product-os's own configuration. It tells Claude Code how to work on product-os 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 product-os configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 scripts/export_granola_transcripts.py.

Reuse

Borrowing it

Nothing to install: this file belongs to motorway-sandbox/product-os. 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/motorway-sandbox/product-os/main/.claude/commands/export-transcripts.md
Clone the repo
git clone --depth 1 https://github.com/motorway-sandbox/product-os

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 export-transcripts

README.md
[![agentmods](https://agentmods.dev/badge/commands/motorway-sandbox/product-os/export-transcripts.svg)](https://agentmods.dev/commands/motorway-sandbox/product-os/export-transcripts)
Your own site
<a href="https://agentmods.dev/commands/motorway-sandbox/product-os/export-transcripts"><img src="https://agentmods.dev/badge/commands/motorway-sandbox/product-os/export-transcripts.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 386 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.00386
Opus 5 $0.00000 $0.00193
Sonnet 5 $0.00000 $0.00077
Haiku 4.5 $0.00000 $0.00039

Measured 2d ago against content hash 63c5338a686a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

export-transcripts 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 2d 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/export-transcripts.md · 42 lines

What it actually says

Export Granola Transcripts

Export meeting transcripts from Granola's local cache to markdown files. Useful for backing up transcripts, bulk searching across meetings, or working with transcripts offline.

Instructions

  1. Check the auto-memory (MEMORY.md) for the user's initials (e.g. CR). Set {initials} accordingly.

  2. Run the export script:

    python3 scripts/export_granola_transcripts.py
    
  3. The script will:

    • Read Granola's local cache at ~/Library/Application Support/Granola/cache-v3.json
    • Parse all meetings and their transcripts
    • Create markdown files with meeting title, date, participants, speakers, and full transcript
    • Skip files that already exist (safe to re-run)
    • Output to team/{initials}/granola-transcripts/ (gitignored) by default
  4. The output directory can be customised via the GRANOLA_BACKUP_DIR environment variable:

    GRANOLA_BACKUP_DIR=/path/to/dir python3 scripts/export_granola_transcripts.py
    
  5. After export, report to the user:

    • How many new transcripts were exported
    • How many were skipped (already existed)
    • Date range covered
    • Where the files are located
  6. If the user wants to search for something across their transcripts, use Grep to search the output directory.

Notes

  • Granola must be installed and have cached meetings locally for this to work
  • Transcripts are gitignored — they contain potentially sensitive meeting content
  • File naming format: YYYY-MM-DD_HHMM_{safe_title}.md
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. 2d ago First seen · 42 lines · 0 tokens per session scan A 63c5338a686a

Subscribe to this mod's changes

export-transcripts is a command published in the GitHub repository motorway-sandbox/product-os (9 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 386 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-09-04.