CommunityProgramación y desarrollogithub.com

tradermonty/skill-idea-miner

Extrae ideas candidatas para habilidades (skills) de los registros de sesión de Claude Code. Útil para ejecutar el pipeline semanal de generación de habilidades, extrayendo, puntuando y almacenando nuevas ideas basadas en sesiones de codificación recientes.

¿Qué es skill-idea-miner?

Skill Idea Miner automatiza el descubrimiento de candidatos a nuevas habilidades (skills) a partir de los registros de sesión de Claude Code. Su objetivo principal es alimentar un pipeline semanal que, al analizar las interacciones del usuario (mensajes, patrones de uso de herramientas, errores, secuencias repetitivas y peticiones de automatización), identifique ideas con potencial para convertirse en nuevas habilidades. Este proceso incluye una etapa de minería determinista, seguida de una puntuación mediante Claude CLI que evalúa novedad, viabilidad y valor comercial, generando una puntuación compuesta. Finalmente, las ideas se deduplican contra habilidades existentes y se integran en un backlog priorizado. Es compatible con entornos que tengan Python 3.10+, pyyaml y Claude CLI instalados, y no requiere claves API adicionales, ya que utiliza el propio Claude CLI para las llamadas de LLM.

Compatible con✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/tradermonty/claude-trading-skills/tree/main/skills/skill-idea-miner

Installed? Explore more Programación y desarrollo skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

Preguntar en tu IA favorita

Abre un nuevo chat con esta habilidad de agente ya precargada.

Documentación

Skill Idea Miner

Extrae automáticamente candidatos a ideas de habilidades (skills) de los registros de sesión de Claude Code, puntúalos según novedad, viabilidad y valor comercial, y mantén un backlog priorizado para la generación posterior de habilidades.

Cuándo usarlo

  • Ejecución automática del pipeline semanal (sábado 06:00 mediante launchd)
  • Actualización manual del backlog: python3 scripts/run_skill_generation_pipeline.py --mode weekly
  • Simulación (dry-run) para previsualizar candidatos sin puntuación con LLM

Requisitos previos

  • Python 3.10+ con el paquete pyyaml
  • Claude CLI instalado y autenticado (claude --version para verificar)
  • Registros de sesión en ~/.claude/projects/<project>/ (creados automáticamente por Claude Code)
  • No se requieren claves API (usa Claude CLI para las llamadas LLM)

Flujo de trabajo

Inicio rápido

# Simulación: previsualizar candidatos extraídos sin puntuación LLM
python3 scripts/mine_session_logs.py --dry-run --output-dir reports/

# Minería completa con puntuación (requiere Claude CLI)
python3 scripts/mine_session_logs.py --output-dir reports/

# Puntuar candidatos existentes
python3 scripts/score_ideas.py \
  --candidates reports/raw_candidates.yaml \
  --output-dir logs/

Etapa 1: Minería de registros de sesión

  1. Enumerar los registros de sesión de los proyectos permitidos en ~/.claude/projects/
  2. Filtrar los últimos 7 días según la fecha de modificación del archivo, confirmar con el campo timestamp
  3. Extraer mensajes de usuario (type: "user", userType: "external")
  4. Extraer patrones de uso de herramientas de los mensajes del asistente
  5. Ejecutar detección determinista de señales:
    • Frecuencia de uso de habilidades (referencias a rutas skills/*/)
    • Patrones de error (códigos de salida distintos de cero, flags is_error, palabras clave de excepción)
    • Secuencias repetitivas de herramientas (3+ herramientas repetidas 3+ veces)
    • Palabras clave de solicitud de automatización (inglés y japonés)
    • Solicitudes no resueltas (intervalo de 5+ minutos después del mensaje del usuario)
  6. Invocar Claude CLI sin interfaz gráfica para la abstracción de ideas
  7. Generar raw_candidates.yaml

Etapa 2: Puntuación y deduplicación

  1. Cargar las habilidades existentes desde el frontmatter de skills/*/SKILL.md
  2. Deduplicar mediante similitud de Jaccard (umbral > 0.5) contra:
    • Nombres y descripciones de habilidades existentes
    • Ideas existentes en el backlog
  3. Puntuar los candidatos no duplicados con Claude CLI:
    • Novedad (0-100): diferenciación respecto a habilidades existentes
    • Viabilidad (0-100): posibilidad técnica de implementación
    • Valor comercial (0-100): valor práctico para inversores/operadores
    • Compuesta = 0.3 * Novedad + 0.3 * Viabilidad + 0.4 * Valor comercial
  4. Fusionar los candidatos puntuados en logs/.skill_generation_backlog.yaml

Formato de salida

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"

Recursos

  • references/idea_extraction_rubric.md — Criterios de detección de señales y rúbrica de puntuación
  • scripts/mine_session_logs.py — Analizador de registros de sesión
  • scripts/score_ideas.py — Puntuador y deduplicador

Individual skills in this repo

This repo contains 14 individual skills — each has its own dedicated page.

tradermonty/backtest-expert

Expert guidance for systematic backtesting of trading strategies. Use when developing, testing, stress-testing, or validating quantitative trading strategies. Covers "beating ideas to death" methodology, parameter robustness testing, slippage modeling, bias prevention, and interpreting backtest results. Applicable when user asks about backtesting, strategy validation, robustness testing, avoiding overfitting, or systematic trading development.

tradermonty/market-environment-analysis

Comprehensive market environment analysis and reporting tool. Analyzes global markets including US, European, Asian markets, forex, commodities, and economic indicators. Provides risk-on/risk-off assessment, sector analysis, and technical indicator interpretation. Triggers on keywords like market analysis, market environment, global markets, trading environment, market conditions, investment climate, market sentiment, forex analysis, stock market analysis, 相場環境, 市場分析, マーケット状況, 投資環境.

tradermonty/market-news-analyst

This skill should be used when analyzing recent market-moving news events and their impact on equity markets and commodities. Use this skill when the user requests analysis of major financial news from the past 10 days, wants to understand market reactions to monetary policy decisions (FOMC, ECB, BOJ), needs assessment of geopolitical events' impact on commodities, or requires comprehensive review of earnings announcements from mega-cap stocks. The skill automatically collects news using WebSearch/WebFetch tools and produces impact-ranked analysis reports. All analysis thinking and output are conducted in English.

tradermonty/options-strategy-advisor

Options trading strategy analysis and simulation tool. Provides theoretical pricing using Black-Scholes model, Greeks calculation, strategy P/L simulation, and risk management guidance. Use when user requests options strategy analysis, covered calls, protective puts, spreads, iron condors, earnings plays, or options risk management. Includes volatility analysis, position sizing, and earnings-based strategy recommendations. Educational focus with practical trade simulation.

tradermonty/portfolio-manager

Comprehensive portfolio analysis using Alpaca MCP Server integration to fetch holdings and positions, then analyze asset allocation, risk metrics, individual stock positions, diversification, and generate rebalancing recommendations. Use when user requests portfolio review, position analysis, risk assessment, performance evaluation, or rebalancing suggestions for their brokerage account.

tradermonty/scenario-analyzer

Skill that analyzes 18-month scenarios from a news headline. Runs the primary analysis with the scenario-analyst agent and obtains a second opinion with the strategy-reviewer agent. Generates a comprehensive English report covering 1st/2nd/3rd-order impacts, recommended stocks, and a critical review. Example: /scenario-analyzer "Fed raises rates by 50bp" Triggers: news analysis, scenario analysis, 18-month outlook, medium-to-long-term investment strategy

tradermonty/sector-analyst

This skill should be used when analyzing sector rotation patterns and market cycle positioning. It fetches sector uptrend data from CSV (no API key required) and optionally accepts chart images for supplementary analysis. Use this skill when the user requests sector rotation analysis, cyclical vs defensive assessment, overbought/oversold identification, or market cycle phase estimation. All analysis and output are conducted in English.

tradermonty/signal-postmortem

Record and analyze post-trade outcomes for signals generated by edge pipeline and other skills. Track false positives, missed opportunities, and regime mismatches. Feed results back to edge-signal-aggregator weights and skill improvement backlog.

tradermonty/skill-designer

Design new Claude skills from structured idea specifications. Use when the skill auto-generation pipeline needs to produce a Claude CLI prompt that creates a complete skill directory (SKILL.md, references, scripts, tests) following repository conventions.

tradermonty/theme-detector

Detect and analyze trending market themes across sectors. Use when user asks about current market themes, trending sectors, sector rotation, thematic investing, what themes are hot or cold, or wants to identify bullish and bearish market narratives with lifecycle analysis.

tradermonty/uptrend-analyzer

Analyzes market breadth using Monty's Uptrend Ratio Dashboard data to diagnose the current market environment. Generates a 0-100 composite score from 5 components (breadth, sector participation, rotation, momentum, historical context). Use when asking about market breadth, uptrend ratios, or whether the market environment supports equity exposure. No API key required.

tradermonty/us-stock-analysis

Comprehensive US stock analysis including fundamental analysis (financial metrics, business quality, valuation), technical analysis (indicators, chart patterns, support/resistance), stock comparisons, and investment report generation. Use when user requests analysis of US stock tickers (e.g., "analyze AAPL", "compare TSLA vs NVDA", "give me a report on Microsoft"), evaluation of financial metrics, technical chart analysis, or investment recommendations for American stocks.

tradermonty/value-dividend-screener

Screen US stocks for high-quality dividend opportunities combining value characteristics (P/E ratio under 20, P/B ratio under 2), attractive yields (3% or higher), and consistent growth (dividend/revenue/EPS trending up over 3 years). Supports two-stage screening using FINVIZ Elite API for efficient pre-filtering followed by FMP API for detailed analysis. Use when user requests dividend stock screening, income portfolio ideas, or quality value stocks with strong fundamentals.

tradermonty/vcp-screener

Screen S&P 500 stocks for Mark Minervini's Volatility Contraction Pattern (VCP) and detect historical VCPs in a single ticker's price path. Identifies Stage 2 uptrend stocks forming tight bases with contracting volatility near breakout pivot points; in historical single-ticker mode walks a multi-year history and emits every VCP that formed with forward-outcome stats (breakout / stop-hit / timeout). Use when user requests VCP screening, Minervini-style setups, tight base patterns, volatility contraction breakout candidates, Stage 2 momentum stock scanning, or historical VCP pattern study on a specific ticker (e.g. FIX, TSLA).

Skills relacionados