@toolittlecakes/granola-cli
v0.2.5
Published
JSON-first CLI for the official Granola Public API.
Maintainers
Readme
granola-cli
JSON-first CLI for the official Granola Public API.
Install
Use the published npm package:
npm install -g @toolittlecakes/granola-cli@latestFor local development from GitHub:
npm install -g git+https://github.com/toolittlecakes/granola-cli.gitAuth
Create a Granola API key in the desktop app: Settings -> Connectors -> API keys. Then save it once:
granola-cli auth <token>The token is stored in ~/.granola-cli/config.json with file mode 0600 where supported. The CLI does not read ~/.env and never prints the token.
Check auth state:
granola-cli auth statusClear auth:
granola-cli auth clearCommands
granola-cli status
granola-cli folders list --all --json
granola-cli folders resolve itquick --json
granola-cli notes list --folder itquick --all --jsonl
granola-cli notes get not_... --include transcript --json
granola-cli notes summary not_... --format markdown
granola-cli notes transcript not_... --format markdown
granola-cli sync itquick --out calls/granola_itquick --include summary,transcript --skip-existing
granola-cli sync --out calls/granola_all --include summary,transcript --skip-existing
granola-cli export folder itquick --out calls/granola_itquick --include summary,transcript --skip-existingAgent Skill
The version-matched guide is bundled into the CLI:
granola-cli skillInstall the thin discovery skill:
granola-cli setup --agents codex,claudeUpdate Gate
When distributed through npm, granola-cli checks @toolittlecakes/granola-cli@latest before running commands. If a newer version exists, it exits and asks you to update.
For one local/dev command:
granola-cli --skip-updates statusGitHub installs should use --skip-updates because the update gate compares against the published npm package.
API Surface
This tool uses only documented Granola Public API endpoints:
GET /v1/foldersGET /v1/notesGET /v1/notes/{note_id}
Base URL: https://public-api.granola.ai/v1.
