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-log-eventsgit 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-log-events)<a href="https://agentmods.dev/skills/pentoai/ml-ralph/ralph-log-events"><img src="https://agentmods.dev/badge/skills/pentoai/ml-ralph/ralph-log-events/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-log-events"><img src="https://agentmods.dev/badge/skills/pentoai/ml-ralph/ralph-log-events.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.00022 | $0.02662 |
| Opus 5.5 | $0.00009 | $0.01065 |
| Sonnet 5.5 | $0.00004 | $0.00532 |
| Haiku 4.5 | $0.00002 | $0.00266 |
Grade A, and why
ralph-log-events 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 10d 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 — 162 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Ralph Log Events
Log events with bunx @pentoai/ml-ralph@<version> log <type> '<json>' (use the exact version RALPH.md shows) from the project directory (JSON on stdin with - if it contains quotes). The command validates the event against the schema for its type, appends one line to .ml-ralph/log.jsonl and adds ts and type. Invalid events are rejected with the failing field and what was expected. Never write the file any other way; never edit, only append.
The examples below show stored lines; pass everything except ts as the JSON argument.
Event Types
Phase Transitions
{"ts":"...","type":"phase","phase":"UNDERSTAND","summary":"Exploring data and researching prior work"}
{"ts":"...","type":"phase","phase":"STRATEGIZE","summary":"Evaluating 4 potential approaches"}
{"ts":"...","type":"phase","phase":"EXECUTE","summary":"Running minimal test of H-003"}
{"ts":"...","type":"phase","phase":"REFLECT","summary":"Analyzing unexpected results"}
Thinking & Mental Models
{"ts":"...","type":"thinking","subject":"Why is precision low?","thoughts":"Looking at false positives, I notice...","conclusion":"Model confuses X with Y because..."}
{"ts":"...","type":"mental_model","domain":"feature importance","belief":"Temporal features dominate","confidence":"high","evidence":["EDA analysis","H-002 ablation"]}
Research
{"ts":"...","type":"research","source":"Kaggle 1st place solution","url":"https://...","key_insights":["Feature X crucial","Avoided Y because..."],"relevance":"directly applicable"}
{"ts":"...","type":"research","source":"arXiv paper","url":"https://...","key_insights":["This loss handles imbalance better"],"relevance":"inspirational"}
Path Analysis & Hypotheses
{"ts":"...","type":"path_analysis","paths":[{"id":"A","description":"Gradient boosting","expected":"AUC ~0.78","learning_value":"high"},{"id":"B","description":"Neural net","expected":"AUC ~0.80","learning_value":"medium"}],"chosen":"A","rationale":"Best learning-to-effort ratio"}
{"ts":"...","type":"hypothesis","id":"H-001","claim":"Time features improve AUC","expected_delta":0.05,"rubrics":["Split unchanged","No post-prediction-time features"],"kill_criterion":"AUC gain below 0.01 on every seed","rationale":"EDA showed temporal patterns"}
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.
- 10d ago Changed · -5 lines 6bab0df7b84f
- 21d ago Changed · +40 lines 9300a034778a
- 2mo ago First seen · 127 lines · 22 tokens per session scan A f4f0f20b654a
ralph-log-events is a skill published in the GitHub repository pentoai/ml-ralph (40 stars, last pushed 4d ago), licensed MIT. It adds 22 tokens to every session and 2,662 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-log-events compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ralph-log-eventspentoai/ml-ralph | Skill | 40 | 4d ago | MIT | A | 22 | Claude Code |
| first-readerShubhamsaboo/awesome-llm-apps | Skill | 144k | yesterday | Apache-2.0 | A | 174 | Claude Code, Codex |
| project-graveyardShubhamsaboo/awesome-llm-apps | Skill | 144k | yesterday | Apache-2.0 | A | 127 | Claude Code, Codex |
| composioComposioHQ/composio | Skill | 31k | yesterday | MIT | A | 84 | Claude Code, Codex |
| playwrightopenai/openai-agents-python | Skill | 31k | yesterday | MIT | A | 19 | Claude Code, Codex |
| ai-agent-tool-routingsickn33/agentic-awesome-skills | Skill | 49k | yesterday | MIT | A | 36 | Claude Code |
| python-package-managementmicrosoft/agent-framework | Skill | 15k | yesterday | MIT | A | 43 | Claude Code, Codex |