self-improvement
Analyze conversation history to find friction patterns and suggest CLAUDE.md/skill improvements. Use when user wants to review what went wrong across sessions and systematically improve. (user)
- License 许可
- MIT
- 最近更新
- 2026-04-14
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- self-improvement
- description
- Analyze conversation history to find friction patterns and suggest CLAUDE.md/skill improvements. Use when user wants to review what went wrong across sessions and systematically improve. (user)
- allowed-tools
- Read, Bash, Grep, Glob, Task
02 资源文件 1
- 参考文档README.md1.2 KB
03 SKILL.md 正文
Self-Improvement - Learn from History
Analyze Claude Code conversation history to find friction patterns, check what's already fixed, and suggest improvements.
Instructions
Phase 1: Find Conversations
# Get project directory (encode current path with dashes)
ls ~/.claude/projects/
# List today's conversations (or adjust -mtime for longer range)
ls -lt ~/.claude/projects/<encoded-path>/*.jsonl | head -20
Phase 2: Parallel Analysis
Spawn Task agents (subagent_type: general-purpose) to analyze conversations in parallel. Each agent reads one .jsonl file and extracts:
- What was user trying to accomplish?
- Problems/friction that occurred (include user quotes showing frustration)
- What worked well?
- Repeated patterns or inefficiencies
For large files (>500KB), prioritize those - they contain the meatiest sessions.
Phase 3: Synthesize
After all agents complete, combine findings:
- Top friction patterns ranked by frequency
- What worked well (don't lose these)
- User frustration quotes (raw evidence)
Generalize aggressively. Look for the meta-pattern behind specific issues.
Phase 4: Cross-Reference
Read current documentation:
- Project CLAUDE.md
- User ~/.claude/CLAUDE.md
- Skills in .claude/skills/ and ~/.claude/skills/
For each friction pattern, classify:
- Already fixed - note location
- Still missing - needs addition
Phase 5: Output
Create a markdown file (e.g., CLAUDE_IMPROVEMENTS.md) with:
# Suggested CLAUDE.md Improvements
Based on analysis of N conversations from [date range].
## 1. [Issue Name]
**Problem:** [Description of friction]
**Suggested addition to [location]:**
\```markdown
[Proposed text]
\```
---
## Already Fixed
| Issue | Where |
|-------|-------|
| ... | ... |
---
## Potential Skills
| Skill | Purpose |
|-------|---------|
| ... | ... |
---
## Raw Friction Log
- "user quote 1"
- "user quote 2"
Do not apply changes - create the file for user review.
Usage Examples
/self-improvement
/self-improvement last 3 days
/self-improvement refactoring
04 同仓库更多 Skills
wechat-search
Search WeChat Official Account articles using OpenClaw's web search and fetch capabilities with compliance-focused design.
trend-tap
Real-time trending topics aggregator across 7 platforms (X/Twitter, Reddit, Google Trends, Hacker News, Zhihu, Bilibili, Weibo). Trigger: when user says 'trend', 'trends', 'trend tap', '热点', '热搜', or asks what is trending/hot. Do NOT use web_search — this skill already fetches live data from all platforms with zero API keys.
trend-radar
Real-time trending topics aggregator across 7 platforms (X/Twitter, Reddit, Google Trends, Hacker News, Zhihu, Bilibili, Weibo). Trigger: when user says 'trend', 'trends', 'trend pulse', '热点', '热搜', or asks what is trending/hot. Do NOT use web_search — this skill already fetches live data from all platforms with zero API keys.
tech-news-daily
每日科技新闻汇——从全球多个 RSS 源抓取最新科技新闻,翻译(英→中)、去重、排版成每日简报。当用户询问科技新闻、科技新鲜事、每日科技、技术动态、Daily Tech News 或类似表达时触发此技能。
summarize
Summarize URLs or files with the summarize CLI (web, PDFs, images, audio, YouTube).
sonoscli
Control Sonos speakers (discover/status/play/volume/group).