Help us improve
Share bugs, ideas, or general feedback.
From codesurf-insights
Generate insights summary report from conversation analysis
npx claudepluginhub jasonkneen/codesurf-insightsHow this command is triggered — by the user, by Claude, or both
Slash command
/codesurf-insights:report [week|month|all]This command is limited to the following tools:
The summary Claude sees in its command listing — used to decide when to auto-load this command
# Generate Insights Report Create a comprehensive report summarizing insights extracted from conversation analysis. Outputs both to terminal and saves to file. ## Arguments - `week` (default): Report on last 7 days of analysis - `month`: Report on last 30 days - `all`: Report on all available analysis data - `YYYY-MM-DD`: Report from specific date ## Process 1. **Gather Analysis Data** Read from: - Previous reports: `~/.claude/insights/reports/` - CLAUDE.md insight sections - Archive metadata: `~/.claude/insights/archive/*/` 2. **Aggregate by Dimension** Group insights ...
/coachAnalyzes development sessions from session-log.jsonl for actionable coaching insights on workflow adoption, prompt quality, efficiency, and code quality. Default: last session + 5-session trend; supports --last N and --all flags.
/review-gladiatorReviews session history observations, clusters patterns, generates workflow recommendations, and suggests changes or existing solutions.
/retroAnalyzes recent Claude Code transcripts to detect recurring fixes, repeated instructions, and frequent mistakes, then suggests where to absorb them (CLAUDE.md / skills / commands) with a decision table and PR draft.
/reflection-harderAnalyzes conversation history to extract session insights including problems solved, code patterns, user preferences, system relationships, knowledge gaps, and improvements. Outputs structured Markdown reflection with action items.
/insightsSurfaces analytics on coding sessions, workflow learnings, correction patterns, heatmaps, and productivity metrics with trends and suggestions. Supports session, learnings, corrections, heatmap subcommands.
/reportGenerates reports on task execution, progress, and metrics including executive summaries, sprint burndowns, standups, performance analysis, and dependencies.
Share bugs, ideas, or general feedback.
Create a comprehensive report summarizing insights extracted from conversation analysis. Outputs both to terminal and saves to file.
week (default): Report on last 7 days of analysismonth: Report on last 30 daysall: Report on all available analysis dataYYYY-MM-DD: Report from specific dateGather Analysis Data Read from:
~/.claude/insights/reports/~/.claude/insights/archive/*/Aggregate by Dimension Group insights by the 6 analysis dimensions:
Calculate Statistics Compute metrics:
Identify Patterns Find recurring themes:
Output to Terminal Display formatted summary:
CodeSurf Insights Report
════════════════════════════════════════════
Period: 2024-01-08 to 2024-01-15
STATISTICS
──────────────────────────────────
Conversations: 47
Messages: 2,891
Detritus archived: 634 (22%)
Insights extracted: 89
TOP LESSONS LEARNED
──────────────────────────────────
1. Always verify file exists before editing (seen 7x)
2. Use Task agent for multi-file searches (seen 5x)
3. Check imports before adding new ones (seen 4x)
EFFICIENCY OPPORTUNITIES
──────────────────────────────────
1. Could save ~3 turns by reading full file first
2. Parallel tool calls underutilized
3. Over-explaining in responses
COMMON ASSUMPTIONS (Incorrect)
──────────────────────────────────
1. Assuming TypeScript when user has JavaScript
2. Assuming npm when user prefers pnpm
3. Assuming main branch instead of checking
LANGUAGE ADDITIONS
──────────────────────────────────
- "PR" → Pull Request
- "WIP" → Work In Progress
- "LGTM" → Looks Good To Me
TREND
──────────────────────────────────
↑ Efficiency improved 12% from last period
↓ More assumptions this week (investigate)
→ Detritus ratio stable at ~22%
Save Report File
Write detailed version to:
~/.claude/insights/reports/YYYY-MM-DD-HHmm.md
Include:
# CodeSurf Insights Report
Generated: 2024-01-15 14:30
Period: 2024-01-08 to 2024-01-15
## Summary
- Conversations: 47
- Messages: 2,891
- Insights: 89
## Lessons Learned
### 1. Verify file exists before editing
**Frequency**: 7 occurrences
**Example**: In conversation abc123, attempted to edit...
**Recommendation**: Add file existence check to editing workflow
### 2. Use Task agent for parallel searches
...
all quarterly for comprehensive review