rlhf-book: Skill for Claude Code

.claude/skills/pre-submit-pr/SKILL.md

pre-submit-pr is a skill for Claude Code from natolambert/rlhf-book. It costs 9 tokens per session (519 once invoked), scanned A, original, no licence file.

A tool that checks code changes before a pull request is submitted. A pull request is a proposed change sent to a project for review.

In plain words
What is it for?
It is for validating the current work as a final check before opening or submitting a pull request.
Why use it?
It helps catch problems before the changes are sent to reviewers.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is natolambert/rlhf-book's own configuration. It tells Claude Code how to work on rlhf-book itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything rlhf-book configures →

Reuse

Borrowing it

Nothing to install: this file belongs to natolambert/rlhf-book. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/natolambert/rlhf-book/main/.claude/skills/pre-submit-pr/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/natolambert/rlhf-book

Made for: Claude Code.

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 pre-submit-pr

README.md
[![agentmods](https://agentmods.dev/badge/skills/natolambert/rlhf-book/pre-submit-pr.svg)](https://agentmods.dev/skills/natolambert/rlhf-book/pre-submit-pr)
Your own site
<a href="https://agentmods.dev/skills/natolambert/rlhf-book/pre-submit-pr"><img src="https://agentmods.dev/badge/skills/natolambert/rlhf-book/pre-submit-pr.svg" alt="Measured on agentmods" height="20"></a>
Per session 9 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 519 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 MCP Rug Pull · line 22
    uvx/uv tool run commands without ==version create a rug-pull risk.
    Fix: Pin the version: uvx package-name==1.2.3
How audits are shown
Origin unknown 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.00009 $0.00519
Opus 5 $0.00005 $0.00260
Sonnet 5 $0.00002 $0.00104
Haiku 4.5 $0.00001 $0.00052

Measured 8d ago against content hash 620fc784703f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

pre-submit-pr 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 8d 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.

.claude/skills/pre-submit-pr/SKILL.md · 65 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

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. 8d ago First seen · 65 lines · 9 tokens per session scan A 620fc784703f

Subscribe to this mod's changes

pre-submit-pr is a skill published in the GitHub repository natolambert/rlhf-book (2,370 stars, last pushed 3d ago), with no licence file. It adds 9 tokens to every session and 519 once invoked, about $0.0000 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

claude-authenticity

Detect whether an API endpoint is backed by genuine Claude (not a wrapper, proxy, or impersonator) using 9 weighted rule-based checks that mirror the claude-verify project. Also extracts injected system prompts from providers that override Claude's identity. Fully self-contained — copy the code below and run, no extra…

agentscope-ai/OpenJudge · 121 tokens

metric-design

Use when the user has evaluation principles or a dataset but needs help choosing the right graders, designing evaluation metrics, creating LLM-as-judge prompts, combining multiple metrics into a composite score, or building an automated evaluation pipeline. Also use when the user mentions grader selection, metric…

agentscope-ai/OpenJudge · 88 tokens

align-human

Use when the user has a judge/grader and human-labeled data, and wants to measure how well the judge agrees with humans, detect systematic biases, determine whether automatic evaluation can replace human review, or build a human-reduction roadmap. Also use when the user mentions calibration, TPR/TNR, judge validation…

agentscope-ai/OpenJudge · 100 tokens

prompt-regression

Use when the user has changed a prompt (system prompt, RAG template, agent instruction, etc.) and wants to know whether the candidate is better or worse than the baseline. Also use when the user mentions prompt A/B testing, prompt comparison, prompt optimization validation, "did my prompt change help," or prompt…

agentscope-ai/OpenJudge · 86 tokens

redteam

Use when the user wants to test their LLM/agent application for safety and security vulnerabilities — jailbreaks, prompt injection, PII extraction, harmful content generation, or evaluator gaming. Also use when the user mentions security testing, adversarial testing, red teaming, safety evaluation, ASR (Attack Success…

agentscope-ai/OpenJudge · 89 tokens

auto-arena

Automatically evaluate and compare multiple AI models or agents without pre-existing test data. Generates test queries from a task description, collects responses from all target endpoints, auto-generates evaluation rubrics, runs pairwise comparisons via a judge model, and produces win-rate rankings with reports and…

agentscope-ai/OpenJudge · 103 tokens