/jonhill90-skills:mine-transcriptsfrom jonhill90-skills
Mines your own agent transcripts for recurring vocabulary to surface candidates for the next skill, using the external mine_prompts.py extractor and applying judgement to separate re-made decisions from repeated tool calls or boilerplate.
Ships in jonhill90-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
A word or phrase a person keeps reaching for is a procedure they keep re-explaining. This skill finds that repetition in your own transcripts and turns it into a ranked list of candidates with evidence — not a skill. Every other skill in a typical collection encodes a known practice; this one finds what has not been named yet, so that noticing does not depend on someone happening to notice.
Filtering JSONL by shape — which turns are harness noise, which are site-specific recurring prompts, which look typed versus pasted, which fall in a date range or match a grep — is deterministic. It has one correct answer per input, and re-deriving that answer by reading transcripts by eye every run is a model doing a fixed job forever (jonhill90/skills#207).
That job now lives in mine_prompts.py, part of the
agent-supervisor project
— not bundled in this collection, because it is harness machinery, not
skill content. Confirm it's on the machine before relying on it (find </path/to/agent-supervisor> -name mine_prompts.py or ask where that repo is
checked out). If it isn't available, say so and stop — walking through its
extraction logic by hand is exactly the fixed-job-forever this rewrite
removes; don't reintroduce it because the tool is momentarily missing.
The tool takes:
--root — transcript root (defaults to ~/.claude/projects; override for
another harness).--since YYYY-MM-DD — restrict to a date range.--grep <pattern> — restrict to turns matching a regex.--typed-only — heuristic: keep only turns that look typed (short, few
newlines, no code fence) and drop turns that look pasted (skill files,
briefs, API docs). It is a heuristic, not a guarantee — of one measured
corpus, roughly 46% of extracted turns were pasted, not typed, so a plain
--grep without --typed-only will hit pasted material too.--stats — counts per day, plus a typed/pasted split. Use this first, see
Verify the instrument.--json — machine-readable rows (at, text, typed, source), for
reading programmatically instead of scrolling terminal output.What it will never do: reason about what a turn means, decide whether a repeated term is a re-made decision, or tell you a request recurred because it was never delivered. That's this skill's job, below — it starts only after the tool's output exists.
Settle this before running anything — it governs every step below.
$HOME (it usually is), say so out loud before scanning: "reading
~/..., read-only."mine_prompts.py does not redact — it prints operator turns verbatim, by
design, on the assumption its output stays local. Treat every row it
returns as unredacted until you've handled it.Run mine_prompts.py --stats with no filters before anything else. It must
return a nonzero count for turns you already know exist. If it doesn't,
the tool's harness-noise filter or your --root is wrong — fix that before
believing any downstream zero or thin result.
This was a real failure, not a hypothetical: the extractor's predecessor
returned 80 "candidates" that were all JSON envelope noise (tokens,
cache, sessionId) because raw transcript bytes are JSON-per-line and
most byte volume is API metadata, not anything a human typed
(jonhill90/skills#199).
The instrument was wrong, not the corpus. mine_prompts.py itself refuses
to print an empty, confident-looking result — an unfiltered, no-match run
exits nonzero with a message on stderr telling you to verify the instrument
first — but that only catches the total-absence case. A --grep or
--since filter that quietly returns nothing looks identical to "he never
said that" and to "the filter is wrong"; treat both as open until you've
checked the unfiltered stats.
The corpus itself is also incomplete, separately from any tool bug: one
measured phrase — said and quoted verbatim elsewhere (a personal vault) —
had no matching original turn across 1,150 transcript files (could not
measure — no primary source found to confirm this count). Transcripts
are one record of what was said, not the only one. Before reporting "never
said" or "no evidence of," check whatever other record exists (notes,
vault, prior write-ups) — an absence in mine_prompts.py's output is
evidence about the corpus's coverage, not about what the operator did or
didn't say.
Counting, filtering, and typed/pasted classification are deterministic —
mine_prompts.py's job, and its output is inspectable text or JSON, not a
claim you have to trust. Deciding "this term names a procedure" is
judgement, and it happens next, by reading that output, not by re-scanning
transcripts yourself.
python3 /path/to/agent-supervisor/scripts/supervisor/mine_prompts.py --stats
python3 /path/to/agent-supervisor/scripts/supervisor/mine_prompts.py --typed-only --json > /tmp/mined.json
python3 /path/to/agent-supervisor/scripts/supervisor/mine_prompts.py --since 2026-08-01 --grep '<term>'
Start broad (--stats, no filters) as the positive control above, then
narrow with --typed-only, --since, and --grep once you trust the
instrument. --typed-only cuts pasted briefs and skill files out of a
plain word search; keep both typed and pasted runs in view when a term
might genuinely appear in either.
Unlike the old bundled script, mine_prompts.py does not compute a
consistency score — it hands you rows, not a ranked table. Group the rows
that share a term or phrase yourself (grep, or read --json output) and
for each candidate note: how many times it appears, across how many
distinct sessions (source), and whether the surrounding text reads the
same way each time.
For each term worth a look:
gh, pytest, git recur
because they're invoked, not because a decision gets re-made — not a
candidate. A term can also name a decision-shaped use of a tool
("always confirm before force-push") that no denylist catches; judge the
use, not just the noun.description is doing its job,
not a new candidate.One entry per surviving candidate:
This list is the deliverable. It names candidates for the next skill; it is
not one. Turning a candidate into a skill is a separate, deliberate step —
in this collection, that means opening an issue the way
jonhill90/skills#136
records distill having been proposed, not filing one automatically from
this run.
references/eval-case.md walks a small,
synthetic set of extracted rows through the judgement steps above —
including a term that's boilerplate, one that's a repeated tool call, and
one that's a genuine re-made decision — with the expected classification
for each. Use it to sanity-check that this skill's judgement guidance
actually discriminates before trusting it on a real transcript set.
mine_prompts.py lives outside this collection because it's harness
machinery (transcript root, site-specific exclude list) not skill
content. If a project needs an extractor bundled instead of external,
that's a different skill for a different repository, not a reason to
re-embed extraction logic here.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
44 skills in this plugin
/adopt-or-buildDecide, per component, whether to adopt an existing name, dependency, library, or tool or build it in-house, weighing blast radius over convenience. Use at the point a name or dependency is about to be chosen or recommended — before it is proposed, not after. Not for finding a technology's capability ceiling (research-the-limit), not the mechanism for genuinely different reviewer lenses (ask-a-council, which this skill may call), and not a substitute for attacking the chosen answer (devils-advocate, which this skill invokes as its final step)./ask-a-councilConvene several harnesses or models against one question, each doing a distinct job it can fail at — different evidence, a different objective, or a withheld conclusion — before an artifact becomes load-bearing and being wrong is expensive. Diversity comes from what each reviewer is given, never from a character it plays. Use when the failure modes genuinely differ in kind — a single reviewer's prompt would only catch what its own lens looks for. Not for a question a cheap deterministic check settles (run the check first); not for one reviewer's prompt (sanity-check owns that); not for dispatch mechanics or isolation boundaries (dispatching-subagents owns those); not for trusting a verdict already returned (verify-the-instrument owns that)./central-hub-mcpOrient on Central Hub through its read-only hub-mcp server — call hub_orient first, then only the targeted tool the answer still needs — and connect an AI harness to hub-mcp. Use when a session needs live Central Hub state (c1 cluster apps, the agent notebook, the bi-temporal fact graph, open PRs and CI), when hub-mcp tools appear in the tool list, or when configuring Claude Code, Codex CLI, Claude Desktop, Copilot, Antigravity, Pi, OpenClaw, Hermes, Paperclip, Rex, or another MCP client to reach hub-mcp./close-the-loopConfirm you have everything needed to finish a change before starting it — what to implement, how it will be tested, and which rules govern it. Use before non-trivial work, when reviewing a plan for completeness, or when preparing a PR that needs planning evidence./create-skillDesign, create, and validate portable Agent Skills with effective triggers, concise instructions, and reusable scripts, references, or assets. Use when adding a new skill, substantially restructuring an existing skill, or validating a skill's structure, frontmatter, links, and bundled scripts./decide-by-variantBuild several genuinely different real artifacts in the real medium with fake data, and let the human pick by looking, instead of asking a taste decision in prose. Use whenever a decision has no objectively right answer — a glyph, a layout, a default, a name, a wording, a sort order — and describing the options in words would cost the human more thought than looking at them would. Run determine-intent first — if the answer is already a known parameter, build nothing. Not for getting different positions from agents on one question (ask-a-council); not for attacking an answer once chosen (devils-advocate runs after a variant is picked, not instead of building one).npx claudepluginhub jonhill90/skills --plugin jonhill90-skills