calendar

calendar is a skill for Claude Code, Codex from diillson/chatcli. It costs 71 tokens per session (1,028 once invoked), scanned A, original, Apache-2.0.

A terminal-based way to create, view, and manage events in Google Calendar, CalDAV calendars, or Apple Calendar.

In plain words
What is it for?
It helps schedule events, list upcoming meetings, check availability, and manage calendar entries.
Why use it?
It lets you handle meetings and appointments from your development environment instead of switching to a calendar app.

Skill for Claude CodeCodex

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.

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

Made for: Claude Code, Codex.

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 calendar

README.md
[![agentmods](https://agentmods.dev/badge/skills/diillson/chatcli/calendar.svg)](https://agentmods.dev/skills/diillson/chatcli/calendar)
Your own site
<a href="https://agentmods.dev/skills/diillson/chatcli/calendar"><img src="https://agentmods.dev/badge/skills/diillson/chatcli/calendar.svg" alt="Measured on agentmods" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,028 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00071 $0.01028
Opus 5 $0.00036 $0.00514
Sonnet 5 $0.00014 $0.00206
Haiku 4.5 $0.00007 $0.00103

Measured yesterday against content hash 8d11a39acb13, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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 yesterday.

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.

pkg/persona/builtin/skills/calendar/SKILL.md · 99 lines

How it starts

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

Calendar

Manage the user's calendar through their own installed tooling — skill + terminal + native CLI. ChatCLI bundles no calendar client; detect what exists and drive it.

Step 0 — Identify the OS first (this is a multi-OS CLI)

ChatCLI runs on Windows, macOS, and Linux. Probe accordingly:

  • macOS / Linux (sh): command -v gcalcli khal 2>/dev/null; uname -s
  • Windows (PowerShell): Get-Command gcalcli -ErrorAction SilentlyContinue | Select-Object Name

Step 1 — Choose the tool

Preference order:

  1. gcalcli — Google Calendar, scriptable, cross-platform (pip). The common case; prefer it.
  2. khal — CalDAV/local (privacy-friendly, self-hosted; Unix).
  3. macOS with neither → AppleScript Calendar.app via osascript.
  4. Windows with neither → Outlook Calendar via PowerShell COM.
  5. None → tell the user what to install (pipx install gcalcli / apt install khal) and stop.

Step 2 — Always resolve "now" before scheduling

Relative times ("tomorrow 3pm", "next Tuesday") need an anchor. Get it first:

  • macOS / Linux: date '+%Y-%m-%d %H:%M %Z (%A)'
  • Windows: Get-Date -Format "yyyy-MM-dd HH:mm zzz (dddd)"

Then compute the absolute start/end and confirm it back to the user.

Step 3 — Create an event

gcalcli:

gcalcli add --title "Sync with Alice" --when "2026-06-05 15:00" --duration 30 --where "Meet" --noprompt

Add --calendar "<name>" to target a specific calendar; gcalcli list shows them.

khal:

khal new 2026-06-05 15:00 16:00 "Sync with Alice"

macOS Calendar (osascript):

osascript -e 'tell application "Calendar" to tell calendar "Home"
  make new event with properties {summary:"Sync with Alice", start date:(date "2026-06-05 15:00"), end date:(date "2026-06-05 15:30")}
end tell'

Windows Outlook (PowerShell COM):

$ol = New-Object -ComObject Outlook.Application
$appt = $ol.CreateItem(1)   # 1 = AppointmentItem
$appt.Subject = "Sync with Alice"
$appt.Start = [datetime]"2026-06-05 15:00"
$appt.Duration = 30
$appt.Save()

Read the full file on GitHub · 99 lines

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. yesterday First seen · 99 lines · 71 tokens per session scan A 8d11a39acb13

Subscribe to this mod's changes

calendar is a skill published in the GitHub repository diillson/chatcli (89 stars, last pushed today), licensed Apache-2.0. It adds 71 tokens to every session and 1,028 once invoked, about $0.0004 per session on Opus 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-09-03.

Related

Other skills, from other repositories

pptx

从论文、大纲或结构化文本生成 PowerPoint (.pptx) 演示文稿。Use when 用户需要把一篇论文/文章/大纲做成幻灯片、slides、演示文稿、PPT、deck。Don't use when 只需纯文本总结、生成 Word/PDF、或修改已有 pptx 的单个像素级样式。.

bojieli/ai-agent-book · 84 tokens

ai-style

当任务是用中文撰写或改写面向读者的文案(产品发布稿、公众号文章、邮件、README 等), 或用户反馈文字「AI 味太重」「不像人写的」时,加载本 Skill。.

bojieli/ai-agent-book · 25 tokens

triage

你是当前任务的分诊协调者。先识别用户的全部目标、顺序依赖和验收条件,再按 “事实检索 → 计算/执行 → 写作”顺序逐步请求切换到需要的专业能力。不要替专业 能力完成它的工作,也不要在信息缺失时臆造结果。.

bojieli/ai-agent-book · 28 tokens

data_analysis

基于已确认数据执行可审计的数学计算和描述统计。.

bojieli/ai-agent-book · 19 tokens

coding

编写并运行 Python 代码,验证脚本逻辑和输出。.

bojieli/ai-agent-book · 18 tokens

aidd-dev:00:sdlc

Pure orchestrator for the full AIDD development flow. Use when a human (or Gardener) needs to take a free-form request from idea to shipped code, end-to-end. Coordinates spec generation, planning, implementation, and review by composing other skills and agents. Holds no business logic of its own — every step is…

ai-driven-dev/framework · 76 tokens