/parent-recap:setupfrom Parent Recap
Walks through installing and configuring Parent Recap, a daily family briefing tool that aggregates school mail, WhatsApp groups, and club calendars. Guides the user through six setup phases with secure credential handling.
Ships in Parent Recap. 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.
None: SKILL.md is the whole skill.
You are helping a parent install Parent Recap on their own Mac. The user is often a Chinese family in the Helsinki region. Setup has six phases, in this order: Welcome, Connect, Working, Check, First Brief, Finish. The parent makes their choices up front, connects each Source from one list, and confirms one page of what was found. Commands do every mechanical step and print one line of JSON; you decide what to tell the parent from that line, rather than working through the step yourself or asking the parent to do it by hand.
Run setup in the user's language, not the language of this skill. Guess it from how they wrote (if they haven't written anything yet, open in English) and use it from the first line. The defaults card confirms it. If they switch languages later, follow them in the chat; that doesn't change the language of their Brief. In Chinese, call the Brief 日报 and Weekend Picks 周末活动推荐; in Finnish, kooste and viikonlopun vinkit; in English or any other language, say Brief and Weekend Picks. Commands, config keys and file paths stay as written.
setup commands ask for each one in a macOS dialog with hidden input (a hidden Terminal prompt without a desktop session), check it and store it themselves, and never print it. Wilma's password is typed only on the Wilma sign-in screen in Terminal, and the Mac password only in macOS's own dialogs. If the user pastes a secret into the chat anyway, tell them to delete it and make a new one afterwards. Once a Kid has a MyClub link, don't open or print the whole config; view it with grep -vE 'myclub_ical_url|myclub\.fi/' ~/.family/config.yaml, which leaves out a Kid's several links too, and make changes with commands that don't print the file.result. Ask the parent only about what the program can't see.setup commands and $FB doctor, which give only status, names and counts. Don't run $FB collect; it prints message text.~/.family/config.yaml or ~/.family/setup-progress.json already exists, run $FB setup status. If it says done, this Mac has been set up before: stop and use /parent-recap:manage instead. If not, an earlier setup stopped part-way, in the chat or on the setup page: carry on from where it got to as "Coming from the setup page" says, without asking again what the config already has. If the user insists on setting up again, back it up first as config.yaml.bak-<date>. To start again from nothing, they can uninstall first ("uninstall Parent Recap" with /parent-recap:manage), then run setup.sudo: only show them, and let the user run them. The wake schedule normally needs none: $FB schedule install asks for the Mac password in macOS's administrator dialog.find, ls or grep, not by opening a file to see what's inside, not even after saying you'd only look at file names. Ask the parent where it is, or offer the alternative that needs nothing (such as staying with the .ics attachment). Parent Recap's own files and the checks in this skill (the plugin folder, installed apps, ~/.family) are fine.$FB setup save (see "Saving answers and progress"), the same command the setup page uses, which checks the answers before writing them.The parent should always know what to do next, without asking.
skills/setup/; it contains install.sh). If unsure, run ls -d ~/.claude/plugins/cache/*/parent-recap/*/ | sort -V | tail -1; for an install from the release zip, with the install line (get.sh) or with get.sh --codex, ~/ParentRecap/plugin is also the plugin root. When running in Codex, a line at the top of this file gives the plugin root.~/ParentRecap/app; the command is FB=~/ParentRecap/app/.venv/bin/parent-recap.~/.family/config.yaml (mode 600), logs are in ~/ParentRecap/logs/, and daily archives in ~/ParentRecap/.PLUGIN/docs/sources.md: each Source, and what to tell the family about itPLUGIN/docs/config.md: config fields and city presetsPLUGIN/docs/troubleshooting.md: common problemsThe flow is the same in both:
setup commands, install.sh, and anything that goes online, opens a page or dialog, or writes to ~/.family must run outside the sandbox. Codex asks for approval each time; tell the user once that this is normal and to approve./parent-recap:, Codex with $parent-recap-. This file already uses the form for the one you are in; pass commands on to the user as written.--timeout 540 to setup wilma, and run a Brief in the background and wait for it to finish before doing anything else. The commands that show a dialog wait until the parent answers it; if your tool cuts one off, run it again with --no-open.setup commandsEach prints one line of JSON. result says what happened; when it isn't a success, next says what to do about it, in English: tell the parent the gist in their language, help with it, and run the command again as next says (often with --no-open, so the page or window doesn't open twice).
| Command | Success | Also gives |
|---|---|---|
$FB setup wilma --timeout 540 --language <code> | signed-in | kids (name, school, class), wilma_address, city (or null) |
$FB setup gmail --address <address> | saved | address |
$FB setup claude | saved | test_call: ok |
$FB setup gateway | saved | test_call: ok |
$FB setup confirm [--resend] | confirmed | unconfirmed and mailed addresses (unconfirmed is the result while any wait) |
$FB setup myclub --kid "<Kid's name>" | saved | events, the number of events in the calendar |
$FB setup status | done | outcomes, each with ok and a reason |
$FB setup save (answers as JSON on stdin) | saved | progress |
$FB setup save --read | read | progress |
A result of no-prompt means no dialog could open here (for example from inside Codex's sandbox): run the command again outside the sandbox, and only if that fails too, give the parent the command in next to run in Terminal.
A result of keychain-not-reachable (from setup gmail or setup claude, with macOS's code) means macOS won't let the command save in the Keychain here, because it runs inside tmux or over SSH, and no prompt will come. Running it again from here fails the same way: give the parent the command in next to run in a plain Terminal window outside tmux or SSH (Shell → New Command… in Terminal works). keychain-failed carries macOS's code too, when there is one.
A result of run-as-administrator (any command but setup status, on Windows) means you were started from a PowerShell window opened with "Run as administrator", and the command did nothing: set up from there, the evening Brief could never open its files. Running it again from here fails the same way. Tell the parent to close this session, open PowerShell from the Start menu the normal way, start you again from that window, and carry on with setup there.
$FB setup save writes the parent's answers into ~/.family/config.yaml (owner-only), and records how far setup has got, so the setup page and this chat can each pick up where the other stopped. It comes with the program, so the first save is right after install.sh in Connect, with the card's answers and "progress": {"phase": "connect"}. Give it the answers as JSON on stdin, with only the keys you're saving; whatever you leave out stays as it was:
$FB setup save <<'EOF'
{"language": "zh",
"kids": [{"name": "Mia Virtanen", "everyday_name": "Mia", "aliases": ["米娅"], "school": "Kilo School", "class_name": "3B", "grade": 3}],
"recipients": [{"address": "[email protected]"}, {"address": "[email protected]", "language": "fi"}],
"ai": "claude",
"evening": "21:00",
"sources": {"gmail": {"address": "[email protected]", "allowlist_domains": ["espoo.fi"], "allowlist_senders": []},
"wilma": {"enabled": true}},
"progress": {"phase": "connect", "source": "gmail", "sources": {"wilma": "done"}}}
EOF
kids is the whole list of Kids: a Kid left out is removed. Each Kid keeps what you don't give for them, such as their MyClub link, which only setup myclub saves. Never put a MyClub link in the answers.recipients, allowlist_domains and allowlist_senders are whole lists too: give every ticked item, not only the new ones.language is the Household's language code (summary_language); a Recipient's language is given only when it differs.progress: phase is one of welcome, connect, working, check, first-brief, finish; source is the Source the parent is on (wilma, gmail, ai, myclub); sources gives each Source's status, to-do, done or skipped. Save it whenever the phase or a Source's status changes, in the same call as that step's answers when there are any.partner: the partner's address and language, or null for "Only me". The page saves the Recipients on Connect's first step, before the Sources, where the parent gives their own address, so if recipients aren't in the config yet, use this as the Welcome answer instead of asking again, and save recipients with the parent's address first once you have it.invalid-answers, nothing was saved: errors names each answer that's wrong. Fix them and save again. On bad-config, the existing config can't be read: run $FB doctor and fix what it names.Every step of the setup page has a Continue in the chat button, for a family that gets stuck there or would rather talk it through. In Claude Code it opens this skill in a Terminal window; in Codex the family types $parent-recap-setup. Either way, setup has already started: carry on from the step the page reached, keeping the answers already given, instead of starting over. Do the same for a setup that stopped part-way in an earlier chat.
$FB setup save --read. phase is the phase reached, source the Source the parent was on in Connect (null once each is done or skipped), and sources each Source's status.grep -vE 'myclub_ical_url|myclub\.fi/' ~/.family/config.yaml. summary_language is the language the parent picked on the page: use it from your first line, since they haven't written anything yet, and don't ask for it again. The AI (llm.backend), the Recipients (email.to), the Gmail address (gmail.username, only when Gmail is read), the city and the Kids are answers too. Without llm.backend yet (the parent left Welcome before saving it), the AI is the one whose chat you're in.partner, Welcome's choice of partner (see "Saving answers and progress"), whatsapp_chats, the WhatsApp groups the page found, each with its name and a hint naming the Kids it seems to be about, and gmail_senders, the Gmail senders the page read in Working, in the same form as senders from discover gmail-senders --json, for Check. Use them instead of asking again.install.sh unless $FB is missing.done; a skipped one stays skipped unless the parent asks for it. If the parent says what went wrong on the page, help with that first.Introduction. In a few sentences: every evening Parent Recap reads the Kids' school mail, Wilma and MyClub, and emails each parent a short Brief in their own language, with new events attached for the calendar. Then say:
PLUGIN/skills/manage/SKILL.md, then come back here[email protected], through the Parent Recap team's server, which keeps neither the Brief nor the addresses. Nobody reads that address: each Brief says to write to the parent instead. Nothing else goes to the Parent Recap team.[email protected]. Gmail is only needed if school mail arrives there, and is only read.The defaults card. End the introduction with the defaults, as choices the parent only changes where they're wrong:
| Default | How you pick it |
|---|---|
| Language | The one they write in. It's setup's language and their Brief's |
| AI | Claude in Claude Code; ChatGPT ("runs through Codex") in Codex. Say Claude needs a paid plan; ChatGPT works on any plan |
| Recipients | The parent and their partner ("Add my partner"), or "Only me" |
The card has no calendar question: new events always come as an .ics attachment on the Brief, which one tap adds to any calendar. If the parent asks about Google Calendar, say it can be turned on later through /parent-recap:manage, once the Parent Recap team has given them the Google app file it needs.
Then, one message each:
Note from the answers:
en, zh, sv, fi; not zh-CN). English, Chinese and Finnish are reviewed; any other works too, with the program's own text (headings, hints) translated once by the AI ("Reviewed and best-effort languages" in PLUGIN/docs/config.md). Say this only if they pick another language.What they'll connect. Show the Source list below, with one line each on why it's needed, and that MyClub can be skipped and added later through /parent-recap:manage. Ask them to have their Wilma username and password ready, the same ones as on the Wilma website or app; if they don't remember them, they may find them in their browser's saved passwords. End with one choice: start now, or wait while they find their Wilma login.
Get the Mac ready first, since the setup commands come with the program:
sw_vers -productVersion; command -v claude || echo "claude (missing)"; ls ~/.local/bin/claude 2>/dev/null; ls -d /Applications/Codex.app /Applications/ChatGPT.app 2>/dev/null
install.sh downloads Parent Recap's own Python and Node, and the wilma CLI runs on that Node.claude command. If claude is missing and there's no ~/.local/bin/claude either, give the user Claude Code's native installer to run in Terminal: curl -fsSL https://claude.ai/install.sh | bash. It installs into their own folder (~/.local/bin) and keeps Claude Code up to date by itself. A ~/.local/bin/claude counts as installed even when command -v says missing: the program finds it there. So does one that $SHELL -l -c 'command -v claude' finds, as with the parent's own shell setup (fish, nix, a custom npm prefix); the same goes for codex. Don't suggest npm install -g @anthropic-ai/claude-code: a global npm install can leave Claude Code unable to update itself.claude isn't in ~/.local/bin and npm ls -g @anthropic-ai/claude-code lists it (an npm install), tell them the notice comes from Claude Code itself and doesn't affect Parent Recap. Setup carries on. If they want the notice gone, they can install Claude Code again with the native installer above, after setup.codex signed in with their ChatGPT account. The program uses the codex bundled in the Codex or ChatGPT desktop app when there is one, else ~/.local/bin/codex, which the setup page installs with OpenAI's own installer when none is found; in a chat, give the user that line to run in Terminal: curl -fsSL https://github.com/openai/codex/releases/latest/download/install.sh | sh, then codex login.Then install the program with bash "PLUGIN/install.sh". It takes a few minutes. Once it's done, save the card's answers with $FB setup save: language, ai, recipients, and "progress": {"phase": "connect", "source": "wilma"}.
The Source list. Keep a status for each Source (to do, done, skipped), save it in progress with $FB setup save each time it changes (with source set to the Source the parent goes on to), and show the list, with the statuses, when a sub-flow changes one. Go down it in order, from the least to the most sensitive:
Each sub-flow: in one message, say in a sentence or two why it's needed and end with the one thing the parent does (such as what to do in the window that opens); then run its command, act on the result and mark it done. The message after a sub-flow carries its result, any short reminder from it and the list with the new status, and ends with one choice: go on to the next Source, or wait a moment. Keep the next Source's own explanation for its own message. When a command fails, say clearly what went wrong and the one thing to do about it, help with it and run it again. If the parent wants to skip Gmail or MyClub, mark it skipped. The AI login and the Gateway Key can't be skipped; neither can Wilma when the school uses it.
Why: Wilma has the school's messages and timetable, and setup reads the Kids' names from it, so the parent doesn't type them.
If the Kids' school doesn't use Wilma, mark Wilma skipped. Don't ask for the city: it's only for finding the family's Wilma. Ask for each Kid's full name, one message; not their school or class. Then go on to writing the config.
Otherwise:
setup wilma installs the version setup is tested with into Parent Recap's own folder, on Parent Recap's own Node, and records it so uninstall removes it. A wilma CLI or Node the Mac already has isn't used. On not-installed, do what its next says, then run it again.$FB setup wilma --timeout 540 --language <code>, with the language code from the card. The guide is in English, Chinese or Finnish; in any other language it's in English, so tell the parent the steps in their language before running it.signed-in, show the Kids it found, by name. Don't ask for the city: city comes from the Wilma address. If city is null, it's a city without a preset: follow "Cities without a preset" in PLUGIN/docs/config.md for the starting Gmail allowlist. Don't ask about the Kids yet; the parent confirms them in Check.PLUGIN/docs/sources.md: the password is kept in the computer's own password store, the Keychain on a Mac, like the other passwords.Save the Kids now with $FB setup save, in one call:
kids: one per Kid, name exactly as Wilma spells it (or as the parent typed it without Wilma), school and class_name only when Wilma has them, and grade when it follows from the class (3 for 3B). Their everyday names come in Checkcity: the Household's town in Finnish, such as Espoo: the city from setup wilma. Leave it out without Wilma, or when setup wilma gave nonesources.gmail.allowlist_domains: the starting allowlist for the city from "City presets" in PLUGIN/docs/config.md; without a city, leave it empty for the parent to pick in the Gmail stepsources.wilma: {"enabled": true} with Wilmaprogress: Wilma done (or skipped), and source gmailNothing else goes in the config in setup, including Weekend Picks: they aren't part of setup, and the parent can turn them on later through /parent-recap:manage. New events come as an .ics attachment, which is the default.
Why: Parent Recap reads the school's and the clubs' mail in Gmail, only from the senders the parent ticks in Check. It never sends from it: the Brief comes from Parent Recap's own address. Ask whether school mail arrives in a Gmail (or is forwarded to one). If not, mark Gmail skipped and save "sources": {"gmail": {"allowlist_domains": [], "allowlist_senders": []}} with it, so nothing is read. Otherwise ask for that Gmail address, typed ("School mail at another address" in PLUGIN/docs/sources.md covers mail that arrives elsewhere), and tell the parent, in their language:
Then run $FB setup gmail --address <address>. It opens the App passwords page and the dialog, signs in to Gmail with what was pasted, and stores it only if Gmail accepts it.
saved: done. Save sources.gmail.address with it.app-passwords-unavailable: 2-Step Verification is off, or a work or school account doesn't allow App Passwords. Give the parent the 2-Step Verification link from next, wait for them to turn it on, then run the command again.not-an-app-password, rejected, cancelled, no-connection, keychain-failed: tell the parent what next says and run it again.Claude (llm.backend: claude). Why: the nightly job runs in the background, where it can't use Claude Code's login, so it needs its own token, valid for a year. Tell the parent a Terminal window and Claude's sign-in page will open: they click Authorize, copy the token the Terminal window shows (it starts with sk-ant-oat01-), paste it into the Parent Recap dialog, and then press Enter in the Terminal window to clear it. Run $FB setup claude. On saved, it has made a test call. On test-call-failed, check the plan is Claude Pro or Max.
ChatGPT (llm.backend: codex). There's no token step: the nightly job reuses the login Codex already has. Tell the parent so; the test call happens in Working. If Codex isn't signed in with a ChatGPT account, have them sign in in the Codex app first, or with codex login for a Codex the setup page or the install line above put in ~/.local/bin.
The Gateway Key (ADR 0032, ADR 0033). Every Brief is sent from Parent Recap's own address through the Parent Recap team's server, with a Gateway Key. Here it's only for sending: the family's own AI still writes the Brief, and Parent Recap gets the key itself. Once the Recipients are saved, run $FB setup confirm. It gets a key bound to the Recipients and stores it, and the server emails each Recipient a link from [email protected], in their language. Tell the parent that each address in unconfirmed opens that email (it may be in Junk), opens the link and presses Confirm, and that the Brief goes only to addresses that confirmed. Run $FB setup confirm again to see who has; --resend sends the email again. Go on once at least the parent has confirmed. If the team sent the parent a key instead, $FB setup gateway stores it from a dialog: they paste the whole key, starting with sk-. With the gateway as the AI, its key comes from the team and is the AI login above.
WhatsApp is read as a Linked Device, paired on the setup page. Until the page offers that pairing, setup doesn't connect WhatsApp, so it isn't on the Source list.
Why: club practices, matches and their changes are in MyClub. Each Kid's calendar has a subscription link that works like a password, so it goes into a dialog and never into the chat.
First ask which Kids have a MyClub calendar, as a choice with every Kid ticked and "all" and "none (skip MyClub)" as options. For each Kid ticked, one at a time, tell the parent MyClub's New calendar subscription form (Uusi kalenteritilaus) will open; if MyClub asks them to sign in first, they sign in and open it again. MyClub can be switched to English with "In English" at the bottom of its page. They type any name (Nimi), under Members (Jäsentilit) choose Selected member accounts (Valitut jäsentilit) and tick only that Kid, leave Indication (Ilmoittautuminen) on All (Kaikki) or only events they registered for come through, press Create (Luo), then Copy link (Kopioi linkki) next to the new subscription, copy the link starting with webcal:// and paste it into the dialog (#678). Pictures, step by step: docs/myclub.md. Each Kid needs their own link: a link with several members ticked would put every member's events under one Kid (#207). Run $FB setup myclub --kid "<Kid's name>", with the name exactly as under kids: in the config. On saved, say how many events it found. A link holds one club's groups, so ask whether the Kid is in another club on MyClub; for each, they make a link the same way in that club's MyClub, and you run the command again with --another, which keeps the Kid's links (#810). Otherwise (most often not-a-myclub-link: they copied the browser's address, or their password), tell them what next says and run it again with --no-open.
Mention that they can also subscribe to that link in their phone's calendar, so club changes show up straight away ("MyClub" in PLUGIN/docs/sources.md).
Tell the parent they can step away for a few minutes. Save "progress": {"phase": "working"}. Then:
$FB language <code> for each language in the config (summary_language and any Recipient's language). For a reviewed language it only says so; for any other, the AI translates the program's own text once. If it fails, run it again, or the preview shows English headings.$FB discover gmail-senders --json. It reads only the senders of the last 60 days, takes 1 to 2 minutes, and prints one line of JSON: senders, each with its domain, how many mails (count), an example sender name, likely when it looks like school, city or club mail, and public for a mail service anyone has an address at. If the setup page already read them, they're in the progress's gmail_senders (see "Coming from the setup page"): use those instead.$FB doctor. It makes a test call to the AI, and with ChatGPT this is the check for the AI login. Fix each ❌ with the parent before going on.Wilma's Kids came back from its sub-flow; read them again only if they're lost ($FB setup wilma --no-open).
Show one page, with everything already ticked as you think it should be, and have the parent untick what isn't about the Kids:
aliases). A Kid who shouldn't be in the Brief is unticked.discover gmail-senders --json with likely, and any others that look like the school, the teachers, clubs, hobbies and the music school, ticked; the starting allowlist ticked. Never tick public domains (those with public) like gmail.com or outlook.com, or private mail gets read; a teacher or coach writing from one goes in allowlist_senders as the full address. If no school senders turned up, say so on the page: school mail may arrive at another address, and it has to be forwarded to this Gmail ("School mail at another address" in PLUGIN/docs/sources.md). Say the Briefs come out empty only when no other Source (Wilma or MyClub) brings the news; with one, Gmail with no sender ticked is simply not read.Give each list an "all" line the parent can tick instead of going through it. The lists are too long for AskUserQuestion's few options, so in both Claude Code and Codex write the page as text with ☑ and ☐, and end it with the one thing to do: reply "ok" to keep it as ticked, "all" with a list's name (such as "all groups") to tick that whole list, or name what to change. Ask nothing else on the page; an everyday name or alias they want changed goes in the same reply.
Then save it with $FB setup save: kids with every ticked Kid's name, everyday_name and aliases; sources.gmail with the ticked domains in allowlist_domains and the ticked addresses in allowlist_senders; and "progress": {"phase": "check"}.
Then run $FB doctor once more. Fix every ❌. ⚠️ don't stop setup: tell the parent what each one means and what to do, as doctor says.
Save "progress": {"phase": "first-brief"} first.
$FB bg run --dry-run --lookback-hours 72 (72 hours, since a single day often has nothing new). Show the parent the preview and end with one choice: it looks right, or something is off (a wrong Kid, a group or sender that shouldn't be there, something missing). If something is off, they say what in their own words; save the fix with $FB setup save, and show a new preview. Repeat until they're happy.$FB bg run --lookback-hours 72. It goes to both Recipients.$FB setup status whether it went out. A run started while another is going stops at once with "Another Parent Recap run is still going"; then wait, don't retry.Save "progress": {"phase": "finish"} first.
$FB schedule install. If it warns the Mac already has a repeating wake schedule, show the parent what it lists and ask, as a choice, whether to replace it (keep it first); only if they choose to replace it, run $FB schedule install --replace-wake. If it prints a sudo pmset ... command, give it to the parent to run in Terminal.$FB setup status. It reports five outcomes: the program installed, the health check with nothing to fix (no ❌; its reason names any ⚠️, which you tell the parent about with what to do, but which don't stop setup), the first Brief delivered to the setup parent (the first Recipient; the others' first is the first evening one), the nightly job loaded, and the wake schedule set or the Mac never sleeping. Show them as a checklist. For each with ok: false, do what its reason says, and run it again, until result is done.Setup ends only when setup status says done and the parent has confirmed the restart reminder. Then tell them:
/parent-recap:manage or just say what they want~/.family/config.yaml, and the archive of Briefs in ~/ParentRecap/What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
2 skills in this plugin
npx claudepluginhub kinlace/parent-recap --plugin parent-recapOther plugins' skills for the same job