← ClaudeAtlas

wise-insights-refinelisted

Review your learned skills for overlap and consolidate them — merge several redundant or composable skills into one aggregated skill and retire the originals (reversibly), after your approval. The "garden" pass to /wise-insights-mine's "harvest": mine creates skills from recurring sessions, refine keeps the resulting library tidy. Operates only on wise-managed skills (those carrying the wise-insights marker); hand-written skills are never auto-deleted — only suggested. Fully local. Invoked as `/wise-insights-refine` (bare alias) or `/wise:wise-insights-refine` (canonical). Use when the user says "refine my skills", "consolidate skills", "merge overlapping skills", "clean up auto-created skills", "dedupe my skills", or types `/wise-insights-refine`.
e1024kb/wise-claude · ★ 1 · AI & Automation · score 80
Install: claude install-skill e1024kb/wise-claude
# /wise-insights-refine — consolidate learned skills ## Why this skill exists `/wise-insights-mine` drafts a new `~/.claude/skills/<name>/SKILL.md` each time a recurring pattern crosses its threshold. Over time the library accumulates skills that overlap or compose. This command finds those overlaps and, with your per-group approval, **merges** redundant skills into one aggregated skill and **retires** the originals — reversibly (every retired skill is backed up first). The deterministic work — enumerating skills, parsing the wise-insights marker, computing token overlap, and the destructive retire (backup → verify → delete) — lives in `${CLAUDE_PLUGIN_ROOT}/scripts/insights.py` (stdlib-only). This skill runs it, judges which overlaps are genuinely the same task, synthesises the merged skill, and orchestrates the safe ordering. It never deletes files itself; retiring goes through the engine, which refuses to touch a skill that lacks the marker — so **hand-written skills are structurally protected**. ## Arguments Parse `$ARGUMENTS` as a flag string (any order; all optional): - `--dry-run` — show the consolidation plan (groups, proposed names, what would be retired and where it'd be backed up) and make NO writes or retires. - `--min-jaccard <X>` — overlap threshold (default 0.6). Lower surfaces looser overlaps; raise for only near-duplicates. - `--include-external` — also surface overlaps that involve hand-written (unmarked) skills. These are **suggestion-only** — t