weekly-recap
Weekly Recap
Generate the daily-recap page for a whole workweek. This skill defines only what differs for a week. Everything else comes from the daily-recap skill in the same plugin.
Using the daily-recap skill
Read ${CLAUDE_PLUGIN_ROOT}/skills/daily-recap/SKILL.md and follow its workflow (steps 1-7), its references/render-guide.md, and its rules on escaping, credentials, untrusted text, the Content-Security-Policy, and deleting work/. Where this file says something different, this file wins.
That file is read as plain text, so two things in it need translating:
- Its relative paths (
scripts/,assets/,references/) are under${CLAUDE_PLUGIN_ROOT}/skills/daily-recap/. Call the scripts by that absolute path. - Its
${CLAUDE_PLUGIN_DATA}stays literal, because that file is read as plain text rather than loaded as a skill. Use the path substituted into this file:out_dir="${DAILY_RECAP_OUTPUT_DIR:-${CLAUDE_PLUGIN_DATA}/daily-recaps}". If the result still contains${or begins with/daily-recaps, the plugin data variable was empty; stop and report that this skill must run from the installed plugin.
The week
A week is the five workdays Monday through Friday. Each workday uses daily-recap's day boundary (DAILY_RECAP_CUTOFF_HOUR, default 07:00, and TZ), so the week runs from the cutoff on Monday to the cutoff on Saturday. Pick the dates, then take the actual bounds from the scripts' window output rather than recomputing them.