oncall-swap

Swaps on-call assignments between engineers across DynamoDB and Google Calendar.

1|Updated Feb 16, 2026
One-click install
npx skills add https://github.com/codepresso-dev/codepresso-ai-plugin --skill oncall-swap-codepresso-dev
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: oncall-swap
Source: https://github.com/codepresso-dev/codepresso-ai-plugin/tree/main/skills/oncall-swap
Command: npx skills add https://github.com/codepresso-dev/codepresso-ai-plugin --skill oncall-swap-codepresso-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When an engineer goes on vacation or becomes unavailable, manually updating the on-call rotation across DynamoDB, Google Calendar, and team chat is error-prone and easy to forget. This Skill coordinates the entire swap in one guided flow. ## Core Features & Use Cases - Three swap modes: full week swap between two engineers, single-engineer replacement for a specific week, or primary/secondary role swap within the same week. - Validation before changes: prevents assigning one engineer as both primary and secondary, and warns about consecutive-week assignments. - Synchronized updates: deletes and rewrites DynamoDB assignment records, updates the matching Google Calendar event, and optionally announces the change via Google Chat webhook. - Use Case: An engineer announces a vacation next week. You invoke the skill, pick the affected week, choose a replacement, and the schedule, calendar event, and team notification are all updated consistently. ## Quick Start Ask the assistant to swap the on-call assignment for a specific week, for example by saying "swap oncall for next week from engineer A to engineer B".

Frequently Asked Questions about oncall-swap

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I swap on-call assignments between two engineers?▼

Invoke the oncall-swap skill, select the affected week from the numbered options, and choose a full swap, replacement, or role swap. The skill updates DynamoDB records and the Google Calendar event, then optionally posts a Google Chat notification.

How to change on-call schedule in Google Calendar and DynamoDB?▼

The skill deletes the old assignment items from the oncall-assignments-history DynamoDB table, writes the new primary and secondary entries, then finds the matching calendar event and recreates it with the updated assignees.

Does oncall-swap prevent scheduling conflicts?▼

Yes. It validates that no engineer is assigned as both primary and secondary for the same week, and it warns when a swap would put someone on-call for consecutive weeks before applying changes.

When should I not use oncall-swap?▼

Do not use it to generate a fresh monthly rotation from scratch or to re-sync existing assignments to the calendar. Use oncall-generate for new schedules and oncall-sync-calendar for re-syncing instead.

Can oncall-swap notify the team about schedule changes?▼

Yes. After updating DynamoDB and the calendar, it asks whether to send a Google Chat webhook message announcing which week's on-call assignee changed and to whom.