Gradient logo

Gradient

Community
GadaaLabs
gradient

ML-specific patterns for data pipelines, model training, MLOps, and evaluation — domain expertise for machine learning engineers

Overview

PublisherGadaaLabs
Repositoryclaude-code-on-steroids
Skill namegradient
Stars
67
Forks
10
Bundled files
4
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 4 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by GadaaLabs on GitHub. Read the source before you install it.

Installation

Install the Gradient AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/GadaaLabs/claude-code-on-steroids.git /tmp/claude-code-on-steroids
mkdir -p .claude/skills
cp -r /tmp/claude-code-on-steroids/skills/gradient .claude/skills/gradient
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Gradient in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Gradient on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Gradient is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

ML Engineering Patterns

Overview

GRADIENTIn ML, the gradient is the directional signal that tells you exactly how to improve. When invoked: assesses pipeline stage (data / training / serving / MLOps), loads the relevant pattern file, and applies ML-specific validation — schema checks, drift detection, training-serving skew guards, latency budgets.

Core principle: ML systems have unique failure modes — data drift, training-serving skew, silent degradation. Test data and models, not just code.

Announce at start: "Running GRADIENT for ML-specific patterns."


Entry Point — First 5 Minutes

STAGE ASSESSMENT:

"What stage are you at?"
A) Data collection / ingestion
B) Feature engineering / preprocessing
C) Model training / experimentation
D) Model evaluation / validation
E) Model serving / inference
F) Production monitoring / MLOps
G) Debugging an ML failure

Stage → Section mapping:

  • A/B → Data Pipeline Testing (see patterns/data-pipeline.md)
  • C → Model Training (see patterns/model-training.md)
  • D → ML Evaluation (correctness metrics, calibration)
  • E → Model Serving TDD (see patterns/model-serving.md)
  • F → MLOps Deployment (see patterns/mlops.md)
  • G → Run hunter first, then return with evidence

After identifying stage, ask: "What's the primary constraint — accuracy, latency, cost, or reliability?"


Data Pipeline Testing

Load patterns: patterns/data-pipeline.md

Key tests to implement:

  1. Schema validation — column set, feature types, label distribution
  2. Distribution shift detection — KS test per feature, covariate shift AUC
  3. Null / edge case handling — nulls, empty input, extreme values
  4. Data leakage check — correlation with future labels, reproducibility

Rule: Write pipeline tests before writing model code.


Model Training Checklist

Load patterns: patterns/model-training.md

Before training complex models:

  • Simple baseline implemented (logistic regression / majority class)
  • Baseline metrics documented (accuracy, F1, AUC-ROC, latency)
  • Hyperparameter search configured (Bayesian preferred; grid only if ≤ 3 params)
  • Early stopping rules defined (patience, min_delta, restore_best_weights)
  • Checkpoint strategy set (save_best_only, monitor_metric, metadata)
  • Ablation study planned (each component justified)

Model Serving TDD

Load patterns: patterns/model-serving.md

Tests required before deployment:

  1. Input validation — schema, range, distribution z-score check
  2. Latency — p99 within budget, throughput at expected QPS
  3. Fallback — model unavailable → default response, timeout → 504
  4. Output calibration — confidence bins match actual accuracy ± 5%

MLOps Deployment

Load patterns: patterns/mlops.md

Required components:

  1. Model versioning — semver, git commit + data version + metrics in metadata
  2. A/B test config — traffic split, primary metric, guardrail metrics, stopping criteria
  3. Drift monitoring — PSI for data drift (threshold 0.1), CUSUM for concept drift
  4. Rollback triggers — accuracy drop >5%, error rate >1%, latency >2×, PSI >0.25

ML Evaluation Framework

TaskMetrics
Classificationaccuracy, precision, recall, F1, AUC-ROC, AUC-PR
RegressionMAE, MSE, RMSE, R², MAPE
RankingNDCG, MAP, MRR

Cost/latency budgets (set before training, enforce in CI):

  • p99 latency: 100ms
  • cost per 1k requests: $1.00

Red Flags

Never:

  • Deploy without baseline comparison
  • Skip drift monitoring in production
  • Train without checkpointing
  • Use test data for training
  • Deploy without rollback plan

Always:

  • Test data pipelines before model training
  • Validate input distribution matches training
  • Track model version with data version
  • Monitor prediction distribution in production
  • Have fallback for model failures

Integration with Superpowers

SkillIntegration
forgeWrite data tests before pipeline, model tests before training
hunterUse for training failures, accuracy drops
sentinelVerify metrics before claiming model works
chronicleStore patterns from failed experiments

Final Checklist

  • Data pipeline tests pass (schema, distribution, edge cases)
  • Baseline model established and documented
  • Complex model beats baseline (with ablation study)
  • Input validation tests pass
  • Output calibration verified
  • Latency budget met (p99)
  • Fallback behavior tested
  • Model versioned with metadata
  • Drift monitoring configured
  • Rollback triggers defined

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Gradient AI skill do?

ML-specific patterns for data pipelines, model training, MLOps, and evaluation — domain expertise for machine learning engineers

Why use Gradient on TypingMind?

Because you install it once and use it with any model. Gradient is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Gradient in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/GadaaLabs/claude-code-on-steroids/tree/main/skills/gradient. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Gradient?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Gradient?

As many as you like. As long as a model supports skills, you can use Gradient with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Gradient AI skill free?

It is published on GitHub by GadaaLabs. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇