用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/dvcrn/openclaw-skills-marketplace --skill opys-calendar-skill命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | opys-calendar-skill |
| description | A local markdown-backed calendar with CLI and optional two-way Google Calendar sync. |
Use this skill to query/update the local markdown-backed calendar safely and sync it with Google Calendar.
calendar.md## Event Records (fenced event YAML blocks)## Event Checklistid: local identifierexternalId: stable cross-system identifier used for dedupegoogleEventIds: per-calendar Google event mappingupdatedAt: event-level timestamp for conflict resolutionDo not remove externalId from existing records.
Use CLI from repo root:
npm run cli -- <command>
npm run cli -- summary.npm run cli -- export.npm run cli -- add --title "..." --start "<ISO>" --end "<ISO>" --category <id> [--shift-to-next|--allow-overlap]npm run cli -- update --id <event_id> [fields...]
If changing --start or --end, include --shift-to-next or --allow-overlap in non-interactive runs.npm run cli -- check --id <event_id> or --undonenpm run cli -- delete --id <event_id>npm run cli -- category-add --id <id> --label "Label" --color "#9ca3af" --description "..."npm run cli -- category-remove --id <id> --reassign <id>Conflict handling:
add and time-changing update detect overlaps with existing events.--shift-to-next to auto-resolve to the next open window.--allow-overlap to keep the requested overlapping time.Agent snapshot output:
./agent-snapshot.mdCALENDAR_AGENT_SNAPSHOT.CALENDAR_AGENT_DAYS.Sync state file:
.calendar-google-sync-state.jsonnpm run cli -- export --out backup-calendar.mdnpm run cli -- import --in backup-calendar.mdid, label, and color fields valid.This skill uses the following environment variables (defined in .env):
Google Calendar Sync (Optional)
GOOGLE_CLIENT_ID: Google OAuth Client IDGOOGLE_CLIENT_SECRET: Google OAuth Client SecretGOOGLE_REDIRECT_URI: Should be http://localhost:<PORT>/api/google/auth/callbackAgent 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.