ux-calendar-link

ux-calendar-link is a skill for Claude Code from smnandre/symfony-ux-skills. It costs 53 tokens per session (1,717 once invoked), scanned A, original, MIT.

A PHP and Twig tool for creating “Add to calendar” links for Google Calendar, Outlook, Office 365, and iCalendar files. An iCalendar file is a standard calendar file that desktop and mobile calendar apps can import.

In plain words
What is it for?
Use it for event pages, booking confirmations, and schedules where users need to save an event to their preferred calendar.
Why use it?
It avoids building provider-specific calendar URLs and event files yourself. The same event can be offered to users of several calendar services, with optional repetition and reminders.

Skill for Claude Code

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

Part of the symfony-ux-skills plugin — 20 skills shipped together

Good fit Use it for event pages, booking confirmations, and schedules where users need to save an event to their preferred calendar.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/smnandre/symfony-ux-skills/ux-calendar-link
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 smnandre/symfony-ux-skills --skill ux-calendar-link
Clone the repo
git clone --depth 1 https://github.com/smnandre/symfony-ux-skills

Made for: Claude Code.

Or install symfony-ux-skills, the plugin that ships this one along with the rest of its 20 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 ux-calendar-link

README.md
[![agentmods](https://agentmods.dev/badge/skills/smnandre/symfony-ux-skills/ux-calendar-link/github.svg)](https://agentmods.dev/skills/smnandre/symfony-ux-skills/ux-calendar-link)
Your own site
<a href="https://agentmods.dev/skills/smnandre/symfony-ux-skills/ux-calendar-link"><img src="https://agentmods.dev/badge/skills/smnandre/symfony-ux-skills/ux-calendar-link/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 ux-calendar-link

Your own site · 80×15
<a href="https://agentmods.dev/skills/smnandre/symfony-ux-skills/ux-calendar-link"><img src="https://agentmods.dev/badge/skills/smnandre/symfony-ux-skills/ux-calendar-link.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,717 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.00053 $0.01717
Opus 5.5 $0.00021 $0.00687
Sonnet 5.5 $0.00011 $0.00343
Haiku 4.5 $0.00005 $0.00172

Measured 3d ago against content hash c864a09db860, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ux-calendar-link 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 3d 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/ux-calendar-link/SKILL.md · 194 lines

How it starts

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

Generate "Add to calendar" links from a PHP event object: Google Calendar, Outlook.com, Office 365, and an iCalendar (.ics) file for Apple Calendar, Outlook desktop, Thunderbird and native clients, as plain links.

Since Symfony UX 3.1+. The package is experimental: its API may still change.

Installation

composer require symfony/ux-calendar-link

Quick Reference

new CalendarEvent(title:, start:, end:, ...)   The event
ux_calendar_link(event, 'google')              One CalendarLink (provider, label, url)
ux_calendar_links(event)                       One CalendarLink per registered provider
CalendarRecurrence::weekly(count: 10)          RRULE
CalendarReminder::before(minutes: 15)          VALARM (.ics only)

Provider names: google, outlook, office365, ics.

Building the Event

use Symfony\UX\CalendarLink\CalendarEvent;

$event = new CalendarEvent(
    title: 'Symfony Live Paris',
    start: new \DateTimeImmutable('2026-05-14 09:00'),
    end: new \DateTimeImmutable('2026-05-15 18:00'),
    description: 'Annual Symfony conference in France',
    location: 'Cite Universitaire Paris',
    url: 'https://live.symfony.com',
);

return $this->render('event/show.html.twig', ['event' => $event]);
Argument Type Notes
title string Required, must not be blank
start, end \DateTimeInterface Required; end must be on or after start
description, location, url ?string Optional
allDay bool Date-only event
recurrence ?CalendarRecurrence RRULE
reminders list<CalendarReminder> VALARM
uid ?Uuid Since 3.5: stable ICS UID; derived from the event content when omitted

Invalid input throws Symfony\UX\CalendarLink\Exception\InvalidArgumentException.

{# One provider #}
<a href="{{ ux_calendar_link(event, 'google').url }}">Add to Google Calendar</a>

{# Every provider #}
<ul class="add-to-calendar">
    {% for link in ux_calendar_links(event) %}
        <li><a href="{{ link.url }}">{{ link.label }}</a></li>
    {% endfor %}
</ul>

Read the full file on GitHub · 194 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. 3d ago First seen · 194 lines · 53 tokens per session scan A c864a09db860

Subscribe to this mod's changes

ux-calendar-link is a skill published in the GitHub repository smnandre/symfony-ux-skills (192 stars, last pushed 3d ago), licensed MIT. It adds 53 tokens to every session and 1,717 once invoked, about $0.0002 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-12-03.

Related

ux-calendar-link compared with skills from other repositories

ux-calendar-link next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ux-calendar-linksmnandre/symfony-ux-skillsSkill1923d agoMITA53Claude Code
baoyu-wechat-summaryJimLiu/baoyu-skillsSkill28k16d agoMITB213Claude Code
obsidian-basesanbeime/skillSkill10ktodaynoneA79Claude Code, Codex
wechat-auto-senderanbeime/skillSkill10ktodaynoneA106Claude Code, Codex
companion-skillanbeime/skillSkill10ktodaynoneA86Claude Code, Codex
email-conciergeanbeime/skillSkill10ktodaynoneB91Claude Code, Codex
socialdatax-media-save-organizeraiskillstore/marketplaceSkill510todaynoneA79Codex