In short.
Skill Miner is an instruction package and local scanner for developers and teams turning repeated coding-agent work into reusable skills, but frequent keyword matches do not establish a useful workflow. The scanner groups history into broad intents and configurable workflow candidates; the surrounding instructions guide evidence review and drafting. Important limits include partial redaction, incomplete native platform coverage and counts that can mix different kinds of evidence. Runtime behavior, compatibility and candidate quality have not been tested.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage includes all five files in skills/skill-miner at revision b9ffd1513e84136b72e2b6f041dc1ebfd9e23a84: SKILL.md, agents/openai.yaml, references/discovery-rubric.md, references/patterns.json and scripts/scan_sessions.py. The repository-level LICENSE is included as the related notice outside that folder. Other repository content, sibling skills, agent hosts and users' histories are excluded. No code was executed; installation, runtime compatibility, discovery accuracy, performance and generated-skill effectiveness were not assessed.
The overview
Identity
Skill Miner is the skill-miner folder in hqhq1025/skill-optimizer. Its purpose is to discover repeated procedures in coding-agent sessions, memories and local work, then help an assistant propose reusable skills. Here, a skill means a small package of instructions and supporting files an assistant can load.
The original source folder is [https://github.com/hqhq1025/skill-optimizer/tree/main/skills/skill-miner]. The included agent interface metadata supplies the display name Skill Miner and a suggested prompt asking it to find repeated workflows in coding-agent history.
Assessment
Its strongest use is narrowing a large history into places worth investigating. The scanner supplies counts and short examples, while the rubric asks whether a repeated task contains useful sequencing, judgment or verification that future agents might otherwise miss.
The bundled patterns are tailored to particular interests, including Coproxy recovery, paper archives, project promotion and frontend verification. They provide starting examples rather than a universal catalogue. No measured accuracy, time savings or improvement in subsequent agent behavior is established.
Users
The intended users are developers reviewing their own agent histories and teams building a backlog of reusable instructions from actual work. It is particularly relevant when similar requests recur, agents repeatedly miss the same step, or successful work depends on a specific sequence across tools.
Beginners need enough command-line familiarity to locate history files and run Python, or assistance doing so. The rubric discourages packaging generic coding knowledge, isolated project facts and tasks better handled by scripts or project documentation.
Capabilities
The scanner has parsers for Codex and Claude JSONL histories, Codex rollout summaries, selected Gemini or Antigravity files, and generic JSON, JSONL, Markdown and text exports. It emits Markdown or JSON containing source-record counts, platform labels, tool signals, intent clusters and workflow candidates with scores and example snippets.
The skill instructions extend beyond scanning: they guide candidate naming, trigger descriptions, workflow outlines, supporting resources, validation prompts and personal-versus-public direction. The Python script itself only reports findings; it does not create skill folders or write draft skills.
Using it
Requirements
Scanning uses Python 3 and readable local history files or supported exports. The bundled references/patterns.json provides workflow definitions by default, and --patterns selects a replacement. If the selected pattern file is missing, the scanner can still report broad intents and tool signals, but produces no workflow candidates. The script imports only Python standard-library modules. No minimum Python version is stated; its use of argparse.BooleanOptionalAction is a compatibility consideration for older installations.
Following the full workflow also requires an assistant capable of using the skill instructions and a person able to inspect representative history. The supplied files do not establish supported host versions, operating-system compatibility or hardware requirements.
Mechanism
The scanner selects native history files by modification time, parses messages and tool signals, filters several kinds of noisy user messages, and classifies the first eight retained user messages in each record. Classification uses regular expressions, including configurable workflow patterns. It does not use embeddings or a model to judge meaning.
Broad intent counts are per source record; workflow counts are per matching user message. A record can be a session, an exported document or a compressed summary. Workflow scores reach 4 at six hits and 5 at twenty hits spanning at least two project labels. These scores reflect frequency and project spread, not demonstrated usefulness or independent requests.
The discovery rubric adds human judgment: inspect at least five positive examples and three near misses, assess recurrence and value, and check how a proposed skill would trigger on relevant requests while staying silent on neighboring tasks.
Setup
Keep the complete skill folder together so the scanner can find references/patterns.json and the assistant can access the rubric. Retain the repository LICENSE notice. The supplied material does not document a platform-specific installation procedure.
From the skill folder, the documented first pass is python3 scripts/scan_sessions.py --days 30 --limit 300 --min-count 3. Archives and rollout summaries are included by default. The file limit applies separately to native source groups, rather than imposing a single total limit. Use --patterns for a custom pattern file, repeat --export for additional inputs, and add --json for structured output.
Example
An illustrative use is a developer looking for repeated frontend regression checks. The bundled frontend-regression-verification pattern matches terms including screenshot, Playwright and browser. A matching cluster would be a lead to inspect, because those words can also occur in unrelated tasks.
The developer would examine positive examples and near misses, identify any recurring sequence of inspection and verification, and draft a narrow skill only if that sequence adds useful guidance. The result should include realistic trigger examples and neighboring tasks that should not activate it. This is an example workflow, not an observed scan or result.
Assessment & evidence
Limitations
Keyword matching can confuse unrelated work with recurring procedures. Later requests are missed when they fall beyond the first eight retained user messages. Native file selection uses modification dates rather than message timestamps. Export directories use a separate ten-year window and 1,000-file limit, while individual exported files are not filtered by --days.
Native Cursor and OpenCode parsers are not implemented; the scanner directs users toward generic exports. Summaries, raw sessions and exported copies can represent overlapping work. Deduplication uses platform and file path, so the counts do not establish distinct underlying interactions.
Redaction is limited to example snippets: it masks certain macOS usernames, email addresses and token-like strings, then truncates the text. Project labels and other metadata can still disclose information, and other secret formats may remain. Output should not be assumed safe to publish without inspection.
No runtime tests, parser accuracy measurements or representative scan outputs are supplied. Compatibility with current agent history formats and performance on large archives remain unassessed.
Reasoning
The useful distinction is between finding repetition and deciding what deserves a skill. Repetition becomes more valuable when it reveals non-obvious sequencing, recurring corrections or verification habits. The rubric explicitly rejects broad intent labels as sufficient grounds for creating instructions.
The scanner provides at most five example snippets per cluster and does not collect near misses or attach a source path to each example. Consequently, its output cannot by itself complete the rubric's review. Candidate confirmation requires returning to the underlying history and checking that apparent recurrence represents the same useful procedure.
Alternatives
For a small history, the discovery rubric can guide direct inspection without relying on the bundled patterns. For mechanical counting, format conversion or redaction, the rubric favors deterministic scripts. Project-specific instructions may belong in AGENTS.md or another local document instead of a new skill.
The documentation points to skill-personalizer for tuning an existing skill and skill-generalizer for preparing a private skill for public use. Their implementations are outside this scope, so their capabilities and comparative quality are unknown.
Evidence
The available material consists of the complete skill instructions, agent interface metadata, discovery rubric, workflow pattern definitions, scanner source and repository license. These establish the intended workflow and the implementation's parsing, counting and output rules.
They do not include an evaluation dataset, execution receipts, verified discoveries or evidence that resulting skills improve later work. The findings describe source behavior and documented intent; actual execution results remain unknown.
Access & freshness
Costs
The supplied material states no service pricing, paid tier or cost estimate. The scanner contains no model API invocation or network calls; its processing is local. An assistant used to interpret examples or draft skills may have separate provider charges. Those charges, processing time and total operating cost are unknown.
Rights
The supplied repository notice is the MIT License, copyright 2026 hqhq1025. It permits use, copying, modification, distribution, sublicensing and sale, provided the copyright and permission notices remain in copies or substantial portions. It supplies the software without warranty.
That notice establishes permissions for the supplied software and documentation. It does not establish rights to other people's session contents, confidential project information or material incorporated into newly drafted skills.
Freshness
The supplied snapshot was captured on 15 November 2026 at revision b9ffd1513e84136b72e2b6f041dc1ebfd9e23a84. The fixed source folder is [https://github.com/hqhq1025/skill-optimizer/tree/b9ffd1513e84136b72e2b6f041dc1ebfd9e23a84/skills/skill-miner].
No release number is stated in the supplied skill files. Later changes to the main branch and compatibility with subsequently changed transcript formats are unknown.
Actions
Obtain the complete folder from the original source, preserve its relative paths and license notice, and read the discovery rubric. Decide which histories may be inspected, configure source paths and archive or summary options, and replace patterns that do not describe your work.
Before drafting a skill, reconcile candidate hits with distinct examples, inspect at least five positives and three near misses, and check for overlap between summaries and transcripts. Inspect snippets and metadata before sharing output. Start a confirmed candidate with one small SKILL.md and validate its intended triggers and neighboring tasks.
