opys-calendar-skill
A local markdown-backed calendar with CLI and optional two-way Google Calendar sync.
Best use case
opys-calendar-skill is best used when you need a repeatable AI agent workflow instead of a one-off prompt. It is especially useful for teams working in multi. A local markdown-backed calendar with CLI and optional two-way Google Calendar sync.
A local markdown-backed calendar with CLI and optional two-way Google Calendar sync.
Users should expect a more consistent workflow output, faster repeated execution, and less time spent rewriting prompts from scratch.
Practical example
Example input
Use the "opys-calendar-skill" skill to help with this workflow task. Context: A local markdown-backed calendar with CLI and optional two-way Google Calendar sync.
Example output
A structured workflow result with clearer steps, more consistent formatting, and an output that is easier to reuse in the next run.
When to use this skill
- Use this skill when you want a reusable workflow rather than writing the same prompt again and again.
When not to use this skill
- Do not use this when you only need a one-off answer and do not need a reusable workflow.
- Do not use it if you cannot install or maintain the related files, repository context, or supporting tools.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/opys-calendar/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How opys-calendar-skill Compares
| Feature / Agent | opys-calendar-skill | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
A local markdown-backed calendar with CLI and optional two-way Google Calendar sync.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
Top AI Agents for Productivity
See the top AI agent skills for productivity, workflow automation, operational systems, documentation, and everyday task execution.
AI Agents for Marketing
Discover AI agents for marketing workflows, from SEO and content production to campaign research, outreach, and analytics.
AI Agents for Startups
Explore AI agent skills for startup validation, product research, growth experiments, documentation, and fast execution with small teams.
SKILL.md Source
# Calendar Markdown + Google Sync Skill Use this skill to query/update the local markdown-backed calendar safely and sync it with Google Calendar. ## Source of Truth - File: `calendar.md` - Authoritative section: `## Event Records` (fenced `event` YAML blocks) - Human summary section: `## Event Checklist` ## Event Identity Rules - `id`: local identifier - `externalId`: stable cross-system identifier used for dedupe - `googleEventIds`: per-calendar Google event mapping - `updatedAt`: event-level timestamp for conflict resolution Do not remove `externalId` from existing records. ## Preferred Interface Use CLI from repo root: ```bash npm run cli -- <command> ``` ## Safe Query Flow 1. Run `npm run cli -- summary`. 2. If raw markdown is needed, run `npm run cli -- export`. ## Safe Update Flow 1. Add (preferred for new events): `npm run cli -- add --title "..." --start "<ISO>" --end "<ISO>" --category <id> [--shift-to-next|--allow-overlap]` 2. Update: `npm run cli -- update --id <event_id> [fields...]` If changing `--start` or `--end`, include `--shift-to-next` or `--allow-overlap` in non-interactive runs. 3. Check/uncheck: `npm run cli -- check --id <event_id>` or `--undone` 4. Delete: `npm run cli -- delete --id <event_id>` 5. Add category: `npm run cli -- category-add --id <id> --label "Label" --color "#9ca3af" --description "..."` 6. Remove category: `npm run cli -- category-remove --id <id> --reassign <id>` Conflict handling: - `add` and time-changing `update` detect overlaps with existing events. - Interactive runs can choose accept overlap, shift to next available slot, or provide a custom time. - Non-interactive runs: - `--shift-to-next` to auto-resolve to the next open window. - `--allow-overlap` to keep the requested overlapping time. Agent snapshot output: - Every mutating CLI command writes a rolling markdown snapshot. - Default path: `./agent-snapshot.md` - Override with `CALENDAR_AGENT_SNAPSHOT`. - Recent window defaults to 14 days and is configurable with `CALENDAR_AGENT_DAYS`. - Snapshot also includes upcoming 7 days when events exist. ## UI Constraints - UI does not provide add-event form/button. - Events are created via CLI agents only. - UI still supports drag/drop, resize, and check-off. ## Google Sync Flow 1. In UI, sign in with Google. 2. Select target calendar via calendar selector controls. 3. Click **Sync Now** for two-way merge. Sync state file: - `.calendar-google-sync-state.json` ## Import/Export - Export: `npm run cli -- export --out backup-calendar.md` - Import: `npm run cli -- import --in backup-calendar.md` ## Notes for Agents - Keep datetimes in ISO format. - Prefer CLI operations over manual markdown edits. - If categories are changed manually in frontmatter, keep `id`, `label`, and `color` fields valid. ## Environment Variables This skill uses the following environment variables (defined in `.env`): - **Google Calendar Sync (Optional)** - `GOOGLE_CLIENT_ID`: Google OAuth Client ID - `GOOGLE_CLIENT_SECRET`: Google OAuth Client Secret - `GOOGLE_REDIRECT_URI`: Should be `http://localhost:<PORT>/api/google/auth/callback` - **Agent Configuration (Optional)** - `CALENDAR_AGENT_SNAPSHOT`: Custom absolute or relative path to write the Markdown snapshot. Defaults to `./agent-snapshot.md`. - `CALENDAR_AGENT_DAYS`: Number of historical days to include in the snapshot (defaults to 14). - `PORT`: API server port (defaults to 8787). - `APP_BASE_URL`: Base URL for the frontend UI.
Related Skills
afrexai-email-to-calendar
Extract calendar events, deadlines, action items, and follow-ups from emails. Works with any calendar provider (Google, Outlook, Apple, Notion, etc.). No external dependencies — pure agent intelligence. Use when the user forwards an email, asks to check inbox for events, or wants to extract structured scheduling data from any text.
calendar-optimizer
Analyzes and rewrites calendar events into clear, actionable tasks. Removes meeting fluff and converts vague descriptions into specific deliverables with deadlines.
calendar
Query and manage the operator's calendar — check availability and create new entries
ews-calendar
Extract calendar events from Microsoft Exchange via EWS API
feishu-calendar
Manage Feishu (Lark) Calendars. Use this skill to list calendars, check schedules, and sync events.
caldav-calendar
Sync and query CalDAV calendars (iCloud, Google, Fastmail, Nextcloud, etc.) using vdirsyncer + khal. Works on Linux.
ms-graph-calendar
Find available meeting times and free/busy slots for company employees using Microsoft Graph API. Use when user asks to schedule a meeting, find a free slot, check when employees are available, or look up someone's calendar availability.
anime-calendar
国内动漫每周更新日历。用于查询动漫更新时间、本周新番列表、追番日历。当用户询问动漫更新时间表、本周更新、追番日历、新番列表时触发此技能。
justcalendar
Use this skill when a user needs to install, authenticate, or operate the Just Calendar CLI against https://justcalendar.ai, including generating an agent token in the web UI and performing calendar/day-data management from terminal commands.
google-calendar
Interact with Google Calendar via the Google Calendar API – list upcoming events, create new events, update or delete them. Use this skill when you need programmatic access to your calendar from OpenClaw.
calendar-reminders
Calendar reminders pipeline: config-driven wrapper around gcalcli (Google Calendar) plus optional CalDAV source via vdirsyncer+khal, and a reminder planner that outputs a JSON plan for one-shot OpenClaw reminders.
doro-email-to-calendar
Extract calendar events from emails and create calendar entries. Supports two modes: (1) Direct inbox monitoring - scans all emails for events, or (2) Forwarded emails - processes emails you forward to a dedicated address. Features smart onboarding, event tracking, pending invite reminders, undo support, silent activity logging, deadline detection with separate reminder events, email notifications for action-required items, and provider abstraction for future extensibility.