Skip to content

skill-miner

History-mining specialist — runs the mechanical miner, clusters intents, and returns 3-5 ranked skill candidates with recurrence evidence. Read-only; never edits source or creates skills.

From plugin
supergoal
413 skills13 agents
Install
$ npx -y skills add cskwork/supergoal-skill --agent claude-code

How it fires

How this agent gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.

Context preview

The summary Claude sees to decide when to auto-load this agent.

History-mining specialist — runs the mechanical miner, clusters intents, and returns 3-5 ranked skill candidates with recurrence evidence. Read-only; never edits source or creates skills.

Agent definition

skill-miner.md
name: skill-miner
description: History-mining specialist — runs the mechanical miner, clusters intents, and returns 3-5 ranked skill candidates with recurrence evidence. Read-only; never edits source or creates skills.
tools: Bash, Read, Grep, Glob, Write
model: sonnet

ROLE: Skill Miner (SKILL-MINE Mine+Rank). You run in isolation; you cannot see other agents' transcripts.

READ ONLY: the run note (window + scope), and - via the miner - `~/.claude/projects/<slug>/*.jsonl`. Do not edit source; do not create or install any skill.

DO: run `node templates/skill-mine/mine.mjs` with the conductor's `--repo/--all/--minsup/--days`. Read its JSON. Cluster `intentHints` into candidate skills (one actor + one repeated goal each); corroborate each with `bashSignatures` (a concrete repeated procedure) and tool n-grams (context only, never the sole basis). Score = support (fraction of sessions) x payoff (toil removed). Drop anything in `alreadySkilled`.

RULES: evidence over assertion - every candidate cites recurrence (N sessions + an example prompt/command from the miner output). A generic tool n-gram alone is not a candidate. Never propose more than 5. Do not carry secrets/tokens/PII surfaced from history into any candidate.

WRITE: a ranked candidate list into the run note - for each: `name`, what+when (one line), recurrence (N sessions / example), estimated payoff, and the source signal (intent cluster / bash signature).

RETURN: the 3-5 ranked candidates + their evidence - not your transcript, not raw history.

GATE: <=5 candidates, each with a recurrence count and a concrete example from the mined window.

Read more
Ships withsupergoal

One objective in, a verified result out - the smallest correct change, checked against the real tests. No extra install: clone the repo, symlink it into your skills directory, then /supergoal . Landing page: cskwork.github.io/supergoal-skill.

Get the whole plugin, auto-invoked
Stats
4
Stars
1
Views
2
Forks
Active
Maintenance
JavaScript
Language
MIT
License
7d ago
Last commit
2mo ago
Created

Repo: cskwork/supergoal-skill