fritzprix/libr-agent/calendar-mgmt

Claude Code and agent skill by fritzprix/libr-agent

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Google Calendar integration for end-user schedule management at runtime. Use when the user wants to view, create, update, or delete calendar events, or get a week summary ("show my schedule", "book a meeting tomorrow at 3pm", "what's on my calendar this week"). MVP supports Google Calendar API (OAuth2). On first use, guide Google Cloud OAuth setup, collect client_secret with a storeAs prompt, run setup.py --oauth, and store tokens in ~/.libragent/calendar_config.json. Not for LibrAgent agent cron automation (schedule / loop) or completion waits (call-me-back). Triggers on: "일정 보여줘", "캘린더 확인", "미팅 예약", "show my calendar", "schedule a meeting".

Install

npx vskill@latest install fritzprix/libr-agent/calendar-mgmt

SKILL.md

The same SKILL.md was published earlier as fritzprix/libr-agent/calendar-mgmt.

Calendar Management

Manage the user's Google Calendar from LibrAgent — read and write events, summarize the week.

This is an end-user daily work skill (like email-integration, telegram-cli, x-cli). It is not for LibrAgent internal development or agent-only cron tasks.

Not This Skill

SkillUse for
schedule / loopWake an assistant on a clock/cron (automation harness)
call-me-backResume this session on process/kanban/webhook completion
email-integrationMail read/send (IMAP/SMTP; sticky agent browser webmail fallback)
recruit / boostCreate or strengthen assistant configurations

CalDAV (Nextcloud, Apple, Fastmail) is planned for a later release. MVP is Google Calendar API only.

Path conventions

Paths are relative to this skill's Base Directory. Replace <skill-base-dir> with its absolute path in commands.

Security (mandatory)

  • NEVER ask for client_secret, access tokens, or refresh tokens in chat
  • NEVER display or repeat ~/.libragent/calendar_config.json
  • NEVER put client_secret in a command line
  • Collect client_secret only with requireUserInput=true, inputType=password, and storeAs: "LIBRAGENT_GOOGLE_CLIENT_SECRET" on the setup call, which passes --client-secret-env LIBRAGENT_GOOGLE_CLIENT_SECRET
  • If the user pastes a secret in chat, do not echo it — ask for it again with the storeAs prompt and run setup

Prerequisites

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

On Linux/macOS use pip3 if pip is unavailable.

Workflow

1. Detect config
bash
python "<skill-base-dir>/scripts/validate_config.py"
Exit codeMeaningNext step
0ConnectedStep 3
1Not configuredStep 2
2Incomplete / expired / corruptStep 2 (see action in JSON)
2. Setup (first time or re-auth)

See references/google-setup.md for Google Cloud Console steps and references/setup-flow.md for the exact storeAs tool calls.

Summary:

  1. User creates a Desktop OAuth client in Google Cloud (Calendar API enabled).
  2. Collect client_id in chat (not secret).
  3. Run OAuth in one workspace__runInPersistentShell call with requireUserInput: true, inputType: "password", and storeAs: "LIBRAGENT_GOOGLE_CLIENT_SECRET":
json
{
"command": "python \"<skill-base-dir>/scripts/setup.py\" --client-id \"YOUR_CLIENT_ID.apps.googleusercontent.com\" --client-secret-env LIBRAGENT_GOOGLE_CLIENT_SECRET --oauth",
"requireUserInput": true,
"inputType": "password",
"inputPrompt": "Google OAuth client secret을 입력하세요:",
"storeAs": "LIBRAGENT_GOOGLE_CLIENT_SECRET"
}

Re-auth only (credentials already saved):

bash
python "<skill-base-dir>/scripts/setup.py" --oauth

Reset and reconnect: the same storeAs call with --reset added to the command (see references/setup-flow.md).

A browser window opens for Google consent. Tokens persist under ~/.libragent/calendar_config.json.

3. Dispatch action

Classify the request and call calendar_cli.py:

ActionWhenCommand
week_summary"이번 주 일정", "my week"--action week_summary [--timezone Asia/Seoul]
list_eventsRange listing--action list_events --from ISO --to ISO [--limit N]
get_eventOne event by ID--action get_event --event-id ID
create_eventBook / schedule--action create_event --title T --start ISO --end ISO [--location L] [--description D] [--attendees a@b.com,c@d.com]
update_eventReschedule / edit--action update_event --event-id ID [--title] [--start] [--end] ...
delete_eventCancel--action delete_event --event-id ID

Use RFC 3339 datetimes (e.g. 2026-06-12T15:00:00+09:00). For all-day events add --all-day and use YYYY-MM-DD dates.

Examples: references/request-patterns.md.

Before create/update/delete: confirm title, time, and timezone with the user when the request is ambiguous.

4. Present results

Format for humans per references/output-format.md. Errors: references/error-handling.md.

Config shape

json
{
"provider": "google",
"google": {
"client_id": "...",
"client_secret": "...",
"tokens": { }
},
"caldav": null
}

caldav is reserved for a future release.

Guidelines

  • User calendar, not agent cron — distinguish from schedule skill.
  • OAuth is multi-step — similar friction to telegram-cli, not email-integration app passwords.
  • No Gmail API synergy in v1 — email uses IMAP; cross-skill "mail → event" uses agent reasoning, not shared tokens.
  • Confirm destructive actions — delete and attendee-affecting updates.
  • Timezone explicit — ask or infer user timezone for week_summary and new events.

Builtin Tools

StepTool
Validate configworkspace__runCommand → validate_config.py
Setup / OAuthworkspace__runCommand → setup.py
Calendar opsworkspace__runCommand → calendar_cli.py
Open OAuth help URLbrowser (optional, user-facing docs only)

References

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/fritzprix/libr-agent/calendar-mgmt/badge)](https://verified-skill.com/skills/fritzprix/libr-agent/calendar-mgmt)

Something wrong with this skill or its page? Tell us.