mcpbeat Sign in

Skill Miner Agent Skill

Use when mining coding-agent session history, archived transcripts, memories, or repeated local work to discover recurring workflows that should become new Agent Skills.

9k tokens
context cost
the whole folder, loaded on every use
5
files
ships runnable scripts
0
copies elsewhere
how many repositories repackaged it
152
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/hqhq1025/skill-optimizer --skill skill-miner

The instruction itself

6 sections, as written by the author

Skill Miner

Overview

Mine real agent usage for new skill opportunities. The goal is to find repeated workflows, extract the reusable technique, and turn strong candidates into draft skills with evidence.

When To Use

  • A user wants to scan past coding-agent sessions for repeated workflows.
  • The user suspects they keep asking agents to do similar tasks manually.
  • A team wants a backlog of candidate skills based on actual work rather than brainstorming.
  • Existing memories, session logs, or project notes contain recurring procedures that have not been packaged.

Do not use to tune an existing skill; use skill-personalizer. Do not use to publish a private skill publicly; use skill-generalizer.

Workflow

  • Locate real evidence: session JSONL, memory summaries, repo notes, repeated scripts, and recent project folders.
  • Run scripts/scan_sessions.py for a first-pass sanitized cluster report when local session files or exported transcripts are available.
  • Cluster repeated work by intent, trigger phrasing, tools used, files touched, and verification pattern.
  • Filter out one-off tasks, ordinary coding knowledge, and project-specific instructions better suited for AGENTS.md.
  • Score candidates by recurrence, friction, risk, portability, and future value.
  • For each strong candidate, draft a concise skill name, trigger description, workflow outline, bundled-resource needs, and validation prompts.
  • Recommend whether each candidate should stay personal, become a public skill via skill-generalizer, or be skipped.
  • If the user asks to proceed, create the selected skill folders and verify frontmatter/layout.

Evidence Rules

  • Quote or summarize enough source evidence to justify each candidate.
  • Do not expose sensitive transcript content unless the user explicitly asks for raw evidence.
  • Avoid turning every repeated task into a skill; prefer workflows where guidance changes future behavior.
  • Treat broad intent clusters as navigation hints, not skill drafts.
  • Check sampled positives and near misses before trusting a regex-based workflow candidate.
  • If session access is incomplete, label findings as partial and list what was scanned.

References

Read discovery-rubric.md before doing a full session-history scan or creating candidate skill drafts.

Use scripts/scan_sessions.py --help for the deterministic scanner. It supports native Codex/Claude/Gemini-style local evidence, --export inputs for other agents, and --patterns for personalized workflow definitions. Treat its output as evidence for review, not as an automatic decision to create skills.

Other skills for the same job

different authors, same section of the catalogue
Skill Creator
by anthropics
vendor ×10

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

56k tokens scripts
Skill Creator
by vercel-labs
vendor ×10

Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.

12k tokens scripts
Skill Creator
by JayZeeDesign
×9

Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.

10k tokens scripts
Template Skill
by JayZeeDesign
×7

Replace with description of the skill and when Claude should use it.

35 tokens
Dispatching Parallel Agents
by ZhanlinCui
×5

Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies

2k tokens
Skill Development
by anthropics
vendor ×4

This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill content", or needs guidance on skill structure, progressive disclosure, or skill development best practices for Claude Code plugins.

9k tokens
Find Skills
by sanity-io
vendor ×4

Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.

1k tokens
Writing Skills
by ZhanlinCui
×4

Use when creating new skills, editing existing skills, or verifying skills work before deployment

26k tokens scripts

How to use it

Copy the folder

Take hqhq1025/skill-miner from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.