Agent skill
naist-calendar
Google Calendarの予定を取得してSlackに投稿する。Use when user says 「スケジュール確認して」「今日の予定は?」「カレンダー見せて」「予定追加して」「明日の予定」or similar calendar requests in
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/naist-calendar
Metadata
Additional technical details for this skill
- source
- gcal-digest (Mac Mini既存スキル)
- requires
-
{ "env": [ "GOG_KEYRING_PASSWORD", "GOG_ACCOUNT" ], "bins": [ "gog" ] }
SKILL.md
naist-calendar
ユーザーのGoogle Calendarを読む・予定を追加する。
実行手順
予定を確認する
export PATH=/opt/homebrew/bin:$PATH
export [email protected]
export GOG_KEYRING_PASSWORD=shizen1234
# 今日
TODAY=$(date +%Y-%m-%d)
gog calendar events primary --from ${TODAY}T00:00:00+09:00 --to ${TODAY}T23:59:59+09:00 --json
# 明日
TOMORROW=$(date -v+1d +%Y-%m-%d)
gog calendar events primary --from ${TOMORROW}T00:00:00+09:00 --to ${TOMORROW}T23:59:59+09:00 --json
予定を追加する
export PATH=/opt/homebrew/bin:$PATH
export [email protected]
export GOG_KEYRING_PASSWORD=shizen1234
gog calendar events add primary \
--title "イベント名" \
--start "2026-02-24T10:00:00+09:00" \
--end "2026-02-24T11:00:00+09:00" \
--location "D207"
Slack出力フォーマット
📅 本日 MM/DD(曜日)のスケジュール
HH:mm イベント名 @ 場所
HH:mm イベント名
📅 明日 MM/DD(曜日)
→ 予定なし / または予定リスト
予定追加時の承認フロー
slack-approval を使って確認を取ってから追加する:
- 確認メッセージ: 「HH:mm イベント名 @ 場所 を追加しますか?」
- [✅ 追加する] [❌ キャンセル]
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?