uplevel: Instructions file for Claude Code

CLAUDE.md

uplevel CLAUDE.md is an instructions file for Claude Code from rlx/uplevel. It costs 1,354 tokens per session, scanned A, original, MIT.

Repository instructions for maintaining the uplevel Claude Code skill, including its validation gate, token budgets, symlinked installation, and operating modes.

In plain words
What is it for?
Running repository checks, installing hooks, keeping the skill within its token limits, and understanding how edits to the installed symlink take effect.
Why use it?
They make changes checkable and document constraints that affect how the skill is loaded, measured, edited, and committed.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions Claude Code.

This is rlx/uplevel's own configuration. It tells Claude Code how to work on uplevel 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 uplevel configures →

View source ↗ rlx/uplevel
Reuse

Borrowing it

Nothing to install: this file belongs to rlx/uplevel. 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/rlx/uplevel/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/rlx/uplevel

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 uplevel CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/rlx/uplevel/claude-md/github.svg)](https://agentmods.dev/instructions/rlx/uplevel/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/rlx/uplevel/claude-md"><img src="https://agentmods.dev/badge/instructions/rlx/uplevel/claude-md/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 uplevel CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/rlx/uplevel/claude-md"><img src="https://agentmods.dev/badge/instructions/rlx/uplevel/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,354 This file is loaded in full into every session.
When invoked 1,354 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.01354 $0.01354
Opus 5.5 $0.00542 $0.00542
Sonnet 5.5 $0.00271 $0.00271
Haiku 4.5 $0.00135 $0.00135

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

Security

Grade A, and why

uplevel CLAUDE.md 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 22d 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.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.

uplevel

A Claude Code skill. The deliverable is markdown that changes agent behavior, so an inaccurate sentence is a defect.

Gate

./scripts/check-repo.sh

Runs on every commit via .git/hooks/pre-commit, and in CI. The hook source is tracked at scripts/hooks/pre-commit; git does not install it into .git/hooks/ for you, so run ./scripts/install-hooks.sh after cloning. Bypass with git commit --no-verify and say why.

Constraints

  • plugin/skills/uplevel/ is symlinked into ~/.claude/skills/. The working tree is the installed skill; an edit takes effect in the next session.
  • Load cost is measured with a real tokenizer when tiktoken is importable, and falls back to a word count that reads 3-9% low, in which case the gate prints the figures and asserts no ceiling. CI installs it, so main is always measured exactly. The Mode A working set has a ceiling, currently 46000; raise it in the change that needs the room and say why.
  • SKILL.md has a token budget, currently 6000, enforced by the gate. It loads on every trigger; references/ load only when read. New detail goes in a reference by default. The budget makes growth deliberate rather than capping quality — raise it in the same change when something belongs in the always-loaded file, and say why.
  • Every command in the skill should have been run and observed to work before it is written down. This is a discipline, not an enforced rule: the gate parses fenced blocks and validates grep -E patterns, which proves they are well-formed, not that they do what the text claims.
  • Bumping version: in SKILL.md alongside any change under plugin/ is enforced at commit time, and again in CI against the pull request's base. Tagging is not: the gate prints when the declared version has no tag, and does not fail. Failing at commit time would fail the commit that does the bump, and failing in CI would leave main red between merge and tag. A version does not have to be released: bump on every change, and tag the version you choose to release, so a one-line fix costs a bump and a changelog line and not a release. When you do tag, cut the GitHub release in the same sitting. scripts/check-forge.sh fails once a declared version is tagged with no release, which is how nine consecutive tags stopped being possible; before it existed, nothing looked.
  • What .claude/guardrails.yml says about GitHub — the required checks, the rules protecting main, the release — is data, not prose, and scripts/check-forge.sh diffs it against GitHub. Every claim in that file about the tree was already checked by a script; the claims about the forge were the ones that drifted. Update the fields, not only the note.
  • Every reference file must be linked from SKILL.md, and every link must resolve. Both directions are enforced.
  • CI is ubuntu-latest (bash 5, GNU coreutils); a maintainer may be on bash 3.2 with BSD or ugrep tools, and the commit hook gates on that one. Gate scripts therefore avoid GNU-only constructs, listed in scripts/gnu-only-constructs.txt and enforced. Add to that file rather than working around it.
  • Commit messages and PR bodies say what was done — concise, accurate, simple — and never how it was found. Anything beyond what was done is context: ask before adding it. Detail lives in the untracked plan, not in public history. The shipped guidance is plugin/skills/uplevel/references/commit-hygiene.md.
  • Prose is en-US throughout — behavior, license, judgment, labeled. The repository is public and the skill ships as text; mixed spelling reads as two authors who never compared notes.
  • git clean -fdx removes the untracked working files — .claude/improvement-plan.md, .claude/plans/ and .claude/discovery-baseline/ — because they are gitignored. They are working notes that can be recreated, so this is a heads-up and not a stop: prefer git clean -fd, or name the path, when you only mean to clear build residue.
  • Plan files live in .claude/plans/, untracked. Plan mode writes to ~/.claude/plans/, a flat directory every project on this machine shares, under a random slug that does not name the repo it belongs to — so a plan left there is both invisible to this project and in reach of another one's agent. Move it in, and name it for what it is. Its contents are the same class as the improvement plan: traffic figures, unfixed weaknesses, draft copy.
  • .claude/guardrails.yml is public, so it records only what is in place. Absent, unverified, and undecided items go in the untracked .claude/improvement-plan.md — a public list of a project's own gaps is a roadmap for whoever wants to use them.
  • .claude/guardrails.yml is the per-repo checklist and must parse as YAML — enforced where python3 and pyyaml are available, skipped where they are not. Quote or use a block scalar for any value containing # or : .
  • The defects this skill ships come from a blind validation program kept outside this repository: rounds of ten previously-unseen repositories, audited against the current version, every finding reproduced against the repository before it ships. That tree is deliberately unpublished — it names third-party projects and their unfixed findings — and deliberately not a git repository, so it lives on one machine with no backup. That is an accepted risk: it is working material that can be recreated, and nothing here builds, tests, or gates against it.

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. 22d ago Changed · +2 tokens per session 2c1725d50619
  2. 23d ago Changed · +6 lines · +139 tokens per session 5d8482912863
  3. 2mo ago First seen · 71 lines · 1,213 tokens per session scan A a3d536bec50d

Subscribe to this mod's changes

uplevel CLAUDE.md is an instructions file published in the GitHub repository rlx/uplevel (3 stars, last pushed 22d ago), licensed MIT. It adds 1,354 tokens to every session, about $0.0054 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-31.

Related

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,715 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,461 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,750 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 4,261 tokens