Weekly/monthly reflections from your Claude Code session history.
No API key needed. Claude Code is the LLM.
/plugin marketplace add Scriptwonder/cc-reflect
/plugin install cc-reflect@scriptwonder-pluginsOr from the terminal:
claude plugin marketplace add Scriptwonder/cc-reflect
claude plugin install cc-reflect@scriptwonder-pluginsThat's it. The SessionEnd hook installs automatically with the plugin.
npx cc-reflect --week # this week (default)
npx cc-reflect --month # this month
npx cc-reflect --days 5 # last 5 days
npx cc-reflect --week --ago 1 # last week
npx cc-reflect --month --ago 1 # last month
npx cc-reflect --from 2026-03-01 --to 2026-03-11 # date range
npx cc-reflect --week --include-git # include git commit history
npx cc-reflect --week --stats-only # quick stats, no reflectionThe CLI prints structured context to stdout. Pipe it into Claude or use it as input to the skills below.
/reflect # reflect on this week
/reflect month # reflect on this month
/reflect last week # reflect on last week
/reflect 3 days # reflect on last 3 days
/reflect week with git # include git history
/reflect stats # stats only
/summary # micro-summary of current session
From each Claude Code session JSONL file (~/.claude/projects/):
- Your prompts — what you actually asked (the intent)
- Tools used — Read, Write, Bash, Edit, etc.
- Git branch — which branch was active at session time
- Timestamps — when each session started and how long it ran
- Project directory — which project each session belonged to
Also reads micro-summaries from ~/.cc-reflect/logs/ if they exist (higher-signal than raw log parsing).
An 8-section reflection:
- Summary — 3–5 sentence overview of the period
- Key Accomplishments — what was built or solved
- Research & Exploration — topics investigated and rabbit holes entered
- Tools & Patterns — workflows and techniques that emerged
- Decisions Made — choices and rationale captured
- Open Threads — unfinished work and follow-ups
- Time Allocation — which projects received attention
- One-liner — for standups or advisor updates
When the plugin is installed, a SessionEnd hook is registered automatically. After every Claude Code session it generates a short micro-summary and appends it to ~/.cc-reflect/logs/YYYY-MM-DD.jsonl.
These pre-digested summaries carry higher signal than raw log parsing and make reflections significantly better. No manual action required — it just runs in the background.
If you need to add it manually, the hook command is:
node ~/.claude/plugins/cc-reflect/hooks/session-end.jsClaude Code deletes session logs after 30 days by default. Add this to ~/.claude/settings.json to keep them indefinitely:
{
"maxSessionDurationDays": 100000
}Without this, monthly reflections will have incomplete data.
MIT