npx skills add ...
npx skills add caffeinelabs/skills --skill extension-invite-links
Requests invite-link / RSVP based access where guests can submit responses without login while admin can view responses with login.
npx skills add caffeinelabs/skills --skill extension-invite-links
Invite links & RSVP extension for Caffeine AI.
This skill adds invite-link generation and RSVP collection. Admins generate unique invite codes; guests use them to submit responses without authentication.
Prerequisite: You must follow extension-authorization first, as this integration depends on it.
The prefabricated module mo:caffeineai-invite-links/invite-links-module.mo provides low-level invite-link and RSVP state management. Do not modify it.
include MixinInviteLinks(accessControlState, inviteState) MUST be placed in main.mo, not in a custom mixin file. The mixin provides these public endpoints automatically:
generateInviteCode()submitRSVP(name, attending, inviteCode)getAllRSVPs()getInviteCodes()Do NOT redeclare any of these functions. They are provided exclusively by MixinInviteLinks.
The migration chain head:
Invite links and RSVP system functionality:
Here is an example how to implement Internet Identity authentication with admin-only invite links / RSVPs in the frontend:
useIsCurrentUserAdmin() - Check if current user is adminuseSubmitRSVP() - Submit RSVP mutationuseGetAllRSVPs() - Fetch all RSVPs (admin only)useGetInviteCodes() - Fetch invite codes (admin only)useGenerateInviteCode() - Generate new invite code (admin only)useInternetIdentity() - Internet Identity authentication?code=xyz)