wise-insights-refinelisted
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