‹ 首页

conversation-analyzer

@mhattingpete · 收录于 1 周前 · 上游提交 4 个月前

Analyzes your Claude Code conversation history to identify patterns, common mistakes, and opportunities for workflow improvement. Use when user wants to understand usage patterns, optimize workflow, identify automation opportunities, or check if they're following best practices.

适合你,如果想从对话记录中找出重复错误和自动化机会

/ 下载安装
conversation-analyzer.skill双击,或拖进 Claude 桌面版 / Cowork,即完成安装↓ .skill↓ .zip
用别的 agent?下载 .zip 解压,把文件夹放进它的技能目录
Claude Code~/.claude/skills/(项目级 .claude/skills/)
Codex CLI~/.codex/skills/
Cursor自动读取上面两处目录
其他工具见其文档的「skills」目录;两个下载是同一份文件,只是名字不同
/ 通过 npx 安装 校验哈希
npx oh-my-skill add mhattingpete/claude-skills-marketplace/conversation-analyzer
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- mhattingpete/claude-skills-marketplace/conversation-analyzer
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify mhattingpete/claude-skills-marketplace/conversation-analyzer
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
644GitHub stars
~757最小装载
~3.4K含声明引用
~3.4K文本包总量
镜像托管

怎么用

技能原文 SKILL.md作者撰写 · Apache-2.0 · 3fa16a9

Conversation Analyzer

Analyzes your Claude Code conversation history to identify patterns, common mistakes, and workflow improvement opportunities.

When to Use
  • "analyze my conversations"
  • "review my Claude Code history"
  • "what patterns do you see in my usage"
  • "how can I improve my workflow"
  • "am I using Claude Code effectively"
What It Analyzes
  1. Request type distribution (bug fixes, features, refactoring, queries, testing)
  2. Most active projects
  3. Common error keywords
  4. Time-of-day patterns
  5. Repetitive tasks (automation opportunities)
  6. Vague requests causing back-and-forth
  7. Complex tasks attempted without planning
  8. Recurring bugs/errors
Analysis Scope

Default: Last 200 conversations for recency and relevance.

Methodology
1. Request Type Distribution

Categorizes by: bug fixes, feature additions, refactoring, information queries, testing, other.

2. Project Activity

Tracks which projects consume most time, identifies project-specific patterns.

3. Time Patterns

Hour-of-day usage distribution, identifies peak productivity times.

4. Common Mistakes
  • Vague requests: Initial requests lacking context vs. acceptable follow-ups
  • Repeated fixes: Same issues occurring multiple times
  • Complex tasks: Multi-step requests without planning
  • Repetitive commands: Manual tasks that could be automated
5. Error Analysis

Frequency of error-related requests, common error keywords, recurring problems.

6. Automation Opportunities

Identifies repeated exact requests, suggests skills, slash commands, or scripts.

Output

Structured report with:

  • Statistics: Request types, active projects, timing patterns
  • Patterns: Common tasks, repetitive commands, complexity indicators
  • Issues: Specific problems with examples
  • Recommendations: Prioritized, actionable improvements
Tools Used
  • Read: Load history file (~/.claude/history.jsonl)
  • Write: Create analysis reports if requested
  • Bash: Execute Python analysis script
  • Direct analysis: Parse JSON programmatically
Analysis Script

Uses scripts/analyze_history.py for comprehensive analysis:

Capabilities:

  • Loads and parses ~/.claude/history.jsonl
  • Analyzes patterns across multiple dimensions
  • Identifies common mistakes and inefficiencies
  • Generates actionable recommendations
  • Outputs detailed reports

Usage within skill: Runs automatically when user requests analysis.

Standalone usage:

cd ~/.claude/plugins/*/productivity-skills/conversation-analyzer/scripts
python3 analyze_history.py

Outputs:

  • conversation_analysis.txt - Detailed pattern analysis
  • recommendations.txt - Specific improvement suggestions
Example Output
Analyzed last 200 conversations:
- 60% general tasks, 15% bug fixes, 13% feature additions
- Project "ultramerge" dominates 58% of activity
- Same test-fixing request made 8 times
- 19 multi-step requests without planning
- Peak productivity: 13:00-15:00

Recommendations:
- Use test-fixing skill for recurring test failures
- Create project-specific utilities for ultramerge
- Use feature-planning skill for complex requests
- Add tests to prevent recurring bugs
- Schedule complex work during peak hours
Success Criteria
  • User understands usage patterns
  • Concrete, actionable recommendations
  • Specific examples from history
  • Prioritized by impact (quick wins vs long-term)
  • User can immediately apply improvements
Integration
  • feature-planning: Implement recommended improvements
  • test-fixing: Address recurring test failures
  • git-pushing: Commit workflow improvements
Privacy Note

All analysis happens locally. Conversation history never leaves user's machine.

按 Apache-2.0 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。