← 返回 Skills 市场
bilalmohamed187-cpu

gcal-pro - Google Calendar

作者 bilalmohamed187-cpu · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
2691
总下载
3
收藏
4
当前安装
1
版本数
在 OpenClaw 中安装
/install gcal-pro
功能描述
Google Calendar integration for viewing, creating, and managing calendar events. Use when the user asks about their schedule, wants to add/edit/delete events, check availability, or needs a morning brief. Supports natural language like "What's on my calendar tomorrow?" or "Schedule lunch with Alex at noon Friday." Free tier provides read access; Pro tier ($12) adds create/edit/delete and morning briefs.
使用说明 (SKILL.md)

gcal-pro

Manage Google Calendar through natural conversation.

Quick Reference

Action Command Tier
View today python scripts/gcal_core.py today Free
View tomorrow python scripts/gcal_core.py tomorrow Free
View week python scripts/gcal_core.py week Free
Search events python scripts/gcal_core.py search -q "meeting" Free
List calendars python scripts/gcal_core.py calendars Free
Find free time python scripts/gcal_core.py free Free
Quick add python scripts/gcal_core.py quick -q "Lunch Friday noon" Pro
Delete event python scripts/gcal_core.py delete --id EVENT_ID -y Pro
Morning brief python scripts/gcal_core.py brief Pro

Setup

First-time setup required:

  1. User must create Google Cloud project and OAuth credentials
  2. Save client_secret.json to ~/.config/gcal-pro/
  3. Run authentication:
    python scripts/gcal_auth.py auth
    
  4. Browser opens → user grants calendar access → done

Check auth status:

python scripts/gcal_auth.py status

Tiers

Free Tier

  • View events (today, tomorrow, week, month)
  • Search events
  • List calendars
  • Find free time slots

Pro Tier ($12 one-time)

  • Everything in Free, plus:
  • Create events
  • Quick add (natural language)
  • Update/reschedule events
  • Delete events
  • Morning brief via cron

Usage Patterns

Viewing Schedule

When user asks "What's on my calendar?" or "What do I have today?":

cd /path/to/gcal-pro
python scripts/gcal_core.py today

For specific ranges:

  • "tomorrow" → python scripts/gcal_core.py tomorrow
  • "this week" → python scripts/gcal_core.py week
  • "meetings with Alex" → python scripts/gcal_core.py search -q "Alex"

Creating Events (Pro)

When user says "Add X to my calendar" or "Schedule Y":

Option 1: Quick add (natural language)

python scripts/gcal_core.py quick -q "Lunch with Alex Friday at noon"

Option 2: Structured create (via Python)

from scripts.gcal_core import create_event, parse_datetime

create_event(
    summary="Lunch with Alex",
    start=parse_datetime("Friday noon"),
    location="Cafe Roma",
    confirmed=True  # Set False to show confirmation prompt
)

Modifying Events (Pro)

⚠️ CONFIRMATION REQUIRED for destructive actions!

Before deleting or significantly modifying an event, ALWAYS confirm with the user:

  1. Show event details
  2. Ask "Should I delete/reschedule this?"
  3. Only proceed with confirmed=True or -y flag after user confirms

Delete:

# First, find the event
python scripts/gcal_core.py search -q "dentist"
# Shows event ID

# Then delete (with user confirmation)
python scripts/gcal_core.py delete --id abc123xyz -y

Finding Free Time

When user asks "When am I free?" or "Find time for a 1-hour meeting":

python scripts/gcal_core.py free

Morning Brief (Pro + Cron)

Set up via Clawdbot cron to send daily agenda:

from scripts.gcal_core import generate_morning_brief
print(generate_morning_brief())

Cron setup example:

  • Schedule: 8:00 AM daily
  • Action: Run python scripts/gcal_core.py brief
  • Delivery: Send output to user's messaging channel

Error Handling

Error Cause Solution
"client_secret.json not found" Setup incomplete Complete Google Cloud setup
"Token refresh failed" Expired/revoked Run python scripts/gcal_auth.py auth --force
"requires Pro tier" Free user attempting write Prompt upgrade or explain limitation
"Event not found" Invalid event ID Search for correct event first

Timezone Handling

  • All times are interpreted in user's local timezone (default: America/New_York)
  • When user specifies timezone (e.g., "2 PM EST"), honor it
  • Display times in user's local timezone
  • Store in ISO 8601 format with timezone

Response Formatting

For event lists, use this format:

📅 **Monday, January 27**
  • 9:00 AM — Team standup
  • 12:00 PM — Lunch with Alex 📍 Cafe Roma
  • 3:00 PM — Client call

📅 **Tuesday, January 28**
  • 10:00 AM — Dentist appointment 📍 123 Main St

For confirmations:

✓ Event created: "Lunch with Alex"
  📅 Friday, Jan 31 at 12:00 PM
  📍 Cafe Roma

For morning brief:

☀️ Good morning! Here's your day:
📆 Monday, January 27, 2026

You have 3 events today:
  • 9:00 AM — Team standup
  • 12:00 PM — Lunch with Alex
  • 3:00 PM — Client call

👀 Tomorrow: 2 events

File Locations

~/.config/gcal-pro/
├── client_secret.json   # OAuth app credentials (user provides)
├── token.json           # User's access token (auto-generated)
└── license.json         # Pro license (if purchased)

Integration with Clawdbot

This skill works with:

  • Cron: Schedule morning briefs
  • Memory: Store calendar preferences
  • Messaging: Deliver briefs via Telegram/WhatsApp/etc.

Upgrade Prompt

When a Free user attempts a Pro action, respond:

⚠️ Creating events requires gcal-pro Pro ($12 one-time).

Pro includes: Create, edit, delete events + morning briefs.

👉 Upgrade: [gumroad-link]

For now, I can show you your schedule (free) — want to see today's events?

安全使用建议
What to consider before installing: - Functional summary: This is a Google Calendar integration that needs you to create a Google Cloud OAuth client and save client_secret.json to ~/.config/gcal-pro; it stores token.json (access/refresh tokens) and license.json (Pro flag) there. - Privacy & security: The skill will be able to read (free tier) and, if you activate Pro, create/edit/delete events. Only activate Pro if you trust the skill and the license key mechanism. Do not commit client_secret.json or token.json to source control. - OAuth behavior: Authentication runs a local webserver (opens your browser and listens on port 8080) — this is normal for InstalledAppFlow but be aware of the temporary local listener. - Dependencies: Install with pip install -r requirements.txt. The code dynamically uses requests in revoke logic but requests isn't listed; ensure your environment includes requests if you plan to use revoke. - Confirmation safeguards: The code prints a confirmation prompt for destructive actions; verify prompts are presented before allowing the skill to act on your calendar. - Review & provenance: The package includes placeholder links/contacts (gumroad-link, [your-email]). The source/origin is unknown — if you need higher assurance, review the included Python scripts yourself or prefer a skill from a known publisher. - If you install: keep client_secret.json and token.json private, inspect scripts for any modifications, and grant only the scopes you are comfortable with (calendar.readonly vs calendar.events). Overall this skill appears coherent with its stated purpose; no unexpected network endpoints or broad credential requests were found.
功能分析
Type: OpenClaw Skill Name: gcal-pro Version: 1.0.0 The OpenClaw AgentSkills skill bundle 'gcal-pro' appears benign. It provides legitimate Google Calendar integration, handling OAuth credentials and tokens securely by storing them locally with appropriate file permissions (`0o600`). The `SKILL.md` instructions are clear, align with the stated purpose, and include explicit confirmation requirements for destructive actions, showing no intent for prompt injection or subversion of the agent. All network communication is directed to Google's official APIs, and there is no evidence of data exfiltration, malicious execution, or persistence mechanisms beyond the intended 'morning brief' cron job.
能力评估
Purpose & Capability
Name/description (Google Calendar integration) match the delivered files and behavior: OAuth setup, calendar read/write via Google Calendar API, and a local license. No unrelated services, credentials, or binaries are requested.
Instruction Scope
SKILL.md instructs the agent and user to run included Python scripts, perform OAuth via a local browser flow, and store credentials in ~/.config/gcal-pro. It confines actions to calendar operations and license checks and explicitly requires user confirmation for destructive operations.
Install Mechanism
There is no install script that downloads arbitrary code; all source files are included in the bundle and dependencies are listed in requirements.txt (Google auth & API libs). No remote URL installation or archive extraction is used.
Credentials
The skill requests no environment variables and stores data in ~/.config/gcal-pro. The license module reads hostname and USER/USERNAME to create a machine id — this is proportional to a local license mechanism, though it’s privacy-relevant metadata. No unrelated secrets or cloud credentials are requested by the skill itself (user must supply client_secret.json from Google).
Persistence & Privilege
always:false and the skill stores token.json and license.json only under the user's config directory. It does not request global/system-wide changes or adjust other skills' configurations. It runs a local OAuth callback server (run_local_server on port 8080) which is expected for desktop OAuth flows.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install gcal-pro
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /gcal-pro 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release
元数据
Slug gcal-pro
版本 1.0.0
许可证
累计安装 5
当前安装数 4
历史版本数 1
常见问题

gcal-pro - Google Calendar 是什么?

Google Calendar integration for viewing, creating, and managing calendar events. Use when the user asks about their schedule, wants to add/edit/delete events, check availability, or needs a morning brief. Supports natural language like "What's on my calendar tomorrow?" or "Schedule lunch with Alex at noon Friday." Free tier provides read access; Pro tier ($12) adds create/edit/delete and morning briefs. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2691 次。

如何安装 gcal-pro - Google Calendar?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install gcal-pro」即可一键安装,无需额外配置。

gcal-pro - Google Calendar 是免费的吗?

是的,gcal-pro - Google Calendar 完全免费(开源免费),可自由下载、安装和使用。

gcal-pro - Google Calendar 支持哪些平台?

gcal-pro - Google Calendar 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 gcal-pro - Google Calendar?

由 bilalmohamed187-cpu(@bilalmohamed187-cpu)开发并维护,当前版本 v1.0.0。

💬 留言讨论