hub-setup-gcalendar

hub-setup-gcalendar is a command for Claude Code from fiale-plus/fiale-claude-plugins. It costs 13 tokens per session (371 once invoked), scanned A, original, MIT.

A setup command for connecting Google Calendar to Status Hub through Google's API, which lets software access calendar data. It is intended for headless or remote environments without a browser connection.

In plain words
What is it for?
Use it to create or configure Google OAuth credentials, authorize a calendar, securely store the credentials, verify the connection, and switch between API and browser-based calendar access.
Why use it?
It removes the need to keep a browser tab open for calendar alerts, but requires creating access credentials and granting permission to the calendar.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths.

Part of the claude-status-hub plugin — 16 commands shipped together

Good fit Use it to create or configure Google OAuth credentials, authorize a calendar, securely store the credentials, verify the connection, and switch between API and browser-based calendar access.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/fiale-plus/fiale-claude-plugins/hub-setup-gcalendar
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.

Clone the repo
git clone --depth 1 https://github.com/fiale-plus/fiale-claude-plugins

Made for: Claude Code.

Or install claude-status-hub, the plugin that ships this one along with the rest of its 16 commands.

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 hub-setup-gcalendar

README.md
[![agentmods](https://agentmods.dev/badge/commands/fiale-plus/fiale-claude-plugins/hub-setup-gcalendar.svg)](https://agentmods.dev/commands/fiale-plus/fiale-claude-plugins/hub-setup-gcalendar)
Your own site
<a href="https://agentmods.dev/commands/fiale-plus/fiale-claude-plugins/hub-setup-gcalendar"><img src="https://agentmods.dev/badge/commands/fiale-plus/fiale-claude-plugins/hub-setup-gcalendar.svg" alt="Measured on agentmods" height="20"></a>
Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 371 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.00013 $0.00371
Opus 5 $0.00006 $0.00186
Sonnet 5 $0.00003 $0.00074
Haiku 4.5 $0.00001 $0.00037

Measured 8d ago against content hash 5104722accd7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

hub-setup-gcalendar 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 8d 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.

plugins/claude-status-hub/commands/hub-setup-gcalendar.md · 66 lines

What it actually says

/hub-setup-gcalendar

Set up Google Calendar API integration for Status Hub.

Usage

/hub-setup-gcalendar

When to Use

Use this command when:

  • You want calendar alerts without keeping a browser tab open
  • You're in a headless or remote environment without Chrome MCP
  • You prefer API access over browser DOM scraping

What It Does

This command walks you through:

  1. Creating OAuth2 credentials in Google Cloud Console (if needed)
  2. Authorizing access to your Google Calendar
  3. Storing credentials securely in ~/.claude/
  4. Verifying the connection works

Prerequisites

  • A Google account
  • Access to Google Cloud Console (free)
  • Ability to enable APIs and create OAuth credentials

After Setup

Once configured, your statusline will show upcoming meetings and you can use /hub-ack to:

  • Join meetings directly
  • Send "running late" messages
  • Dismiss alerts

Switching Connection Methods

The hub supports two calendar connection methods:

Method Config Value Pros Cons
API "api" Works without browser, headless-friendly Requires OAuth setup
Chrome "chrome" No API setup needed Requires browser tab open

To switch, edit ~/.claude/status-config.json:

{
  "calendar": {
    "connection": "api"  // or "chrome"
  }
}

See Also

  • /hub-setup - Main hub configuration
  • /hub-ack - Acknowledge alerts including calendar
  • /hub - View current hub status
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. 8d ago First seen · 66 lines · 13 tokens per session scan A 5104722accd7

Subscribe to this mod's changes

hub-setup-gcalendar is a command published in the GitHub repository fiale-plus/fiale-claude-plugins (4 stars, last pushed 5mo ago), licensed MIT. It adds 13 tokens to every session and 371 once invoked, about $0.0001 per session on Opus 5. 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-31.