← 返回 Skills 市场
bigdonuts0

Caldav Calendar 1.0.1

作者 BIGDONUTS0 · GitHub ↗ · v1.0.0
linux ✓ 安全检测通过
1605
总下载
1
收藏
9
当前安装
1
版本数
在 OpenClaw 中安装
/install caldav-calendar-1-0-1
功能描述
Sync and query CalDAV calendars (iCloud, Google, Fastmail, Nextcloud, etc.) using vdirsyncer + khal. Works on Linux.
使用说明 (SKILL.md)

CalDAV Calendar (vdirsyncer + khal)

vdirsyncer syncs CalDAV calendars to local .ics files. khal reads and writes them.

Sync First

Always sync before querying or after making changes:

vdirsyncer sync

View Events

khal list                        # Today
khal list today 7d               # Next 7 days
khal list tomorrow               # Tomorrow
khal list 2026-01-15 2026-01-20  # Date range
khal list -a Work today          # Specific calendar

Search

khal search "meeting"
khal search "dentist" --format "{start-date} {title}"

Create Events

khal new 2026-01-15 10:00 11:00 "Meeting title"
khal new 2026-01-15 "All day event"
khal new tomorrow 14:00 15:30 "Call" -a Work
khal new 2026-01-15 10:00 11:00 "With notes" :: Description goes here

After creating, sync to push changes:

vdirsyncer sync

Edit Events (interactive)

khal edit is interactive — requires a TTY. Use tmux if automating:

khal edit "search term"
khal edit -a CalendarName "search term"
khal edit --show-past "old event"

Menu options:

  • s → edit summary
  • d → edit description
  • t → edit datetime range
  • l → edit location
  • D → delete event
  • n → skip (save changes, next match)
  • q → quit

After editing, sync:

vdirsyncer sync

Delete Events

Use khal edit, then press D to delete.

Output Formats

For scripting:

khal list --format "{start-date} {start-time}-{end-time} {title}" today 7d
khal list --format "{uid} | {title} | {calendar}" today

Placeholders: {title}, {description}, {start}, {end}, {start-date}, {start-time}, {end-date}, {end-time}, {location}, {calendar}, {uid}

Caching

khal caches events in ~/.local/share/khal/khal.db. If data looks stale after syncing:

rm ~/.local/share/khal/khal.db

Initial Setup

1. Configure vdirsyncer (~/.config/vdirsyncer/config)

Example for iCloud:

[general]
status_path = "~/.local/share/vdirsyncer/status/"

[pair icloud_calendar]
a = "icloud_remote"
b = "icloud_local"
collections = ["from a", "from b"]
conflict_resolution = "a wins"

[storage icloud_remote]
type = "caldav"
url = "https://caldav.icloud.com/"
username = "[email protected]"
password.fetch = ["command", "cat", "~/.config/vdirsyncer/icloud_password"]

[storage icloud_local]
type = "filesystem"
path = "~/.local/share/vdirsyncer/calendars/"
fileext = ".ics"

Provider URLs:

  • iCloud: https://caldav.icloud.com/
  • Google: Use google_calendar storage type
  • Fastmail: https://caldav.fastmail.com/dav/calendars/user/EMAIL/
  • Nextcloud: https://YOUR.CLOUD/remote.php/dav/calendars/USERNAME/

2. Configure khal (~/.config/khal/config)

[calendars]
[[my_calendars]]
path = ~/.local/share/vdirsyncer/calendars/*
type = discover

[default]
default_calendar = Home
highlight_event_days = True

[locale]
timeformat = %H:%M
dateformat = %Y-%m-%d

3. Discover and sync

vdirsyncer discover   # First time only
vdirsyncer sync
安全使用建议
This skill is a usage guide for vdirsyncer + khal and appears coherent with that purpose. Before installing/using it: 1) Ensure you install vdirsyncer and khal from trusted package sources (your distro) rather than random binaries. 2) Review and create the vdirsyncer and khal config files yourself — the SKILL.md shows example contents and file locations. 3) Be cautious about how you store calendar passwords: the examples use a local file (plaintext) and a command-based fetch; prefer secure storage (keyring, OS password store, or provider-specific OAuth/app passwords) where possible. 4) Note the skill may instruct you to remove the khal cache file if data seems stale—this will delete local cached calendar data. 5) Because the skill will access your calendar servers, use least-privilege credentials (app-specific passwords) and verify provider URLs. If you are comfortable managing these local config files and secrets, the skill is consistent with its stated purpose.
功能分析
Type: OpenClaw Skill Name: caldav-calendar-1-0-1 Version: 1.0.0 The skill bundle provides instructions and configuration examples for syncing and managing CalDAV calendars using `vdirsyncer` and `khal`. All commands and configurations in `SKILL.md` are standard usage for these tools, focusing on local file operations and legitimate CalDAV synchronization. There is no evidence of data exfiltration, malicious execution, persistence mechanisms, or prompt injection attempts against the agent. The `password.fetch` command in the `vdirsyncer` configuration is a standard way for `vdirsyncer` to read secrets locally, not an instruction for the agent to exfiltrate data.
能力评估
Purpose & Capability
Name and description match the runtime instructions and required binaries: the SKILL.md explicitly uses vdirsyncer and khal and the registry metadata lists those binaries. There are no unrelated credentials, binaries, or install steps requested that would be unexpected for a CalDAV sync/query utility.
Instruction Scope
Instructions are scoped to configuring vdirsyncer and khal, syncing, listing, searching, creating, editing, and deleting calendar events. They reference user-config files (~/.config/vdirsyncer/config, ~/.config/khal/config), a password file (~/.config/vdirsyncer/icloud_password), and a cache file (~/.local/share/khal/khal.db). Touching those user files is expected for this functionality, but the SKILL.md does instruct actions that read and delete local files (e.g., cat a password file, rm khal.db) — these are necessary for operation but are sensitive and worth user review.
Install Mechanism
This is an instruction-only skill with no install spec and no code files. That minimizes installer risk; the provided apt install suggestion in metadata is reasonable and points at distro packages rather than arbitrary downloads.
Credentials
The skill declares no required environment variables or primary credential, which is consistent with an instruction-only guide. However the instructions require the user to supply credentials for CalDAV providers (via config files or a local password file). The skill does not request or manage secrets itself — it asks users to store credentials on disk (or configure vdirsyncer to fetch them). Users should note that storing plaintext passwords in files is a local security decision.
Persistence & Privilege
The skill does not request always: true, does not install background services, and does not modify other skills or system-wide agent settings. It is user-invocable only and will operate on local user config/data when invoked.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install caldav-calendar-1-0-1
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /caldav-calendar-1-0-1 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of caldav-calendar skill. - Enables syncing and querying CalDAV calendars (iCloud, Google, Fastmail, Nextcloud, etc.) using vdirsyncer and khal on Linux. - Provides usage examples for viewing, searching, creating, editing, and deleting events. - Includes step-by-step setup instructions for vdirsyncer and khal configuration. - Supports scripting with custom output formats and explains caching behavior.
元数据
Slug caldav-calendar-1-0-1
版本 1.0.0
许可证
累计安装 9
当前安装数 9
历史版本数 1
常见问题

Caldav Calendar 1.0.1 是什么?

Sync and query CalDAV calendars (iCloud, Google, Fastmail, Nextcloud, etc.) using vdirsyncer + khal. Works on Linux. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1605 次。

如何安装 Caldav Calendar 1.0.1?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install caldav-calendar-1-0-1」即可一键安装,无需额外配置。

Caldav Calendar 1.0.1 是免费的吗?

是的,Caldav Calendar 1.0.1 完全免费(开源免费),可自由下载、安装和使用。

Caldav Calendar 1.0.1 支持哪些平台?

Caldav Calendar 1.0.1 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(linux)。

谁开发了 Caldav Calendar 1.0.1?

由 BIGDONUTS0(@bigdonuts0)开发并维护,当前版本 v1.0.0。

💬 留言讨论