skill-miner

skill-miner is an agent for coding agents from cskwork/supergoal-skill. It costs 40 tokens per session (387 once invoked), scanned A, original, MIT.

A read-only history analyzer that looks through past coding-agent sessions for repeated tasks and procedures. It ranks possible new skills based on how often they recur and how much work they could remove.

In plain words
What is it for?
It is for mining session history, grouping similar requests, finding repeated command patterns, and proposing a small ranked list of candidate skills.
Why use it?
It helps identify useful automation opportunities from actual work history instead of guessing which skills would be valuable.

Agent

Part of the supergoal plugin — 2 skills, 13 agents shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/cskwork/supergoal-skill/skill-miner
Clone the repo
git clone --depth 1 https://github.com/cskwork/supergoal-skill

Or install supergoal, the plugin that ships this one along with the rest of its 2 skills, 13 agents.

Per session 40 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 387 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00040 $0.00387
Opus 5 $0.00020 $0.00193
Sonnet 5 $0.00008 $0.00077
Haiku 4.5 $0.00004 $0.00039

Measured 3d ago against content hash 7eea8329922b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

skill-miner scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/supergoal/agents/skill-miner.md · 27 lines

What it actually says

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.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 27 lines · 40 tokens per session scan A 7eea8329922b

Subscribe to this mod's changes

skill-miner is an agent published in the GitHub repository cskwork/supergoal-skill (4 stars, last pushed 5d ago), licensed MIT. It adds 40 tokens to every session and 387 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

claude-wiki-pages-ingest-agent

Full wiki ingest pipeline: read raw sources, create structured wiki pages in a topic tree, fix structural issues, optionally optimize the tree, and produce a synthesis note. Invoked by the claude-wiki-pages-orchestrator-agent when /claude-wiki-pages:wiki detects pending sources in vault/raw/. Power users may call this…

odere-pro/claude-wiki-pages-plugin · 87 tokens

claude-wiki-pages-curator-agent

Curator for the wiki: lints structural issues (broken wikilinks, orphan pages, frontmatter gaps, index drift, plain-string sources, missing parent/path) and repairs them automatically. Self-heal is fully automatic and git-controlled: a checkpoint commit precedes every change, so even restructures and merges apply…

odere-pro/claude-wiki-pages-plugin · 118 tokens

claude-wiki-pages-analyst-agent

Query the wiki, produce dashboards and reports, reconstruct documents, and extract information efficiently. Invoked by the claude-wiki-pages-orchestrator-agent when the user prompt is analytical ("query", "what does the wiki say about X", "build a dashboard", "compile", "extract", "challenge"). Five operating modes …

odere-pro/claude-wiki-pages-plugin · 93 tokens

claude-wiki-pages-extract-worker-agent

Read-only extraction worker for the parallel-extract pipeline. Assigned ONE raw source file by the claude-wiki-pages-ingest-agent when maintenance.maxParallelExtract>1 and route=claude. Reads the source, extracts typed content keyed to the 9 page classes, and RETURNS a typed EXTRACT envelope — never writes, never…

odere-pro/claude-wiki-pages-plugin · 123 tokens

claude-wiki-pages-polish-agent

Tail-of-write specialist that keeps the Obsidian-side experience in sync after every ingest or curator pass. Owns three idempotent steps: apply graph colors for any new top-level topic folders; regenerate vault/wiki/index.md from per-folder folder notes ( / .md) with current page counts; reconcile every folder note's…

odere-pro/claude-wiki-pages-plugin · 116 tokens

claude-wiki-pages-maintenance-agent

Autonomous upkeep specialist. Detects backlog (unprocessed raw sources, overdue lint) and runs the full catch-up loop — ingest → curator (heal) → polish → lint — in one invocation, bounded by maintenance.maxPerRun and git-checkpointed throughout. Dispatched by the orchestrator when maintenance.enabled and a backlog…

odere-pro/claude-wiki-pages-plugin · 107 tokens