skill-miner
Skill1 starsChanged 3 months agoMITView on GitHub
Mine selected past agent sessions for repeated corrections, preferences, and workflows, then draft reusable skills. Use ONLY when the user explicitly asks to learn from chat history or turn past observations into agent guidance.
6 other projects use a version of this.
Adopted by
Most recently taken up by
- CsHeng/agent-skillstheir own version, first seen Nov 4, 2026
- getedgehq/skillstheir own version, first seen Nov 1, 2026
- JPeetz/agent-skillstheir own version, first seen Oct 28, 2026
- SohamBanerjee853/skill-minertheir own version, first seen Aug 9, 2026
- Sagart-cactus/skill-minertheir own version, first seen Jul 13, 2026
- AltrinaAI/skill-minertheir own version, first seen Jun 29, 2026
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- JPeetz/agent-skills★ 14same name
- getedgehq/skills★ 5same name
- CsHeng/agent-skills★ 3same name
- AltrinaAI/skill-miner★ 0same name
- Sagart-cactus/skill-miner★ 0same name
- SohamBanerjee853/skill-miner★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository45 other files it gives its agents.
- AGENTS.mdAGENTS.md
- blast-radiusSkill
- broSkill
- codebase-designSkill
- code-reviewSkill
- confluence-workflowSkill
- creating-a-pr-mrSkill
- defuddleSkill
- diagram-designSkill
- docxSkill
- domain-modelingSkill
- engineering-principlesSkill
- forgejo-cliSkill
- frontend-designSkill
- gh-cliSkill
- git-conventional-commitsSkill
- git-working-agreementSkill
- glab-cliSkill
- grillingSkill
- grill-meSkill
- grill-with-docsSkill
- howSkill
- improve-codebase-architectureSkill
- jira-workflowSkill
- json-canvasSkill
- k8s-opsSkill
- obsidian-basesSkill
- obsidian-cliSkill
- obsidian-markdownSkill
- openspec-workflowSkill
- pdfSkill
- pptxSkill
- prototypeSkill
- researchSkill
- setup-matt-pocock-skillsSkill
- technical-writingSkill
- theme-factorySkill
- to-specSkill
- to-ticketsSkill
- triageSkill
- unslopSkill
- wayfinderSkill
- whySkill
- writing-for-agentsSkill
- xlsxSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. 0 are common, 13 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
13
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 9
Read transcript-sources.md before collecting history from a client.
- Distinctive: line 14
Ask the user to choose:
- Distinctive: line 23
Read only the sessions the user confirms.
- Distinctive: line 25
Default to user messages and final assistant responses.
- Distinctive: line 33
Use the supported export method for the chosen client.
- Distinctive: line 37
Keep temporary exports outside the repository.
- Distinctive: line 58
Look for concrete repeated signals:
- Distinctive: line 101
Create a skill only when the behavior has a distinct trigger and a reusable process or body of reference.
- Distinctive: line 109
no artifact when normal agent behavior already covers the observation.
- Distinctive: line 111
Prefer improving an existing skill over creating an overlapping one.
- Very specific: line 115
Use the writing-for-agents skill when available.
- Distinctive: line 121
use a specific trigger-oriented description.
- Distinctive: line 124
avoid client-specific tools unless compatibility is explicit.
- Distinctive: line 132
Write the reviewed draft to the approved path only after the user approves its content and target.
- Very specific: line 142
Use only sessions newer than the skill's last meaningful update.
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Skill Miner
Read transcript-sources.md before collecting history from a client.
1. Define The Scope
Ask the user to choose:
- the client or exported transcript directory;
- the project or workspace;
- a date range or explicit sessions;
- whether to create a new skill or improve an existing one;
- where drafts may be written.
Show the exact sessions or files to be read before reading transcript content. Read only the sessions the user confirms.
Default to user messages and final assistant responses. Include other records only when the user explicitly selects them.
This step is complete when the user has confirmed all five scope choices and the exact sessions or files.
2. Collect Safely
Use the supported export method for the chosen client. Record the client, client version, workspace, export method, and session identifiers in temporary analysis notes.
Keep temporary exports outside the repository. Remove only temporary exports created by this workflow; leave user-provided exports untouched. Use read-only session operations and keep all transcript data local.
Sanitization is best-effort. Ask the user to exclude or redact sessions likely to contain credentials, customer data, private keys, or unrelated private conversations before analysis. If sensitive material still appears, stop that session's analysis, write no notes from it, and ask whether to exclude it.
Analysis notes carry paraphrases only, without secret-shaped values, absolute home paths, credentials, personal identifiers, or transcript quotations.
3. Extract Signals
Split the selected history into at least three sessions or time slices when enough history exists. Analyze slices independently, using parallel read-only workers when available.
Each worker must receive the same session boundary and privacy rules, and must return paraphrased signals rather than quotations or raw transcript content.
Look for concrete repeated signals:
- corrections the user repeatedly makes;
- preferred response length, structure, tone, and terminology;
- recurring verification and evidence requirements;
- stable Git, review, delegation, or tool workflows;
- tasks that repeatedly need the same sequence or reference material;
- mistakes that a focused checklist could prevent.
For each signal, record only a short paraphrase, affected sessions, confidence, and conflicts. Do not retain transcript quotations in the proposed skill.
This step is complete when every selected slice has been analyzed and its signals recorded. With fewer than three sessions, treat every signal as at most probable.
4. Corroborate
Classify a signal as:
- strong: appears independently in at least three sessions or time slices;
- probable: appears twice without contradictory evidence;
- weak: appears once, is ambiguous, or reflects one unusual task;
- conflicted: later behavior or explicit instructions contradict it.
Draft from strong signals. Discuss probable signals with the user. Exclude weak and conflicted signals unless the user explicitly confirms them as a durable preference.
The user's current explicit preference outranks historical inference.
This step is complete when every signal has a confidence tier and conflicts have been identified.
5. Confirm Intent
Present strong and probable signals as concise paraphrases. Ask one or two structured questions about which patterns reflect durable preferences, then ask one open question about useful behavior that may not appear in the selected history. Discard rejected signals. Treat confirmed preferences as strong.
6. Choose The Artifact
Create a skill only when the behavior has a distinct trigger and a reusable process or body of reference. Otherwise propose the narrower home:
- a repository instruction for repository-specific rules;
- a global rule for behavior that must apply to every task;
- documentation for human knowledge;
- a lint, test, script, or configuration rule for mechanically enforceable behavior;
- no artifact when normal agent behavior already covers the observation.
Prefer improving an existing skill over creating an overlapping one.
7. Draft And Review
Use the writing-for-agents skill when available; otherwise follow the Agent
Skills format directly. Ask before using unslop, when available, as a final
prose pass because it applies an opinionated house style.
The draft must:
- use a specific trigger-oriented description;
- encode only corroborated or user-confirmed behavior;
- state observable completion criteria;
- avoid client-specific tools unless compatibility is explicit;
- contain paraphrased, corroborated behavior without transcript excerpts, session identifiers, private paths, credentials, or inferred personal facts;
- credit any third-party material it adapts.
Present each proposed rule with its confidence and a paraphrased evidence summary outside the skill. Ask the user to accept, revise, or reject it.
Write the reviewed draft to the approved path only after the user approves its content and target. Installation, commits, pushes, publishing, and pull requests each require separate confirmation.
The workflow is complete when the user has accepted or rejected every proposed rule, approved drafts have been written to their chosen locations, and all temporary exports created by this workflow have been removed.
Updating An Existing Skill
Use only sessions newer than the skill's last meaningful update. For a tracked
skill, obtain that cutoff with git log -1 --format=%cI -- <path>; otherwise ask
the user for it. Preserve rules that the new evidence neither contradicts nor
supersedes. Show additions, changes, and removals separately before editing.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

