Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
tradermonty avatar

Skill Idea Miner

  • 778 installs
  • 2.6k repo stars
  • Updated August 4, 2026
  • tradermonty/claude-trading-skills

skill-idea-miner is a Python-backed Claude Code skill that mines recent session logs, scores novelty and feasibility, and maintains a prioritized skill-idea backlog for developers who run a weekly skill-generation pipeli

About

skill-idea-miner is a Claude Code skill in tradermonty/claude-trading-skills that turns recent Claude Code session logs into scored skill-idea candidates for a downstream generation pipeline. Stage one runs scripts/mine_session_logs.py over allowlisted projects in ~/.claude/projects/, filters the past 7 days, detects signals such as skill path references, error patterns, repetitive tool sequences, and unresolved requests, then emits raw_candidates.yaml. Stage two runs scripts/score_ideas.py to deduplicate with Jaccard similarity above 0.5 and score novelty, feasibility, and trading value through headless Claude CLI calls, merging results into logs/.skill_generation_backlog.yaml. Developers reach for skill-idea-miner on the weekly launchd run at Saturday 06:00 or when manually refreshing a skill backlog with python3 scripts/run_skill_generation_pipeline.py --mode weekly. Prerequisites are Python 3.10+, pyyaml, and an authenticated Claude CLI with no separate API keys.

  • Automatically extracts skill idea candidates from Claude Code session logs
  • Scores candidates for novelty, feasibility, and trading value
  • Maintains a prioritized backlog for downstream skill generation
  • Supports dry-run mode to preview candidates without LLM scoring
  • Weekly automated pipeline via launchd or manual Python script

Skill Idea Miner by the numbers

  • 778 all-time installs (skills.sh)
  • +90 installs in the week ending Aug 5, 2026 (Skillselion tracking)
  • Ranked #83 of 782 Skill Development skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/tradermonty/claude-trading-skills --skill skill-idea-miner

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs778
repo stars2.6k
Last updatedAugust 4, 2026
Repositorytradermonty/claude-trading-skills

How do you mine Claude Code logs for skill ideas?

Automatically surface new AI-coding skill ideas by mining their own Claude Code session logs.

Who is it for?

Developers maintaining a growing Claude Code skill library who want a repeatable weekly pipeline from real session pain points.

Skip if: Developers without Claude CLI access or local ~/.claude/projects session logs should skip skill-idea-miner because the miner depends on those artifacts.

When should I use this skill?

The weekly skill-generation pipeline runs or a developer asks to refresh the skill-idea backlog from recent coding sessions.

What you get

raw_candidates.yaml reports, scored backlog entries in .skill_generation_backlog.yaml, and ranked ideas with novelty, feasibility, and trading-value scores.

  • raw_candidates.yaml
  • .skill_generation_backlog.yaml
  • Scored skill-idea backlog entries

By the numbers

  • Filters session logs to the past 7 days by file mtime and timestamp field
  • Composite score uses 0.3×Novelty + 0.3×Feasibility + 0.4×Trading Value
  • Deduplicates with Jaccard similarity threshold above 0.5

Files

SKILL.mdMarkdownGitHub ↗

Skill Idea Miner

Automatically extract skill idea candidates from Claude Code session logs, score them for novelty, feasibility, and trading value, and maintain a prioritized backlog for downstream skill generation.

When to Use

  • Weekly automated pipeline run (Saturday 06:00 via launchd)
  • Manual backlog refresh: python3 scripts/run_skill_generation_pipeline.py --mode weekly
  • Dry-run to preview candidates without LLM scoring

Prerequisites

  • Python 3.10+ with pyyaml package
  • Claude CLI installed and authenticated (claude --version to verify)
  • Session logs in ~/.claude/projects/<project>/ (created automatically by Claude Code)
  • No API keys required (uses Claude CLI for LLM calls)

Workflow

Quick Start

# Dry-run: preview mined candidates without LLM scoring
python3 scripts/mine_session_logs.py --dry-run --output-dir reports/

# Full mining with scoring (requires Claude CLI)
python3 scripts/mine_session_logs.py --output-dir reports/

# Score existing candidates
python3 scripts/score_ideas.py \
  --candidates reports/raw_candidates.yaml \
  --output-dir logs/

Stage 1: Session Log Mining

1. Enumerate session logs from allowlist projects in ~/.claude/projects/ 2. Filter to past 7 days by file mtime, confirm with timestamp field 3. Extract user messages (type: "user", userType: "external") 4. Extract tool usage patterns from assistant messages 5. Run deterministic signal detection:

  • Skill usage frequency (skills/*/ path references)
  • Error patterns (non-zero exit codes, is_error flags, exception keywords)
  • Repetitive tool sequences (3+ tools repeated 3+ times)
  • Automation request keywords (English and Japanese)
  • Unresolved requests (5+ minute gap after user message)

6. Invoke Claude CLI headless for idea abstraction 7. Output raw_candidates.yaml

Stage 2: Scoring and Deduplication

1. Load existing skills from skills/*/SKILL.md frontmatter 2. Deduplicate via Jaccard similarity (threshold > 0.5) against:

  • Existing skill names and descriptions
  • Existing backlog ideas

3. Score non-duplicate candidates with Claude CLI:

  • Novelty (0-100): differentiation from existing skills
  • Feasibility (0-100): technical implementability
  • Trading Value (0-100): practical value for investors/traders
  • Composite = 0.3 Novelty + 0.3 Feasibility + 0.4 * Trading Value

4. Merge scored candidates into logs/.skill_generation_backlog.yaml

Output Format

raw_candidates.yaml

generated_at_utc: "2026-03-08T06:00:00Z"
period: {from: "2026-03-01", to: "2026-03-07"}
projects_scanned: ["claude-trading-skills"]
sessions_scanned: 12
candidates:
  - id: "raw_2026w10_001"
    title: "Earnings Whispers Image Parser"
    source_project: "claude-trading-skills"
    evidence:
      user_requests: ["Extract earnings dates from screenshot"]
      pain_points: ["Manual image reading"]
      frequency: 3
    raw_description: "Parse Earnings Whispers screenshots to extract dates."
    category: "data-extraction"

Backlog (logs/.skill_generation_backlog.yaml)

updated_at_utc: "2026-03-08T06:15:00Z"
ideas:
  - id: "idea_2026w10_001"
    title: "Earnings Whispers Image Parser"
    description: "Skill that parses Earnings Whispers screenshots..."
    category: "data-extraction"
    scores: {novelty: 75, feasibility: 60, trading_value: 80, composite: 73}
    status: "pending"

Resources

  • references/idea_extraction_rubric.md — Signal detection criteria and scoring rubric
  • scripts/mine_session_logs.py — Session log parser
  • scripts/score_ideas.py — Scorer and deduplicator

Related skills

How it compares

Use skill-idea-miner to discover ideas from real sessions; use skill authoring skills when you already know the capability to implement.

FAQ

What does skill-idea-miner require to run?

skill-idea-miner needs Python 3.10+ with pyyaml, an authenticated Claude CLI, and session logs under ~/.claude/projects/. No separate LLM API keys are required because scoring uses headless Claude CLI calls.

How does skill-idea-miner score candidates?

skill-idea-miner scores each non-duplicate candidate for novelty, feasibility, and trading value on a 0-100 scale, then computes composite = 0.3×Novelty + 0.3×Feasibility + 0.4×Trading Value before merging into the backlog YAML.

Can skill-idea-miner preview ideas without scoring?

skill-idea-miner supports a dry-run that writes mined candidates without LLM scoring: python3 scripts/mine_session_logs.py --dry-run --output-dir reports/. Use this to inspect raw_candidates.yaml before running score_ideas.py.

Skill Developmentagentsautomationresearch

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.