cc-daily
v0.2.0
Published
Generate daily work reports from Claude Code conversation history
Maintainers
Readme
cc-daily
Generate daily work reports from Claude Code local conversation history.
Existing tools (ccusage, etc.) tell you "how many tokens you used." cc-daily tells you "what you did."
Install
npx cc-dailyRequires Claude Code to be installed (claude CLI available).
Usage
Interactive TUI
cc-dailyOpens a calendar-based TUI:
- Navigate dates with arrow keys,
[/]to switch months - Green dates = report generated, white = activity recorded, dim = no activity
- Press Enter to view or generate a report
- Reports are rendered with glow if available, with a built-in fallback
CLI Mode
# Generate today's report
cc-daily -d 2026-03-27
# Force regeneration
cc-daily -d 2026-03-27 --force
# Extract raw conversation text (no summarization)
cc-daily --raw
# Raw text for a specific date
cc-daily --raw -d 2026-03-27How It Works
- Scans
~/.claude/history.jsonlto find sessions for the target date - Reads each session's JSONL file, extracts user message text
- Merges worktree sessions into their parent project
- Computes metadata (focus project, active hours, session count)
- Sends user messages to
claude --model sonnet -pfor summarization - Auto-splits by project (or by session) if text exceeds the token budget
- Saves reports to
~/.cc-daily/reports/YYYY-MM-DD.md
Data Sources
cc-daily reads Claude Code's local data (read-only):
~/.claude/history.jsonl— global input history~/.claude/projects/<encoded>/<sessionId>.jsonl— full conversation records
Reports are stored at ~/.cc-daily/reports/YYYY-MM-DD.md.
License
MIT
