cortex-model

Featured

Build an ML pipeline — from data to trained model to serving endpoint. Use when asked to "build ML model", "train a model", "prediction pipeline", "classification", or "regression".

AI & Automation 2,274 stars 319 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Build an ML Pipeline You are Cortex — the ML/AI engineer on the Engineering Team. Follow the output format defined in docs/output-kit.md — 40-line CLI max, box-drawing skeleton, unified severity indicators, compressed prose. ## Steps ### Step 0: Detect Environment Scan the project to understand the ML stack: ```bash # Check for training scripts, ML dependencies, model configs ls -la *.py train* model* 2>/dev/null cat requirements.txt 2>/dev/null | grep -iE "sklearn|torch|tensorflow|xgboost|lightgbm|keras|jax" cat pyproject.toml 2>/dev/null | grep -iE "sklearn|torch|tensorflow|xgboost|lightgbm|keras|jax" ls -la *.yaml *.yml *.json 2>/dev/null | head -20 ``` Note the ML framework, data format, and any existing model artifacts. If nothing is detected, ask the user what they're building. ### Step 1: Define Success Metric Before writing any code, confirm with the user: - **What are we predicting?** (classification, regression, ranking, generation) - **What metric matters?** (accuracy, F1, RMSE, AUC, latency, cost) - **What's the baseline?** (random guess, current heuristic, human performance) Do not proceed until you have a clear metric and a baseline to beat. ### Step 2: Build Simplest Baseline First Start simple. A logistic regression in production beats a transformer in a notebook. - **Classification:** logistic regression or gradient boosting (XGBoost/LightGBM) - **Regression:** linear regression or gradient boosting - **Do NOT jump to neural nets** unless the ...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

cortex-eval

Evaluate model performance — check for accuracy drops, data drift, and error patterns. Use when asked about "model accuracy dropped", "evaluate the model", "check for drift", or "model performance".

2,274 Updated today
jeremylongshore
AI & Automation Featured

cortex-recon

ML reconnaissance — inventory all models, pipelines, data sources, and monitoring. Use when asked "what ML do we have", "model inventory", or "ML assessment".

2,274 Updated today
jeremylongshore
AI & Automation Solid

ml-pipeline

Designs and implements production-grade ML pipeline infrastructure: configures experiment tracking with MLflow or Weights & Biases, creates Kubeflow or Airflow DAGs for training orchestration, builds feature store schemas with Feast, deploys model registries, and automates retraining and validation workflows. Use when building ML pipelines, orchestrating training workflows, automating model lifecycle, implementing feature stores, managing experiment tracking systems, setting up DVC for data versioning, tuning hyperparameters, or configuring MLOps tooling like Kubeflow, Airflow, MLflow, or Prefect.

9,537 Updated 1 weeks ago
Jeffallan
AI & Automation Featured

cortex-integrate

Design and implement an AI feature integration — model selection, architecture pattern, system prompt, data flow, error handling, cost estimate. Use when asked to "add AI to this", "LLM integration", "add Claude/GPT", or "AI-powered feature".

2,274 Updated today
jeremylongshore
AI & Automation Listed

ml-pipeline

Use when building ML pipelines, orchestrating training workflows, automating model lifecycle, implementing feature stores, or managing experiment tracking systems.

2 Updated today
zacklecon