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-plugins
Or from the terminal:
claude plugin marketplace add Scriptwonder/cc-reflect
claude plugin install cc-reflect@scriptwonder-plugins
That'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 reflection
The 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/):
Also reads micro-summaries from ~/.cc-reflect/logs/ if they exist (higher-signal than raw log parsing).
An 8-section reflection:
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.js
Claude 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
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub scriptwonder/cc-reflect --plugin cc-reflectLong-term memory system for Claude Code that captures learnings through diary entries and synthesizes insights through periodic reflection
Auto-captures Claude Code sessions as narrative worklogs and detects user steering patterns
Session analytics hook for Claude Code — 15 configurable sections (models, cost, cache, tools, files, git diff, RTK savings...)
Query your Claude Code history with SQL. Analyze conversations, commits, and productivity patterns.
Core skills library for Claude Code: TDD, debugging, collaboration patterns, and proven techniques
Harness-native ECC operator layer - 67 agents, 271 skills, 92 legacy command shims, reusable hooks, rules, selective install profiles, and production-ready workflows for Claude Code, Codex, OpenCode, Cursor, and related agent harnesses