ralphctl-karpathy-guidelines

ralphctl-karpathy-guidelines is a skill for Claude Code, Codex from lukas-grigis/ralphctl. It costs 91 tokens per session (1,365 once invoked), scanned A, original, MIT.

A set of coding guardrails aimed at four common AI mistakes: hidden assumptions, unnecessary complexity, unrelated damage, and claiming completion without checking.

In plain words
What is it for?
Use it when planning, writing, reviewing, or refactoring code. It helps surface assumptions, limit the scope of changes, avoid overbuilding, and confirm that the result really works.
Why use it?
It makes the agent state uncertainty, keep changes proportionate, protect surrounding code, and verify its work. These habits address recurring problems in AI-assisted coding.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when planning, writing, reviewing, or refactoring code. It helps surface assumptions, limit the scope of changes, avoid overbuilding, and confirm that the result really works.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lukas-grigis/ralphctl/ralphctl-karpathy-guidelines
Install

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.

Any agent
npx skills add lukas-grigis/ralphctl --skill ralphctl-karpathy-guidelines
Clone the repo
git clone --depth 1 https://github.com/lukas-grigis/ralphctl

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for ralphctl-karpathy-guidelines

README.md
[![agentmods](https://agentmods.dev/badge/skills/lukas-grigis/ralphctl/ralphctl-karpathy-guidelines/github.svg)](https://agentmods.dev/skills/lukas-grigis/ralphctl/ralphctl-karpathy-guidelines)
Your own site
<a href="https://agentmods.dev/skills/lukas-grigis/ralphctl/ralphctl-karpathy-guidelines"><img src="https://agentmods.dev/badge/skills/lukas-grigis/ralphctl/ralphctl-karpathy-guidelines/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.

agentmods 80×15 button for ralphctl-karpathy-guidelines

Your own site · 80×15
<a href="https://agentmods.dev/skills/lukas-grigis/ralphctl/ralphctl-karpathy-guidelines"><img src="https://agentmods.dev/badge/skills/lukas-grigis/ralphctl/ralphctl-karpathy-guidelines.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 91 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,365 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 3
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00091 $0.01365
Opus 5.5 $0.00036 $0.00546
Sonnet 5.5 $0.00018 $0.00273
Haiku 4.5 $0.00009 $0.00136

Measured 4d ago against content hash d44265f1c7d7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ralphctl-karpathy-guidelines 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 4d 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.

src/integration/ai/skills/bundled/ralphctl-karpathy-guidelines/SKILL.md · 83 lines

How it starts

The opening of the file, as written. The whole thing — 83 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Karpathy Guidelines

Distilled from Andrej Karpathy's public commentary on LLM coding pitfalls — his January 2026 X post on agentic coding — and the community distillation of it in multica-ai/andrej-karpathy-skills. Clean-room — concepts only, not copied text.

Karpathy's post describes how agent mistakes cluster; the four-mode grouping below is a community distillation of it, restated here in ralphctl's terms. Each mode pairs the failure with the counter-habit that prevents it. Treat these as standing behavioural rules for every coding turn, not a checklist to run once.

When this applies

  • Plan — modes 1 and 4 only, and only where the plan prompt does not already say it: an unstated assumption behind a task, or a verification criterion nothing can check.
  • Execute — all four modes: every generation, edit, and refactor is an opportunity to silently assume, over-build, damage bystander code, or stop before verifying.

Mode 1 — Silent assumptions

The failure: making a plausible assumption on the operator's behalf and running with it unchecked — not managing your own confusion, not surfacing inconsistencies, not presenting trade-offs, not pushing back when the request conflicts with what the code shows.

The counter-habit:

  • When the task is ambiguous, name the ambiguity before acting. With an interactive channel, ask; without one, state the interpretation you chose and why, then proceed with the least-surprising reading — as a note signal in signals.json when the prompt's output-contract section lists it (generator role: a decision signal instead — the evaluator's contract has no decision schema), otherwise fold the interpretation into the required signal's own fields.
  • When the task's description contradicts what you find in the code, surface the contradiction — do not quietly pick a side.
  • When two implementations satisfy the words of the task but differ in consequence, present the trade-off rather than silently committing to one — without an interactive channel, choose the reading the task most directly supports and record the choice and the rejected alternative the way the first bullet records an interpretation — a note signal when the prompt's output-contract section lists it (generator role: a decision signal), otherwise the required signal's own fields.
  • Push back when the request is likely a mistake. Deference that ships a wrong change is not helpfulness. Without an interactive channel, pushing back means the prompt's blocked outcome, and only when the requested change conflicts with the code; otherwise record the concern and proceed.

Read the full file on GitHub · 83 lines

Changes

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.

  1. 4d ago Changed · +6 lines · -21 tokens per session d44265f1c7d7
  2. 2mo ago Changed 9ccd4d36f504
  3. 2mo ago Changed · -3 tokens per session 0d83940cad7a
  4. 3mo ago First seen · 77 lines · 115 tokens per session scan A f5f95f3eb4db

Subscribe to this mod's changes

ralphctl-karpathy-guidelines is a skill published in the GitHub repository lukas-grigis/ralphctl (24 stars, last pushed yesterday), licensed MIT. It adds 91 tokens to every session and 1,365 once invoked, about $0.0004 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.

Related

ralphctl-karpathy-guidelines compared with skills from other repositories

ralphctl-karpathy-guidelines next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ralphctl-karpathy-guidelineslukas-grigis/ralphctlSkill24yesterdayMITA91Claude Code, Codex
reviewdevoxx/DevoxxGenieIDEAPluginSkill697yesterdayMITA90Claude Code
web-accessopen-octo/octo-agentSkill1592d agoMITA139Claude Code, Codex
skill-creatoropen-octo/octo-agentSkill1592d agoMITA123Claude Code, Codex
atomic-tdddamusix/atomic-claudeSkill1172d agoMITA142Claude Code, Codex
save-learningcaliber-ai-org/ai-setupSkill1.3k2mo agoMITA71Claude Code, Codex
repothewaltero/mythos-routerSkill3105d agoMITA11Claude Code, Codex