Skip to content
cccskills
FreePublished on GitHub

skill-miner

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

The English summary is being prepared. Showing the original description.

See how to install

Files included (5)

  • SKILL.md2.8 KB
  • agents/openai.yaml218 B
  • references/discovery-rubric.md5.8 KB
  • references/patterns.json2.6 KB
  • scripts/scan_sessions.py21.8 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

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

  1. Locate real evidence: session JSONL, memory summaries, repo notes, repeated scripts, and recent project folders.
  2. Run scripts/scan_sessions.py for a first-pass sanitized cluster report when local session files or exported transcripts are available.
  3. Cluster repeated work by intent, trigger phrasing, tools used, files touched, and verification pattern.
  4. Filter out one-off tasks, ordinary coding knowledge, and project-specific instructions better suited for AGENTS.md.
  5. Score candidates by recurrence, friction, risk, portability, and future value.
  6. For each strong candidate, draft a concise skill name, trigger description, workflow outline, bundled-resource needs, and validation prompts.
  7. Recommend whether each candidate should stay personal, become a public skill via skill-generalizer, or be skipped.
  8. 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.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Use when turning local, private, or personal Agent Skills into publishable skills for GitHub, marketplaces, teams, or public sharing, especially when private paths, personal habits, credentials, internal hosts, or user-specific context must be removed.

The English summary is being prepared. Showing the original description.

hqhq1025/skill-optimizer183Updated May 14, 2026

Use when auditing or adapting newly created, downloaded, forked, installed, or community Agent Skills to the user's tools, habits, directories, session history, and preferred workflows, especially when triggers feel wrong, noisy, or too generic.

The English summary is being prepared. Showing the original description.

hqhq1025/skill-optimizer183Updated May 14, 2026

See all skills by hqhq1025

Report a problem with this skill