ruleprobe CLAUDE.md

Project instructions for developing RuleProbe, a TypeScript package that checks coding-project rules and practices.

In plain words
What is it for?
Guiding edits, TypeScript standards, verification, documentation decisions, and reporting while working on the RuleProbe repository.
Why use it?
They keep changes targeted, require claims to be supported by data, and define the tests and build checks needed before completion.

Instructions file

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.

agentmods
npx agentmods add instructions/moonrunnerkc/ruleprobe/claude-md
Clone the repo
git clone --depth 1 https://github.com/moonrunnerkc/ruleprobe
Per session 1,062 This file is loaded in full into every session.
When invoked 1,062 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.01062 $0.01062
Opus 5 $0.00531 $0.00531
Sonnet 5 $0.00212 $0.00212
Haiku 4.5 $0.00106 $0.00106

Measured 2d ago against content hash 8efc56fe25c7, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ruleprobe 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 2d 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 · 104 lines

How it starts

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

CLAUDE.md

Instructions for Claude (Claude Code, Claude SDK, claude.ai) when working on the RuleProbe codebase.

The full engineering rules live in AGENTS.md. Read that file first. Everything below is Claude-specific workflow guidance that supplements it. When the two conflict, AGENTS.md wins.

Project

Working Style

  • Make targeted edits over full rewrites when a specific issue is flagged.
  • Never pad documentation, README, or release notes with marginal results. Only genuinely interesting findings belong.
  • Run verification before treating any feature as done: npm test and npm run build.
  • Push back when a claim is not backed by real data. Do not invent metrics, repo counts, or compliance scores.
  • Use git status and git diff to confirm what you actually changed before reporting completion.

Engineering Standards

These are enforced by the self-check workflow (RuleProbe verifies its own codebase). Following them keeps the build green.

  • Always use TypeScript strict mode.
  • Never use any. Use unknown and narrow.
  • Always use named exports. Never use default exports.
  • Use kebab-case for filenames.
  • Use camelCase for variables and functions.
  • Use PascalCase for types, interfaces, and classes.
  • Prefer const over let.
  • Prefer interface over type for object shapes.
  • Files must stay under 300 lines.
  • Add full JSDoc to every exported symbol.
  • Never use em dashes anywhere.
  • No magic numbers without a named constant.

Tooling

  • Use npm as the package manager.
  • Use vitest as the test runner.
  • Use eslint for linting and prettier for formatting.
  • Do not introduce competing tools (no biome, no jest, no pnpm).

Pipeline Boundaries

When editing pipeline code, respect the three-stage boundary: parse, verify, report. Each stage is independently testable and lives under its own directory in src/.

Read the full file on GitHub · 104 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. 2d ago First seen · 104 lines · 1,062 tokens per session scan A 8efc56fe25c7

Subscribe to this mod's changes

ruleprobe CLAUDE.md is an instructions file published in the GitHub repository moonrunnerkc/ruleprobe (2 stars, last pushed 3mo ago), licensed MIT. It adds 1,062 tokens to every session, about $0.0053 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-31.