granola-auth

Authenticate with Granola and save OAuth tokens to .env

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "granola-auth" with this command: npx skills add skippednote/granola-skill/skippednote-granola-skill-granola-auth

Authenticate with Granola. Try to silently refresh the existing token first; only open the browser for a full OAuth flow if refresh fails or no token exists.

Note: install.sh replaces the paths below with absolute paths on your machine when it writes this file to ~/.claude/skills/granola-auth/SKILL.md. Do not use this file directly — run bash install.sh instead.

Step 1 — Try refresh first

Run:

node /path/to/granola-skill/refresh.js
  • If it exits 0: tokens are valid (or were refreshed). Report the new expiry and stop.
  • If it exits non-zero: proceed to Step 2.

Step 2 — Full OAuth flow (browser)

Run:

node /path/to/granola-skill/auth.js

This will:

  1. Discover the Granola OAuth endpoints automatically
  2. Register a temporary OAuth client via Dynamic Client Registration
  3. Open the browser to log in with Google via Granola
  4. Capture the OAuth callback on localhost:3334
  5. Exchange the authorization code for access + refresh tokens
  6. Save all tokens to a .env file in the current working directory
  7. Prompt the user to configure MCP for Claude Code, Cursor, or both

After either step succeeds, display the contents of .env (mask token values to show only first + last 6 chars), confirm the path where it was written, and report which MCP config files were updated.

If Step 2 fails, show the full error output and suggest:

  • Checking that port 3334 is not in use (lsof -i :3334)
  • Ensuring Node.js 22+ is installed (node --version)
  • Verifying internet connectivity to mcp.granola.ai

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

image-gen

Generate AI images from text prompts. Triggers on: "生成图片", "画一张", "AI图", "generate image", "配图", "create picture", "draw", "visualize", "generate an image".

Archived SourceRecently Updated
General

explainer

Create explainer videos with narration and AI-generated visuals. Triggers on: "解说视频", "explainer video", "explain this as a video", "tutorial video", "introduce X (video)", "解释一下XX(视频形式)".

Archived SourceRecently Updated
General

asr

Transcribe audio files to text using local speech recognition. Triggers on: "转录", "transcribe", "语音转文字", "ASR", "识别音频", "把这段音频转成文字".

Archived SourceRecently Updated
General

axure-prototype-generator

Axure 原型代码生成器 - 输出 JavaScript 格式 HTML 代码,支持内联框架直接加载可交互原型

Archived SourceRecently Updated