improve-systemlisted
Install: claude install-skill umerdarazkha-debug/improve-system
# /improve-system
A free take on BuildPartner's `improve-system` with no third-party service and no extra account. The digest script reads `~/.claude/projects/*/*.jsonl` on this machine and makes no network calls; you then read the digest in this session like any other file. Nothing changes until the user says yes. Tip for the user: Claude Code's built-in `/insights` gives a complementary HTML usage report; this skill goes further by writing the fixes.
## Step 1: Build the digest
```bash
node ~/.claude/skills/improve-system/digest.mjs --days 30 --out "$SCRATCH/digest.md"
```
Use the session scratchpad (or a temp dir) for `$SCRATCH`. Read the whole digest. If it is over ~150k characters, rerun with `--days 14` or `--max-chars 300`. Arguments: `--days N` window, `--max-chars N` per prompt.
Also read what already exists so you don't suggest duplicates:
- `~/.claude/CLAUDE.md`, the project's `CLAUDE.md`, `~/.claude/settings.json`, `.claude/settings.json`
- `~/.claude/skills/*/SKILL.md` frontmatter and project `.claude/skills/`
- the auto-memory folder for this project (`MEMORY.md` + files), if there is one
## Step 2: Find patterns (only ones that recur)
Flag a pattern only when it shows up in 2+ sessions or 3+ times in one session. Quote the user's own words as evidence, with date and session id.
1. **Got wrong**: corrections ("no", "that's wrong", "not like that", "I said", "again", "why did you", frustration). What was Claude doing wrong, and what rule would have preven