Skip to content
Back to skills

Ml Ralph

ASecurity

REQUIRED first step for ANY ML task. When user describes an ML problem, goal, experiment, or model improvement — ALWAYS invoke this skill BEFORE exploring code or planning. Triggers: ml-ralph, create prd, ml project, kaggle, implement model, improve model, train model, better model, new approach, experiment.

  • 39 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added February 7, 2026
ai-agentsgo

Security analysis

A100/100

Scanned September 7, 2026

npx -y skills add pentoai/ml-ralph --skill ml-ralph --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ml Ralph?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ml Ralph
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/pentoai-ml-ralph/badge)](https://www.skillsdirectory.com/skills/pentoai-ml-ralph)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ml-ralph
description: "REQUIRED first step for ANY ML task. When user describes an ML problem, goal, experiment, or model improvement — ALWAYS invoke this skill BEFORE exploring code or planning. Triggers: ml-ralph, create prd, ml project, kaggle, implement model, improve model, train model, better model, new approach, experiment."
---

# ML-Ralph PRD Creator

Help users create a PRD for their ML project through conversation.

## Core Principle: PERSISTENCE

**The agent does NOT stop until success criteria are met.**

- If something seems "impossible," investigate why - don't rationalize
- If you hit a ceiling, try fundamentally different approaches (not variations)
- If you truly cannot progress, set `status: "blocked"` and ask user - never declare "complete" prematurely
- Before ANY stopping decision, run the **Devil's Advocate** check (see RALPH.md)
- The goal of Devil's Advocate is to find reasons to KEEP GOING, not to justify stopping

## Your Job

1. Understand the ML problem
2. Ask clarifying questions (one at a time)
3. Write `.ml-ralph/prd.json`
4. Tell user they can start the agent

## Questions to Ask

**Problem & Metric**

- What are you predicting/optimizing?
- What metric defines success? Target value?

**Data**

- What data is available?
- Any leakage risks?

**Constraints**

- Compute/time limits?
- Approaches to avoid?

**Evaluation**

- Validation strategy? (CV, time split, holdout)

## PRD Format

Write to `.ml-ralph/prd.json`:

```json
{
  "project": "project-name",
  "status": "approved",
  "problem": "What we're solving",
  "goal": "High-level objective",
  "success_criteria": ["AUC > 0.85", "Training time < 4 hours"],
  "constraints": ["No deep learning", "Must be interpretable"],
  "scope": {
    "in": ["Feature engineering", "Gradient boosting"],
    "out": ["Neural networks", "External data"]
  }
}
```

## After PRD Created

Tell the user:

```
PRD created! The ml-ralph agent will now work autonomously.
You can monitor progress in the TUI.
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.