Agent skill · writing content · tradermonty
skill-idea-miner
Mine Claude Code session logs for skill idea candidates. Use when running the weekly skill generation pipeline to extract, score, and backlog new skill ideas from recent coding sessions.
Why this skill is useful
Adds a script for mining and scoring skill ideas from session logs, which is not commonly found in public resources.
What it needs
Requires claude, python, pyyaml installed locally. About 2k tokens when loaded. Last updated 2026-08-06. 2,581 stars on the source repository.
What this skill does
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/runskillgenerationpipeline.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 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, iserror 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 rawcandidates.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. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills tradermonty/skill-idea-miner