/session-tools:sessions-weekly-recap [--weekly] [--since YYYY-MM-DD] [--until YYYY-MM-DD] [--output-dir PATH] [--all]from session-tools
Generates daily or weekly recap markdown notes from Claude Code session transcripts by extracting session data and synthesizing it into themed sections.
Ships in session-tools. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Generate daily or weekly recap markdown notes from Claude Code session transcripts. Extract what was worked on, synthesize it into themed sections, and write one .md file per period.
Platform: recap generation works on any OS. The cron management flags (
--install-cronetc.) are macOS-only — they wraplaunchctl. On Linux, point the user atcronorsystemd --useras manual alternatives.
YYYY-MM-DD.md per date.--weekly): one Week-M.D.YY.md per ISO week (Monday of that week, no zero padding).Default: ~/.claude/daily-notes/ for daily, ~/.claude/weekly-notes/ for weekly.
Override with --output-dir "/some/path". If the directory doesn't exist, create it.
Parse the $ARGUMENTS string for these flags.
Recap generation flags:
--weekly — enable weekly mode--since YYYY-MM-DD — start of date range--until YYYY-MM-DD — end of date range--output-dir PATH — override output directory (path may contain spaces; strip surrounding quotes; resolve ~ and relative paths to absolute before forwarding to the extractor or cron installer)--all — include sessions of any age (overrides the default 7-day lookback; takes precedence over --since). Use when the user asks for a recap spanning months or their entire history.When --weekly is set without dates, the extraction script defaults to the previous full week (last Monday through last Sunday). That's the expected behavior for the weekly cron that runs Monday morning.
Cron management flags (mutually exclusive with recap generation):
--install-cron, --uninstall-cron, --cron-status, --cron-logs, --cron-run-nowIf any cron flag is present, load references/CRON.md and follow its instructions. Skip the recap workflow below — the cron flags are handled entirely in that reference.
Run the extraction script, passing through --weekly, --since, --until, --all:
# Codex: this path resolves under Claude Code; substitute the directory containing this SKILL.md.
SKILL_DIR="${CLAUDE_SKILL_DIR}"
python3 "$SKILL_DIR/scripts/extract_sessions.py" [--weekly] [--since ...] [--until ...] [--all]
Do not pass --output-dir to the script — that flag is handled by this SKILL.md, not the extractor.
The script outputs JSON. In daily mode: {"dates": {"YYYY-MM-DD": [sessions]}, ...}. In weekly mode: {"weeks": {"YYYY-MM-DD": [sessions]}, ...} where the key is the Monday of that week.
Each session includes:
first_message — initial user prompt (up to 500 chars)follow_ups — subsequent user messages (up to 8)commits — git commits made during the sessionsubagent_count, size_bytes — complexity proxiesdate, time — when it ranFor each period (date or week) in the extracted data, check if a note already exists at the target filename. Read it if so (merge rules in Step 3).
Filename conventions:
{output_dir}/YYYY-MM-DD.md{output_dir}/Week-M.D.YY.md — Monday date, no zero padding (e.g., Week-4.13.26.md, Week-12.1.25.md)For each period, read the session data and write the note. This is the creative step.
A sample weekly recap is always injected below as a style reference — use it to match the level of specificity, bullet density, theme organization, and tone. Do not copy content or events from the anchor into new recaps — it may be a generic template or a past recap of entirely different work.
Resolution order:
$SESSIONS_RECAP_EXAMPLE is set and readable, inject that file (user override).references/EXAMPLE-WEEKLY.md).# Codex: this path resolves under Claude Code; substitute the directory containing this SKILL.md.
SKILL_DIR="${CLAUDE_SKILL_DIR}"
if [ -n "${SESSIONS_RECAP_EXAMPLE:-}" ] && [ -r "${SESSIONS_RECAP_EXAMPLE:-}" ]; then
echo "<!-- style anchor: user override (\$SESSIONS_RECAP_EXAMPLE=$SESSIONS_RECAP_EXAMPLE) -->"
cat "$SESSIONS_RECAP_EXAMPLE"
else
echo "<!-- style anchor: bundled default -->"
cat "$SKILL_DIR/references/EXAMPLE-WEEKLY.md"
fi
# YYYY-MM-DD — Day of Week**backend#689**).Same principles, but:
# Week of YYYY-MM-DD — Mon Mmm D to Sun Mmm D (e.g., # Week of 2026-04-13 — Mon Apr 13 to Sun Apr 19)Write each note to the resolved path. Create parent directories if missing.
Show:
The skill can install a macOS launchd job that runs claude -p headlessly on a schedule. See references/CRON.md for full details, flag mapping, and the bypass-the-skill direct-invocation syntax.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
session-recap, daily-notes, weekly-notes, transcript-summary
npx claudepluginhub jtsternberg/claude-plugins --plugin session-tools6 skills in this plugin
/note-to-selfLeave a breadcrumb in this conversation about why you're pausing and where the work stands, so returning later — to any one of many parallel sessions — starts with orientation instead of archaeology. Records the user's own words verbatim alongside an agent-written state snapshot./self-recapRecap where THIS session is right now — the arc, the decisions, and what's still open — summarized from the conversation already in context. For a long session whose thread has slipped./sessions-catch-upDistill another session's transcript into a briefing — status, blockers, what's waiting — without touching it. 'catch me up on <session-id>', 'summarize session <id>', 'what's waiting on me in <id>'.Other plugins' skills for the same job