note-calendar

note-calendar is a skill for Claude Code from wpsnote/wpsnote-skills. It costs 157 tokens per session (3,219 once invoked), scanned A, original, MIT.

A macOS workflow connecting WPS Notes with the system Calendar. It can query, create, move, and delete calendar events, and link notes and calendar items in both directions.

In plain words
What is it for?
Use it to check or change macOS calendar events, create daily planning notes, turn note checkboxes into events, plan time blocks, or prepare for tomorrow's schedule.
Why use it?
It brings schedules and scattered task lists into one planning workflow. It can turn calendar events into notes, add note items to the calendar, and help plan preparation and time blocks.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the capture-skills plugin — 6 skills shipped together

Good fit Use it to check or change macOS calendar events, create daily planning notes, turn note checkboxes into events, plan time blocks, or prepare for tomorrow's schedule.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wpsnote/wpsnote-skills/note-calendar
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add wpsnote/wpsnote-skills --skill note-calendar
Clone the repo
git clone --depth 1 https://github.com/wpsnote/wpsnote-skills

Made for: Claude Code.

Or install capture-skills, the plugin that ships this one along with the rest of its 6 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for note-calendar

README.md
[![agentmods](https://agentmods.dev/badge/skills/wpsnote/wpsnote-skills/note-calendar/github.svg)](https://agentmods.dev/skills/wpsnote/wpsnote-skills/note-calendar)
Your own site
<a href="https://agentmods.dev/skills/wpsnote/wpsnote-skills/note-calendar"><img src="https://agentmods.dev/badge/skills/wpsnote/wpsnote-skills/note-calendar/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for note-calendar

Your own site · 80×15
<a href="https://agentmods.dev/skills/wpsnote/wpsnote-skills/note-calendar"><img src="https://agentmods.dev/badge/skills/wpsnote/wpsnote-skills/note-calendar.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 157 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,219 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00157 $0.03219
Opus 5.5 $0.00063 $0.01288
Sonnet 5.5 $0.00031 $0.00644
Haiku 4.5 $0.00016 $0.00322

Measured 1mo ago against content hash 98a0b9e6cf27, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

note-calendar scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/note-calendar/SKILL.md · 298 lines

How it starts

The opening of the file, as written. The whole thing — 298 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Note Calendar

前置检查(每次必须执行)

1. OS 检查

uname -s

返回不是 Darwin 则立即终止:此 Skill 仅支持 macOS,当前系统不兼容。

2. 笔记工具检查

wpsnote-cli status 2>/dev/null | grep -q "成功" && echo "CLI_OK" || echo "CLI_FAIL"
  • CLI_OK:全程使用 wpsnote-cli 命令
  • CLI_FAIL:降级到 user-wpsnote MCP 工具调用

确定模式后,后续所有笔记操作保持一致。


日历脚本(bin/)

所有脚本通过 osascript 操作 macOS Calendar App,首次运行因 iCloud 同步可能需要 30-60 秒。

# 查询
cal-query today                          # 今天
cal-query tomorrow                       # 明天
cal-query week                           # 本周(周一~周日)
cal-query next-week                      # 下周
cal-query +3                             # 3 天后当天
cal-query 2026-03-25                     # 指定日期
cal-query 2026-03-23 2026-03-29          # 指定范围
cal-query yesterday / last-week / weekend / ...  # 更多参数见脚本注释

# 写入(返回事件 UID,用于后续操作)
cal-add "<标题>" "<YYYY-MM-DD HH:MM>" "<YYYY-MM-DD HH:MM>"
cal-move <uid> "<YYYY-MM-DD HH:MM>" "<YYYY-MM-DD HH:MM>"
cal-delete <uid>

# 测试
cal-test        # 运行全量 CRUD 测试

功能模式

五种模式,根据用户说法自动判断:

用户说的话 进入模式
「查日程」「今天有什么」「帮我看下周安排」 模式 A:纯日历查询
「日程写到笔记」「今日规划」「帮我管今天日程」 模式 B:日历 → 笔记
「根据笔记帮我加日程」「笔记里有 xxx 排进去」 模式 C:笔记 → 日历
「明天要 xxx 今天要准备什么」「帮我前置一下」 模式 D:智能前置
「帮我规划今天」「今天下午很满帮我排上午」 模式 E:全局规划
「整理 TODO」「收集所有待办」 模式 F:TODO 汇总
说法不明确 列出六个模式让用户选

笔记写入格式参考 docs/note-templates.md


模式 A:纯日历查询

直接调用 cal-query,返回结果格式化输出即可,不写笔记。

cal-query <参数>    # 根据用户描述选合适的参数

模式 B:日历 → 笔记

把今天日程整理成结构化规划页写入笔记。

  1. 查询日程:

    cal-query today      # 今天
    cal-query tomorrow   # 明天(用于生成前置建议)
    
  2. 对每个事件标题搜索关联笔记:

    • CLI:wpsnote-cli find --keyword "<事件关键词>" --limit 3 --json
    • MCP:search_notes(keyword="<事件关键词>", limit=3)
  3. 确认写入位置:

    • CLI:wpsnote-cli current --json / MCP:get_current_note()
    • 有打开的笔记 → 询问「写入当前笔记,还是新建?」
    • 无 → 新建:wpsnote-cli create --title "📋 今日规划 YYYY-MM-DD" --json
  4. 按 docs/note-templates.md 模式 B 结构写入

Read the full file on GitHub · 298 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 298 lines · 157 tokens per session scan A 98a0b9e6cf27

Subscribe to this mod's changes

note-calendar is a skill published in the GitHub repository wpsnote/wpsnote-skills (183 stars, last pushed today), licensed MIT. It adds 157 tokens to every session and 3,219 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

dsh-onboarding

Guidance for helping someone use DeepSeek Harness, a local runtime for coding agents, for the first time. It explains the runtime, profiles, workspace, permissions, and how extensions are discovered.

pingfanfan/hello-dsh · 60 tokens

query

Answer questions about the wiki by searching, reading, and synthesizing relevant scraps with [[Title]] citations. Use this when the user wants to query the wiki, ask what they have written about a topic, compare scraps, find related notes, or pull a synthesized overview from existing scraps.

boykush/scraps · 61 tokens

scratch

Organize knowledge from an agent session into a scratchpad — a folder of files plus a scratchpad.json manifest. Use when a task generates notes, snippets, command output, diagrams, or artifacts worth keeping together for a session/activity.

NikiforovAll/scratchpad · 49 tokens

clip

Pin an answer from this conversation to Mycelium, verbatim. Use only when the user explicitly invokes $clip or asks to clip or pin an answer to Mycelium.

krapie/mycelium · 38 tokens

redfox-subscribe

A central menu for managing subscriptions to scheduled content updates, such as account tracking, AI digests, industry reports, and trending-topic reports. It routes each request to the specific source that performs the subscription.

redfox-data/redfox-community-dsh · 140 tokens

anywrite

Compiled CLI covering all 52 endpoints of the Anytype local API — objects, properties, tags, search, chat, files — one binary, no MCP server needed.

sendralt/agentic-awesome-skills · 37 tokens