sjtu-calendar-sync
Installation
SKILL.md
SJTU Calendar Sync
Use scripts/sjtu_calendar_sync.py from this skill directory. The command opens an
interactive JAccount QR login and reads CalDAV credentials from environment variables
or a hidden password prompt.
Safety invariants
- Treat the default invocation as preview-only. Do not add
--applyunless the user asks to write calendar changes. - Never add
--delete-staleor supply its confirmation token without explicit user authorization immediately before deletion. Run a fresh preview first. - Never request, display, log, or save a password, cookie, QR payload, or authentication URL in chat. Let the user scan the QR code and enter secrets in the terminal.
- The tool may update or delete only events carrying its
X-SJTU-CALENDAR-SYNC-IDproperty. Do not weaken this boundary or adopt unmarked events by title or time. - Stop on an empty or incomplete SJTU response before deletion. Do not bypass the completeness check.