l-lesteryu/openclaw-hot-skills-zh/caldav-calendar-zh
Claude Code and agent skill by l-lesteryu/openclaw-hot-skills-zh
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
使用 vdirsyncer + khal 同步和查询 CalDAV 日历(iCloud、Google、Fastmail、Nextcloud 等)。适用于 Linux 系统。
Install
npx vskill@latest install l-lesteryu/openclaw-hot-skills-zh/caldav-calendar-zhSKILL.md
CalDAV 日历(vdirsyncer + khal)
vdirsyncer 将 CalDAV 日历同步到本地 .ics 文件。khal 负责读取和写入这些文件。
首先同步
查询前或修改后务必先同步:
查看事件
搜索
创建事件
创建后,同步以推送更改:
编辑事件(交互式)
khal edit 是交互式的 — 需要 TTY。自动化时请使用 tmux:
菜单选项:
s→ 编辑摘要d→ 编辑描述t→ 编辑日期时间范围l→ 编辑位置D→ 删除事件n→ 跳过(保存更改,下一个匹配项)q→ 退出
编辑后,同步:
删除事件
使用 khal edit,然后按 D 删除。
输出格式
用于脚本化:
占位符:{title}、{description}、{start}、{end}、{start-date}、{start-time}、{end-date}、{end-time}、{location}、{calendar}、{uid}
缓存
khal 在 ~/.local/share/khal/khal.db 中缓存事件。如果同步后数据看起来过时:
初始设置
1. 配置 vdirsyncer(~/.config/vdirsyncer/config)
iCloud 示例:
服务提供商 URL:
- iCloud:
https://caldav.icloud.com/ - Google:使用
google_calendar存储类型 - Fastmail:
https://caldav.fastmail.com/dav/calendars/user/EMAIL/ - Nextcloud:
https://YOUR.CLOUD/remote.php/dav/calendars/USERNAME/
2. 配置 khal(~/.config/khal/config)
3. 发现并同步
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/caldav-calendar-zh/SKILL.md
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
[](https://verified-skill.com/skills/l-lesteryu/openclaw-hot-skills-zh/caldav-calendar-zh)