← 返回 Skills 市场
ibluewind

Andrew Google Calendar

作者 김현곤 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
25
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install andrew-google-calendar
功能描述
Google Calendar API ���� �� 조�, ��, ��, �� �리. OAuth 2.0 �� ��. ���� �� �린��� ��� ���고 �리�� � ��.
使用说明 (SKILL.md)

Google Calendar

Overview

Google Calendar API 를 ���� ���� ��� 조�, ��, ��, ���� � �� ������. OAuth 2.0 ��� ���� ���� �� �린�� �근����.

Setup

1. OAuth ������� �� ��

# Google Cloud Console �� OAuth ������� �� ����
# https://console.cloud.google.com/apis/credentials

# �� ��� � ����리� 복�
cp ~/Downloads/client_secret_*.json ~/.google-credentials.json

2. �존� ��

pip install google-api-python-client google-auth-httplib2 google-auth-oauthlib

3. �� ����

cd /Users/andrew/.openclaw/workspace/google-calendar
python3 scripts/oauth_setup.py

첫 ��� ����� �리고 Google ���� �그�� � ��� ����� ����.

Capabilities

�� 조�

��� �� ��:

"�� 7 � ��� 보��"
"�� ��� ��?"
"�� 주 �� 목� �려�"

��� 기� 조�:

"4 � 15 ���� 20 ��� ��� 보��"

�� ��

� �� ��:

"�� �� 2 �� � 미� �� ����, 1 �� ��, Zoom ��"
"�� 주 ��� 10 �� dentist ��, 30 �"

�� ��

�� �경:

"�� �� 2 � 미�� �� 3 �� ���"
"�� �목� '� 미�'�� '����� ��� 미�'�� �경���"

�� ��

�� 취�:

"�� �� 2 � 미� 취����"

Usage Examples

�� 1: ��� �� 조�

from scripts.calendar_ops import list_events, format_event

# �� 7 � �� 조�
events = list_events(max_results=10)
for event in events:
    print(format_event(event))

�� 2: � �� ��

from scripts.calendar_ops import create_event
from datetime import datetime, timedelta

# �� �� 2 � �� ��
start = datetime.now() + timedelta(days=1, hours=14)
end = start + timedelta(hours=1)

event = create_event(
    summary="� 미�",
    start_time=start.isoformat(),
    end_time=end.isoformat(),
    description="주� ����� ���",
    location="Zoom"
)

�� 3: �린� 목� ��

from scripts.oauth_setup import list_calendars

calendars = list_calendars()
for cal in calendars:
    print(f"{cal['summary']} - {cal['accessRole']}")

Files Structure

google-calendar/
��� SKILL.md
��� scripts/
�   ��� oauth_setup.py      # OAuth 2.0 �� � ���� �리
�   ��� calendar_ops.py     # Calendar API �� ����
��� references/

Security Notes

  • OAuth ����� ~/.google-calendar-token.pickle � �����
  • ������� ��� ~/.google-credentials.json � �����
  • � ���� .gitignore � ����� ����
  • �� ��: https://www.googleapis.com/auth/calendar (�기/�기 �체 �근)

Troubleshooting

"OAuth ������� �� ��� ����" ��:

  • Google Cloud Console �� OAuth 2.0 ������� ��를 �� ����
  • client_secret_XXXXXX.json ��� ~/.google-credentials.json �� 복�

�� ���:

  • ���� ��� ���고 ���: rm ~/.google-calendar-token.pickle
  • Google Cloud Console �� API ��� ��

�� ��:

  • OAuth �� �면�� ��� �� ��
  • ����� �� � ���
安全使用建议
This skill appears to do what it says: use Google OAuth2 to access your Calendar and provide helpers for listing/creating/updating events. Before installing or running: 1) Verify which filename you should use (the code expects ~/.google-credentials.json and tokens are saved to ~/.google-calendar-token.pickle; fix any copy/paste differences in the docs). 2) Protect the token/credentials files—do not share them. 3) Be aware the code uses Python pickle to save credentials; if the token file is replaced by an attacker, loading it could be abused. Only run this code on a trusted machine and keep the token file private. 4) Inspect the included scripts yourself (or run in an isolated environment) and ensure you are comfortable with the requested Google OAuth scope (https://www.googleapis.com/auth/calendar gives read/write access to your calendars). 5) Install the listed google-auth packages from PyPI (official packages) and avoid running arbitrary downloaded binaries.
功能分析
Type: OpenClaw Skill Name: andrew-google-calendar Version: 1.0.0 The skill bundle provides a standard and transparent implementation for managing Google Calendar events via the official Google API Python client. It includes boilerplate OAuth 2.0 authentication logic in `scripts/oauth_setup.py` and basic CRUD operations in `scripts/calendar_ops.py`. All behaviors, including local token storage in the user's home directory and network requests to Google's APIs, are strictly aligned with the stated purpose and lack any indicators of malicious intent, data exfiltration, or prompt injection.
能力标签
requires-oauth-tokenrequires-sensitive-credentials
能力评估
Purpose & Capability
Name/description, SKILL.md, and the included Python modules (oauth_setup.py and calendar_ops.py) all implement Google Calendar OAuth2 and calendar operations. Required resources (none declared) are reasonable for a purely instruction/code skill. Nothing in the files requests unrelated cloud credentials or services.
Instruction Scope
Runtime instructions (copying client_secret JSON to the home directory, installing google-auth libraries, running oauth_setup.py) fit the stated purpose. Notes: SKILL.md and oauth_setup.py occasionally reference specific developer paths (e.g., /Users/andrew/.openclaw/...) — these are examples and not required. There is a minor inconsistency in the documented credentials filename: most places expect ~/.google-credentials.json, but one error/help message in oauth_setup.main() mentions ~/.google-calendar-credentials.json. That is a documentation inconsistency to correct but not evidence of malicious behavior.
Install Mechanism
No install spec; the SKILL.md asks the user to pip-install standard google-auth libraries. This is expected and proportionate for a Python-based Google API client. There are no downloads from arbitrary URLs or extract steps.
Credentials
The skill requests no environment variables or external credentials via env vars; instead it uses OAuth client secrets saved in a file under the user's home directory (~/.google-credentials.json) and stores tokens at ~/.google-calendar-token.pickle. This is typical for desktop OAuth flows. Caution: token storage uses Python pickle — if an attacker can replace that file, loading a malicious pickle can execute code. That is a known risk of pickle-based token storage and is inherent to the implementation, not an indicator of unrelated credential access.
Persistence & Privilege
The skill does not request always:true nor request system-wide config changes. It stores tokens and credentials under the user's home directory (expected for OAuth). It does not modify other skills or global agent settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install andrew-google-calendar
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /andrew-google-calendar 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
andrew-google-calendar 1.0.0 - Initial release of Google Calendar integration. - Supports event listing, creation, modification, and deletion via Google Calendar API with OAuth 2.0. - Includes sample usage for listing events, creating events, and viewing calendars. - Security and troubleshooting instructions provided in SKILL.md.
元数据
Slug andrew-google-calendar
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Andrew Google Calendar 是什么?

Google Calendar API ���� �� 조�, ��, ��, �� �리. OAuth 2.0 �� ��. ���� �� �린��� ��� ���고 �리�� � ��. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 25 次。

如何安装 Andrew Google Calendar?

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

Andrew Google Calendar 是免费的吗?

是的,Andrew Google Calendar 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Andrew Google Calendar 支持哪些平台?

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

谁开发了 Andrew Google Calendar?

由 김현곤(@ibluewind)开发并维护,当前版本 v1.0.0。

💬 留言讨论