Not on Product Hunt
Claude Skills
AI Agentssoon
Workflowssoon
Creators

Not on Product Hunt

1,496 curated Claude Skills. We rejected 2,904 so you don't have to.

Categories

DevelopmentMarketingSecurityIntegrationsOperationsLegal

Resources

Submit a SkillSearch SkillsCreatorsSitemapllms.txt

Legal

Privacy PolicyTerms of Service

© 2025 Not on Product Hunt. Not affiliated with Product Hunt.

Built for the Claude community

Train Credit Scoring Model is a finance Claude Skill built by Adnan El Zahabi. Best for: Credit risk teams retrain scoring models on new data, validate performance metrics, audit for bias, and promote to production with full compliance documentation..

What it does
Train and validate credit scoring models with MLflow tracking, bias audits, and compliance documentation.
Category
finance
Created by
Adnan El Zahabi
Last updated
March 18, 2026
financeadvanced

Train Credit Scoring Model

Train and validate credit scoring models with MLflow tracking, bias audits, and compliance documentation.

Skill instructions


name: train-model description: Train or retrain a credit scoring model. Use when the user asks to train, retrain, fine-tune, or calibrate a model, or when new training data is available.

Train model

Train or retrain an OpenCredit scoring model with full MLflow tracking and post-training validation.

Workflow

1. Validate prerequisites

  • Confirm training data exists (check data/ or feature store)
  • Confirm model config YAML exists in configs/models/
  • Confirm MLflow is accessible (uv run mlflow ui or docker service)

2. Run training

uv run python -m opencredit.models.train \
  --config configs/models/<model_type>.yaml \
  --experiment-name <descriptive_name> \
  --tags market=<market> version=<semver>

3. Evaluate

After training completes, immediately run evaluation:

uv run python -m opencredit.models.evaluate \
  --model-id <mlflow_run_id> \
  --test-data data/test.parquet

Check these metrics meet thresholds:

  • AUC-ROC ≥ 0.72
  • Gini ≥ 0.44
  • KS statistic ≥ 0.30
  • Calibration: Brier score ≤ 0.20

4. Bias audit (MANDATORY before promotion)

uv run python -m opencredit.compliance.bias_audit \
  --model-id <mlflow_run_id> \
  --attributes gender age_group region

Fail criteria: disparate impact ratio outside 0.8-1.25 on ANY group.

5. Generate model card

uv run python -m opencredit.compliance.docs_generator \
  --model-id <mlflow_run_id> \
  --output docs/compliance/

6. Register in MLflow

Only if evaluation AND bias audit pass:

uv run python -m opencredit.models.register \
  --model-id <mlflow_run_id> \
  --stage production

Important

  • NEVER skip the bias audit step, even for quick experiments.
  • Log ALL hyperparameters — no magic numbers in training scripts.
  • If training on new market data, create a new experiment in MLflow, don't reuse existing ones.
  • Save the SHAP background dataset alongside the model artifact.
View raw SKILL.md on GitHub

Install

/plugin install train-credit-scoring-model@zadnan2002

Requires Claude Code CLI.

Use cases

Credit risk teams retrain scoring models on new data, validate performance metrics, audit for bias, and promote to production with full compliance documentation.

Reviews

No reviews yet. Be the first to review this skill.

Stats

Installs0
GitHub Stars0
Forks0
LicenseMIT License
UpdatedMar 18, 2026

Creator

A

Adnan El Zahabi

@zadnan2002

View on GitHub