ralphctl-karpathy-guidelines

ralphctl-karpathy-guidelines is a skill for Claude Code, Codex from lukas-grigis/ralphctl. It costs 115 tokens per session (1,063 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 115 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,063 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.00115 $0.01063
Opus 5 $0.00057 $0.00531
Sonnet 5 $0.00023 $0.00213
Haiku 4.5 $0.00012 $0.00106

Measured 9d ago against content hash f5f95f3eb4db, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 9d 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 · 77 lines

How it starts

The opening of the file, as written. The whole thing — 77 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. Clean-room — concepts only, not copied text.

Karpathy's observation, after moving most of his coding to agents: the mistakes agents make are not random — they cluster into four recurring failure modes. Each mode below 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 dominate: a plan built on an unstated assumption, or with success criteria that can't be checked, fails before any code exists.
  • 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 in a <decision> or <note> signal, then proceed with the least-surprising reading.
  • 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.
  • Push back when the request is likely a mistake. Deference that ships a wrong change is not helpfulness.

Mode 2 — Over-complication

The failure: bloated abstractions, over-general APIs, a thousand lines where a hundred would do — and dead code left behind because nothing forced its cleanup.

Read the full file on GitHub · 77 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. 9d 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 (23 stars, last pushed today), licensed MIT. It adds 115 tokens to every session and 1,063 once invoked, about $0.0006 per session on Opus 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

Other skills, from other repositories

rework-rate

Measure and interpret PR rework rate — the emerging 5th DORA metric.

bradygaster/squad · 20 tokens

My Skill

Content here.

bradygaster/squad · 2 tokens

atomic-visual-options

Planning-phase visual comparison aid. Renders 2-4 side-by-side variants per decision dimension as a single throwaway, self-contained HTML file and captures the user's pick as typed terminal codes (e.g. "A2 B3"). Auto-fires on phrases like "show me a few options", "mock up some variants", "let me see this side by…

damusix/atomic-claude · 150 tokens

atomic-wiki

Conversational wiki and capture-bucket routing. Fires when the user wants a place, space, or folder for notes, research, tickets, raw dumps, or knowledge capture — checks the block in /.claude/CLAUDE.md; if the cwd is under a registered realm, creates the folder as a bucket via atomic wiki bucket add rather than a…

damusix/atomic-claude · 204 tokens

atomic-review

Compressed code review comments. Cuts noise from PR feedback while preserving the actionable signal. Each comment is one line: location, problem, fix. Use when user says "review this PR", "code review", "review the diff", or invokes /atomic-review. Auto-triggers when reviewing pull requests.

damusix/atomic-claude · 63 tokens

atomic-verify

Evidence-before-claim gate. Auto-triggers when Claude is about to claim "done", "fixed", "passing", "complete", "ready to merge", "looks good", "should work", "should pass", "green", or any synonym. Iron rule: no completion claim without a fresh verification command run in this turn. Explicit invocation…

damusix/atomic-claude · 79 tokens