From insights-share
Run Haiku to automatically digest recent Claude Code session logs into team insights. Trigger when user says "digest my sessions", "run nightly digest", "生成今日心得", "digest", "自动分析"
How this skill is triggered — by the user, by Claude, or both
Slash command
/insights-share:digest-insightsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Automatically extract insights from recent Claude Code session logs using Haiku.
Automatically extract insights from recent Claude Code session logs using Haiku.
When user says:
Check if digest should run:
~/.claude-team/.last_digest_runFind recent jsonl files:
find ~/.claude/projects -name "*.jsonl" -type f -mtime -1
For each jsonl file, use Haiku to extract insights:
Model: claude-haiku-4-20250514
Max tokens: 300
Prompt: Extract 1-3 actionable insights/traps from this session log
Output format: JSON array of {name, when_to_use, description}
Generate hashes and update index (same as upload-insight)
Save hourly snapshot:
cp ~/.claude-team/insights/index.json ~/.claude-team/insights/index-hourly/index-$(date +%Y%m%d%H).json
Push to teammates
Add to crontab:
0 0 * * * bash ~/.claude-team/scripts/haiku-digest.sh
ANTHROPIC_API_KEY environment variable setjq, curl, sha256sum installednpx claudepluginhub liush2yuxjtu/insights-share-lanCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.