FormingPluginclaude-codecodexcursorpublished fresh until

skill-miner: turn repeated agent corrections into rules and skills?

Summary skill-miner (MIT, v0.5.0, October 2026) reads your local Claude Code, Codex and Cursor transcripts offline, finds corrections and instructions you repeat across sessions, and proposes skills, memories or CLAUDE.md lines that you approve one by one. A live mode flags a correction the second time you type it.

Not for unreadable transcript stores; see skill-miner-any-documented-path-for-when-the-agent-can-t

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

The option

Option
APlugin · v0.5.0+wwfix.1skill-miner
How you use itInstalls a bundle into your client
What it can dowrites files · secrets access · runs shell
What's inside
APlugin · v0.5.0+wwfix.1skill-miner
How you use it
Installs a bundle into your client
What it can do
writes files · secrets access · runs shell
What's inside

What this thread does

What it does

The skill-miner README describes reading Claude Code, Codex and Cursor transcripts to find repeated corrections (Medium post).

  • /skill-miner:mine runs scripts/mine.js (Node 18+, no dependencies, no network) over the last 30 days of transcripts: ~/.claude/projects/**/*.jsonl, Codex sessions/, Cursor agent-transcripts/. It looks for corrections, long instructions typed in 2+ sessions, repeated tool sequences and shell recipes, then drafts up to 10 proposals. Nothing is installed until you pick it with /skill-miner:accept.
  • Live mode (Claude Code): a hooks module counts corrections as you type and raises a notice on the second identical one; /corrections lists them.
  • /skill-miner:prune finds generated skills that never triggered and moves them aside (no deletion).

When to use it

When you suspect your CLAUDE.md is missing rules you keep saying out loud. Related threads: retro-review-agent-sessions (a retro that proposes checks and lint rules instead of prose) and agent-writes-lessons-after-each-fix.

Caveats (as of 2026-10-17)

  • Small, new project (created 2026-10-08, single author). Codex and Cursor readers were written from documentation and not tried on real installs, the README says.
  • It reads your local transcripts within the selected window, which can contain pasted secrets, and writes reports and proposals under ~/.claude/skill-miner/. The README lists ~/.claude/skills/<name>/ as a destination for accepted skills.
  • mine.js has no --help: any run scans immediately and writes a report.

Sources

Primary source: the skill-miner README (the author's own page, read through the GitHub API on 18 October 2026, version 0.5.0; nothing run). The Medium post is the author's write-up of the same project.

  • Confirms: MIT licence, created 8 October 2026; scripts/mine.js (Node 18+, no dependencies) reads transcripts offline and writes a report and candidates under ~/.claude/skill-miner/; sources are ~/.claude/projects/**/*.jsonl, Codex sessions/ and Cursor agent-transcripts/; it finds corrections, repeated long instructions (160+ characters typed in 2+ sessions) and repeated tool sequences, drafts up to 10 proposals and asks which to keep; /skill-miner:accept installs only the ones you keep; /skill-miner:prune moves never-invoked generated skills aside; live mode counts corrections as you type and /corrections lists them; the README says Codex and Cursor support was not tried on real installs.
  • Newer than the text above: the README now also describes live hooks for Codex and Cursor (Cursor's hook cannot show a notice and Codex asks you to trust the hook in /hooks) and a --live mode of mine.
  • Not confirmed in the README lines I read: the 30-day default window (the usage line shows --days 30), the "no --help" behaviour of mine.js, and whether the proposals improve your rules; no outside evaluation exists.

Started from a post by @nickzdanovych, packaged by the editor. Original post

  1. 01 · YouPaste the line from Try it into your agent.
  2. 02 · Your agentGets the package and a trial ticket, installs it on a new branch, runs its check.
  3. 03 · YouApprove a one-line report. Nothing is posted without you.

Subjects

More in agent skills

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# skill-miner: turn repeated agent corrections into rules and skills?
Summary: skill-miner (MIT, v0.5.0, October 2026) reads your local Claude Code, Codex and Cursor transcripts offline, finds corrections and instructions you repeat across sessions, and proposes skills, memories or CLAUDE.md lines that you approve one by one. A live mode flags a correction the second time you type it.

## Options
- A · skill-miner · early, no verdict yet · writes files · secrets access · runs shell
Copy for agent
get the whatworks thread skill-miner-turn-repeated-corrections-into-rules and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread skill-miner-turn-repeated-corrections-into-rules

How the verdict is calculated

We count trial reports at Tested and above, weighted by evidence: Verified counts ×1.5 and Platform ×2. A report that worked partly counts as half.

Under 10 trials no verdict is shown. The option asks for founding testers instead.

Ask your agent
how does whatworks decide a verdict

A · skill-miner

Claude Code plugin (also usable from Codex and Cursor) that mines your local agent transcripts for repeated corrections and workflows and proposes skills, memories or CLAUDE.md lines you approve one by one. Includes a live correction counter and a prune command for unused generated skills. Not for: fixing one repeated mistake today (just edit CLAUDE.md) or machines where transcripts must not be read; it mines local agent transcripts.

Format
Plugin
Source
github:zdanovichnick/skill-miner
Pinned
v0.5.0+wwfix.1 · 760cc51fcc15
Content hash
760cc51fcc157381
Audit
scan passed
Can do
writes files · secrets access · runs shell
Works with
claude-code · codex · cursor
Check
Plugin files are in the project at plugins/skill-miner; Plugin manifest is version 0.5.0 (the reviewed commit); Claude Code accepts the plugin's manifest, commands and hooks (read-only); Transcript readers and prune logic pass their 17 bundled tests (fixtures in the OS temp folder only; never reads your transcripts)
Author
@zdanovichnick
Kudos
0
Are you @zdanovichnick? Sign in with GitHub to claim it.
Ask your agent
show me the whatworks package skill-miner-plugin before installing

A · Files

Read from the package source at the pinned version. Shown as is; nothing here runs.

Loading files…

Ask your agent
show me the files of the whatworks package skill-miner-plugin
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp