ralphctl: Instructions file for Claude Code

CLAUDE.md

ralphctl CLAUDE.md is an instructions file for Claude Code from lukas-grigis/ralphctl. It costs 2,657 tokens per session, scanned A, original, MIT.

A project guide for ralphctl, a Node.js and TypeScript tool that runs AI coding tasks through a terminal interface or command line.

In plain words
What is it for?
Use it when building, testing, checking types, linting, or changing ralphctl and its AI-provider integrations.
Why use it?
It gives the coding agent the project’s required commands, design rules, and implementation constraints in one place.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions Claude Code; mentions Codex; mentions OpenCode.

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/lukas-grigis/ralphctl/claude-md"><img src="https://agentmods.dev/badge/instructions/lukas-grigis/ralphctl/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,657 This file is loaded in full into every session.
When invoked 2,657 The same file — it is already loaded in full.
Security scan A 1 finding. 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.02657 $0.02657
Opus 5.5 $0.01063 $0.01063
Sonnet 5.5 $0.00531 $0.00531
Haiku 4.5 $0.00266 $0.00266

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

Security

Grade A, and why

ralphctl CLAUDE.md scanned grade A with 1 finding 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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

`typescript-result` / `fs.writeFile` / `node:child_process.spawn` / `@inquirer/prompts` imports — are
CLAUDE.md · 135 lines

How it starts

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

RalphCTL — Agent Harness for AI Coding Tasks

Node.js 26 (published floor 24) + TypeScript + Ink TUI. Five AI provider backends (Claude Code / GitHub Copilot / OpenAI Codex / OpenCode / Grok). Grok is xai-grok, binary grok. OpenCode is an aggregator — its model ids are provider/model and its catalog is discovered at runtime via opencode models, so it is the one backend whose reachable models are not a static list. The TUI is the primary surface; the CLI exposes inspection + one-shot operations only.

Version is read from package.json via JSON import attribute in src/business/version/cli-metadata.ts. Both commander.version() and the npm-update poll consume the same constant — bin and registry cannot drift.

Build & Run

pnpm install
pnpm dev <command>     # tsx, no build needed
pnpm dev               # bare → Ink TUI (primary surface)
pnpm build             # tsup + tsx scripts/build-assets.ts → dist/cli.mjs + dist/{prompts,skills,manifest.json}
pnpm typecheck         # tsc --noEmit
pnpm lint              # ESLint
pnpm test              # vitest
pnpm coverage          # vitest run --coverage (ad-hoc threshold check; not in verify)
pnpm verify:coverage   # alias for pnpm coverage
pnpm format:check      # prettier
pnpm deadcode          # knip (clean tree exits 0)
pnpm skills:update     # re-vendor upstream SKILL.md into scripts/vendor/skills/ for review (maintainers only)
pnpm eval <check|run|compare|report>  # opt-in prompt/model eval harness (scripts/eval/); never part of verify — see .claude/docs/EVALS.md

Before every commit, run /verify (wraps pnpm typecheck && pnpm lint && pnpm test). All three must pass. Pre-commit hook runs lint-staged (ESLint + Prettier on staged files); pnpm lint:fix / pnpm format patch.

Requirements: contributors get Node 26 + pnpm 12 from mise.toml; the published package supports Node 24+ (engines.node). One of the supported AI CLIs in PATH and authenticated.

Read on demand

Not auto-imported — open with the Read tool when the work touches the area.

Read the full file on GitHub · 135 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 · +1 lines · +28 tokens per session c39dcb8cf90b
  2. 20d ago Changed · +15 tokens per session eccedc53a192
  3. 1mo ago Changed · +1 lines · +30 tokens per session ca7e1400e808
  4. 1mo ago Changed · +2 lines · +86 tokens per session 9b85755a7c9d
  5. 1mo ago Changed · +15 tokens per session b3a69e562df2
  6. 1mo ago Changed f75aec0c928e
  7. 2mo ago Changed · +1 lines · +88 tokens per session b665580ba9e7
  8. 2mo ago First seen · 130 lines · 2,395 tokens per session scan A c670fa430af6

Subscribe to this mod's changes

ralphctl CLAUDE.md is an instructions file published in the GitHub repository lukas-grigis/ralphctl (24 stars, last pushed 4d ago), licensed MIT. It adds 2,657 tokens to every session, about $0.0106 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

ralphctl CLAUDE.md compared with instructions from other repositories

ralphctl CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ralphctl CLAUDE.mdlukas-grigis/ralphctlInstructions file244d agoMITA2,657Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode