analyze-insights
星标16
分支0
更新时间2026年2月17日 10:44
Analyze Claude Code /insight report and generate actionable files
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
Analyze Claude Code /insight report and generate actionable files
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | analyze-insights |
| description | Analyze Claude Code /insight report and generate actionable files |
| allowed-tools | ["Bash","Read","Write"] |
| context | fork |
| argument-hint | [path-to-report.html] |
/insight in Claude Code and saving the HTML reportLocate the report: Find the /insight HTML report file. Common locations:
~/.claude/usage-data/report.html/insightRun the analysis: Execute claude-insights (auto-detects the report, or pass a path):
npx claude-insights analyze -o ./insights
npx claude-insights analyze <report-file> -o ./insights
Review the output: Check the generated files in the output directory:
insights-todo.md — Prioritized task listCLAUDE.md-additions.md — Rules to add to your CLAUDE.md.claude/settings-insights.json — Hook configurations.claude/skills/*/SKILL.md — Generated skillsinsights-README.md — Placement guideApply directly (alternative): Use --apply to merge directly into your project:
npx claude-insights analyze --apply
Verify: Check that the generated rules and skills make sense for your project.
--apply mode deduplicates rules — safe to run multiple times# Auto-detect report and apply (simplest)
npx claude-insights analyze --apply
# Wait for report to appear, then apply
npx claude-insights analyze --wait --apply
# Standard analysis with explicit file
npx claude-insights analyze ~/report.html -o ./my-project
# With facet data enrichment
npx claude-insights analyze --apply --facets
# Watch for report changes
npx claude-insights watch ~/report.html -o ./my-project
# Team aggregation
npx claude-insights team report1.html report2.html -o ./team-output