/aaif-events:aaif-create-online-seriesfrom AAIF Community Events Toolkit
Creates a new AAIF online event series by cloning a Google Drive template folder and rebranding all assets. For reading groups, paper clubs, webinars, and online discussions.
Ships in AAIF Community Events Toolkit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Paths in this skill are relative to this skill directory. Resolve <skill-root>
from the loaded SKILL.md; it is a placeholder, not an environment variable.
Tooling rule —
gws+ Python only. Every read, edit, and write of a Drive file goes through thegwsCLI, driven from Python. Prefer native Google formats: editapplication/vnd.google-apps.*files with the Docs/Sheets/ Slides API. Drop to byte-level OOXML surgery on the.docx/.pptx/.xlsxzip parts (embedded fonts and untouched parts survive) only when the file genuinely is a stored Office file. Never use LibreOffice /soffice— not to edit, not to convert, and not to render a "just checking it locally" preview: it substitutes local system fonts for the brand fonts and drops OOXML it doesn't understand, so its output and its renders both misrepresent the real file. Same forunoconvand any desktop office suite. To see a file, render it through the API instead — a slide viaaaif_events.slides_export.render_slide_png, a doc viagws drive files copyto a Google Doc →gws drive files exportto PDF → trash the copy. Never round-trip a native Doc through.docx— it strips native features like Tabs.
Spin up a new AAIF online event series (e.g. a Reading Group, a Paper Club) by
cloning the TemplateSeries folder in the top-level Online Google Drive
folder and rebranding every Office file from San Francisco to the new series. This
is the online sibling of [aaif-create-chapter]: same folder shape — Event Tracker.docx, Attendee CRM.xlsx, and the Event Template/ + Banners (...)/
subfolders of .pptx design assets — but the Event Tracker is
the no-venue "online" runbook (platform / join link / tech check / recording /
chat-Q&A moderation instead of venue / A-V / food / door).
Online series live under Online/, NOT under Chapters/. Use a city chapter (aaif-create-chapter) for an in-person, city-based community; use this for a recurring online program with no venue.
Prereq: the gws CLI must be installed and authenticated (aaif-check-setup
confirms it). All Drive calls go through it.
The rebrand swaps two tokens and leaves everything else alone. Event-specific
content — the example-event block (dates, speakers, example title), the agenda —
is template content organizers fill per-event using the aaif-* content
skills in this repo. Do not touch it. The TemplateSeries master is already
series-shaped (no "Chapter" wording in identity; the About blurb is a [bracketed]
placeholder the organizer fills in).
| Token in template | Becomes | Notes |
|---|---|---|
San Francisco / SAN FRANCISCO | new series, case-matched | contiguous in the clean template |
SF abbreviation (AAIF SF …, doc metadata) | full series name | UPPER in all-caps contexts, Title case in prose |
aaif-sanfrancisco / aaif-sf (Luma slug, incl. hyperlink targets) | aaif-<slug> | see slug rules below |
File/folder names carrying any of the above (e.g. San Francisco CRM.xlsx) | renamed with the same transform | not just file contents; unit-tested |
Reading Group → readinggroup.--slug to override.https://luma.com/aaif-<slug> and https://lu.ma/aaif-<slug>.The online series' templates are swept by the same script as the chapters':
python3 <skill-root>/../aaif-create-chapter/scripts/restyle_design_system.py --check
python3 <skill-root>/../aaif-create-chapter/scripts/restyle_design_system.py --write
It covers Online/<Series>/ and its Event Template and Banners (…)
subfolders, and asserts it reached TemplateSeries — the folder this skill
clones — exiting non-zero if it did not. Read-only by default; every
pre-change file is archived to backups/restyle-<UTC>/ in the toolkit's data folder before it is
replaced. See ../aaif-create-chapter/SKILL.md and DESIGN.md for the
rules it applies.
Same shape as aaif-create-chapter: plan, approve, write, verify.
1. Confirm the series display name and slug with the user. Ask for the exact name (e.g. "Reading Group", or "Online Reading Group" if they want the word Online in the title) and the Luma slug if one exists.
2. Plan (the default — nothing is created without --write) to surface
the slug, Luma status, and any name collision:
python3 <skill-root>/scripts/create_series.py \
--series "Reading Group"
(--dry-run is still accepted as a no-op alias.) The slug must match
^[a-z0-9-]+$; anything else aborts before the luma.com URL is built.
luma.com/aaif-<slug> (or that the slug differs — re-run with --slug).3. Create the series — only after the user confirms the plan:
python3 <skill-root>/scripts/create_series.py \
--series "Reading Group" --write # add --slug <x> if overriding
The script clones TemplateSeries → a new <Series> folder under Online, then
downloads, rebrands, and re-uploads each .pptx/.docx/.xlsx in place. It prints
a tree and flags any file with !! residual tokens.
Recovering a failed or partial run — --resume. If a run dies midway
(a gws 403, template drift raising in the rebrand engine, network loss),
the half-created series folder is already in Drive and a plain re-run aborts
on the name collision. Don't trash the folder — re-run with --resume
(which, like any mutation, requires --write):
python3 <skill-root>/scripts/create_series.py --series "Reading Group" --write --resume
It enters the existing folder and clones/rebrands only what's missing — so resuming a fully-cloned series is a no-op. It is also the backfill path when an existing series folder is missing part of the template (the Luxembourg-chapter situation, series-side). Two safeguards make the skip decision trustworthy:
~ old -> new) and treated as present — never re-cloned as a duplicate.exists, skipped — residual-checked clean. A dirty one is reported, not
rewritten: it logs !! residual in existing file <name> and fails the
run. Files already in Drive are never modified on faith — to have the
script repair them in place (download, rebrand, re-upload), add the
explicit --repair-existing flag. Even then, *CRM.xlsx and
*Tracker.docx are never rewritten — they hold member data once a
series is live — and are always reported for a hand fix.A present file whose content is corrupt but token-clean is still skipped,
not repaired. For a Luxembourg-style backfill (design assets missing, CRM and
tracker already in use): --write --resume clones the missing items; read
the !! residual in existing file lines (the run ends with exit 2 and
"N existing file(s) still carry source tokens"); re-run with
--write --resume --repair-existing only if the flagged files are design
assets; anything under *CRM.xlsx / *Tracker.docx is fixed by hand in
Drive. A residual in a freshly cloned file is a different failure (exit 1):
the template or the rebrand engine is broken — fix that, don't resume.
4. Verify & hand off. Confirm the run printed no !! residual flags and report
the new folder URL. Remind the user to (a) fill the [bracketed] About-the-
series blurb in Event Tracker.docx, and (b) create the Luma page if it wasn't
live.
scripts/create_series.py shares the same text engine as aaif-create-chapter
(paragraph-level concatenate → transform → write-back, robust to OOXML
run-splitting). Constants at the top: ONLINE_PARENT (the Online folder) and
TEMPLATE_FOLDER (TemplateSeries). The master's design decks (Event Template/,
Slides.pptx) were authored from the chapter decks with the front-facing brand
taglines de-chaptered; their body content may still carry chapter/in-person
phrasing ("global network of chapters", "same venue") — that's the organizer-
customized starting point, same as the example-event block.
To validate the engine after any edit, rebrand a throwaway copy of the template and check for residuals + that identity reads right:
python3 <skill-root>/scripts/create_series.py \
--series "Reading Group" --rebrand-local /path/to/templateseries-copy
python3 <skill-root>/scripts/test_create_series.py # unit tests (offline)
The template must stay "clean": San Francisco contiguous and the slug normalized
to aaif-sanfrancisco, so the two-token swap stays exhaustive.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub aaif/community-events --plugin aaif-events24 skills in this plugin
/aaif-announcement-postWrite the LinkedIn launch/announcement post for an AAIF event when RSVPs open. Use when asked to draft the announcement, launch post, or "RSVPs are open" post for an AAIF event./aaif-attendee-reminderWrite the pre-event reminder to people who RSVP'd to an AAIF event (sent ~1 week out and the morning of). Use when asked to draft the attendee reminder / "see you tomorrow" note for an AAIF event./aaif-audit-slackAudit the community Slack workspace and report it as one HTML page — whether every chapter has its public and organizer channels and the right people in them, which subject-matter rooms have gone quiet or overlap, and what the headline member count is actually made of. Use when asked about Slack coverage for chapters, whether organizers are in their channels, who is in an -organizers channel, workspace health, channel clutter, inactive channels or accounts, or the newcomer experience./aaif-backupTake a versioned local backup of critical AAIF ops data — the Community Intake Ops sheet by default, or any Drive file / local file you name. Snapshots are immutable and timestamped so you keep a full history. Use when asked to back up / snapshot the intake data (or another file) before a risky edit./aaif-carousel-copyWrite copy for a 6-slide LinkedIn carousel announcing an AAIF event. Use when asked to draft carousel slides/copy for an AAIF event (built from the LinkedIn Carousel template)./aaif-check-setupCheck that this computer is ready to run the AAIF toolkit — Python, the full plugin install, the gws Google Workspace tool and its Google sign-in, edit access to the Community Intake sheet, the Slack token, the Luma key, and Chrome for PDF reports — and explain in plain language how to fix anything missing. Read-only. Use when asked to check my setup, test whether the toolkit works, after installing it on a new computer, or when another AAIF skill fails because a tool, sign-in, token or key is missing.Other plugins' skills for the same job