Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add pentoai/ml-ralph --skill ralph-file-schemasgit clone --depth 1 https://github.com/pentoai/ml-ralphWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/pentoai/ml-ralph/ralph-file-schemas)<a href="https://agentmods.dev/skills/pentoai/ml-ralph/ralph-file-schemas"><img src="https://agentmods.dev/badge/skills/pentoai/ml-ralph/ralph-file-schemas/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/pentoai/ml-ralph/ralph-file-schemas"><img src="https://agentmods.dev/badge/skills/pentoai/ml-ralph/ralph-file-schemas.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00031 | $0.01504 |
| Opus 5.5 | $0.00012 | $0.00602 |
| Sonnet 5.5 | $0.00006 | $0.00301 |
| Haiku 4.5 | $0.00003 | $0.00150 |
Grade A, and why
ralph-file-schemas scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 167 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Ralph File Schemas
Reference for .ml-ralph/ state files. Pure schemas - no philosophy (see RALPH.md for that).
prd.json (The Destination)
Your contract with the user. Rarely changes.
{
"project": "project-name",
"status": "draft|approved|blocked|complete",
"problem": "What we're solving",
"goal": "High-level objective",
"success_criteria": ["Metric > threshold"],
"constraints": ["No deep learning", "< 4hr training"],
"scope": {
"in": ["Feature engineering", "Gradient boosting"],
"out": ["Neural networks", "External data"]
}
}
Status Values
| Status | Meaning | Who Can Set |
|---|---|---|
draft |
PRD being created | Agent |
approved |
User approved, work begins | User |
blocked |
Agent cannot progress (requires user decision) | Agent |
complete |
Reserved; the runner decides completion (run_complete), the agent never sets it |
Runner |
What Can Change
Freely:
success_criteria- Refine based on what's achievableconstraints- Add discovered constraintsscope- Adjust based on learnings
Requires user approval:
problem- Core problem definitiongoal- High-level objective- Any claim that success criteria are unachievable
Always log changes with rationale!
eval/ (The Eval Contract)
Drafted in SETUP with the user. Once prd.json is approved, the runner validates and locks it. Never edit these files after the lock: the runner re-hashes them before every iteration and pauses the run for the user if one changed or was deleted.
| File | Written by | Purpose |
|---|---|---|
.ml-ralph/eval/evaluate.py |
Agent (SETUP) | Eval script |
.ml-ralph/eval/contract.json |
Agent (SETUP) | Eval protocol and baseline score |
.ml-ralph/eval/lock.json |
Runner only | SHA-256 of the two files plus lock time |
{
"primary_metric": "auc",
"direction": "max|min",
"search_split": "cv_5fold",
"seeds": [0, 1, 2],
"protocol": "5-fold stratified CV, mean over seeds",
"success_threshold": 0.9,
"holdout_gap_threshold": 0.02,
"eval_timeout_seconds": 1800,
"baseline_score": 0.81
}
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago Changed d12a4de71f4b
- 1mo ago Changed · +32 lines f35748e1661a
- 3mo ago First seen · 135 lines · 31 tokens per session scan A 481208233321
ralph-file-schemas is a skill published in the GitHub repository pentoai/ml-ralph (43 stars, last pushed 3d ago), licensed MIT. It adds 31 tokens to every session and 1,504 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
ralph-file-schemas compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ralph-file-schemaspentoai/ml-ralph | Skill | 43 | 3d ago | MIT | A | 31 | Claude Code |
| first-readerShubhamsaboo/awesome-llm-apps | Skill | 146k | today | Apache-2.0 | A | 174 | Claude Code, Codex |
| project-graveyardShubhamsaboo/awesome-llm-apps | Skill | 146k | today | Apache-2.0 | A | 127 | Claude Code, Codex |
| composioComposioHQ/composio | Skill | 31k | today | MIT | A | 95 | Claude Code, Codex |
| playwrightopenai/openai-agents-python | Skill | 31k | today | MIT | A | 19 | Claude Code, Codex |
| ai-agent-tool-routingsickn33/agentic-awesome-skills | Skill | 51k | yesterday | MIT | A | 36 | Claude Code |
| thinking-out-loudShubhamsaboo/awesome-llm-apps | Skill | 146k | today | Apache-2.0 | A | 206 | Claude Code, Codex |