string-le CLAUDE.md

string-le CLAUDE.md is an instructions file for coding agents from nolindnaidoo/string-le. It costs 1,175 tokens per session, scanned A, a copy of regex-le CLAUDE.md, MIT.

Project-specific instructions for working on the String-LE codebase, including its JavaScript or TypeScript side and its Rust command-line tool. It points developers to the files that define coding standards, architecture, testing, and release checks.

In plain words
What is it for?
Use it to navigate the repository, choose the right instructions, run type checks, linting, tests, integration checks, packaging, and end-to-end tests before release.
Why use it?
It reduces the risk of violating repository rules or missing required checks, generated documentation boundaries, or Rust-specific guidance.

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/nolindnaidoo/string-le/claude-md
Clone the repo
git clone --depth 1 https://github.com/nolindnaidoo/string-le

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 string-le CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/nolindnaidoo/string-le/claude-md.svg)](https://agentmods.dev/instructions/nolindnaidoo/string-le/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/nolindnaidoo/string-le/claude-md"><img src="https://agentmods.dev/badge/instructions/nolindnaidoo/string-le/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,175 This file is loaded in full into every session.
When invoked 1,175 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin 97% copy Near-identical to another mod 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.01175 $0.01175
Opus 5 $0.00588 $0.00588
Sonnet 5 $0.00235 $0.00235
Haiku 4.5 $0.00118 $0.00118

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

Security

Grade A, and why

string-le 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 3d 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.

Origin

This is a copy

97% identical to regex-le CLAUDE.md — 11 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

CLAUDE.md · 83 lines

How it starts

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

CLAUDE.md

AGENTS.md is the technical source of truth for this repo: the engineering standard the code is held to — control flow, error handling, immutability, structure — plus this repo's architecture, invariants, toolchain and release. Read it before writing code. README.md is user-facing and partly generated.

The repo also hosts the Rust CLI in crate/ — read crate/CLAUDE.md and crate/AGENTS.md for that side; the shared corpus is crate/fixtures/.

Where to look

Question File
How should this code be written? AGENTS.md — the standard, plus this repo's architecture and invariants
What does the user see? README.md — Testing and Performance are generated
What changed? CHANGELOG.md

Gates

bun run typecheck && bun run lint && bun run test

Before a release, also bun run test:integration, bun run package, and bun run test:e2e-vsix — the last is the only test that exercises the artifact users actually install.

Things that will bite you

  • Two README sections are generated. Testing and Performance sit between <!-- coverage:start --> / <!-- performance:start --> markers and come from scripts/coverage-readme.js and scripts/perf-readme.js. Edit the code and regenerate; do not type numbers in by hand. CI fails if the coverage figures no longer match a real run.
  • Output changes must update the characterization goldens in the same commit, with a CHANGELOG entry describing the behaviour change.
  • Every claim must be provable. No feature, metric or format goes in a README, the manifest, or help text unless the code backs it. That governs behaviour and numbers — not availability. Whether something is published, listed or installable is a fact about a registry at a moment in time, and it is false right up until you make it true. Copy for a release you are about to make is staged, never forbidden: write it, and let the release commit be what makes it true.
  • This repo is one of ten identical ones. The shared config files, scripts and workflows are byte-identical across the family, and letools-site/scripts/check-fleet.ts is what holds them there rather than memory: run bun run check:fleet ../ from a checkout of the site with the ten beside it, or dispatch its Fleet workflow. It names the file and the repos that drifted, so a missed copy is a report rather than something you find months later. Anything under crate/ is outside the check on purpose — the crates stand on their own.
  • Extraction is shared with the Rust CLI, and the corpus under crate/ is the contract. Changing extraction behaviour means running bun scripts/check-extraction-parity.ts and updating the corpus — on both sides, in the same commit. CI fails when either drifts.
  • What the contract holds equal is the shared extract_strings MCP tool, which both servers offer and must answer identically; a difference there is a bug. The surfaces are meant to differ. This one is IDE-first — the active buffer, read by a person. The CLI is terminal-first: a tree walk, exit codes and JSON Lines, none of which has an editor equivalent. That is not drift, and nothing holds them equal — see crate/SPEC.md.
  • An unrecognised format falls back, it does not fail. That is true here and in the crate, and it is what lets either be pointed at a source tree. See crate/SPEC.md; contract tests on both surfaces enforce it.
  • Localization is two mechanisms, and they fail separately. src/i18n/package.nls.*.json covers the manifest; l10n/bundle.l10n.*.json covers runtime strings through vscode.l10n.t(). Twelve locales each, held in exact key parity by the integration test. Never call l10n.t() at module scope, never compare a translated label against an English literal, and use positional {0} placeholders rather than template literals.
  • CI narrows itself on a docs-only push. A change touching only *.md and LICENSE runs the Linux leg alone and skips the Zed build; ci-crate.yml runs its policy gate with every Rust job skipped. Nothing that covers the change is skipped — the README coverage gate, the integration suite and the installed-VSIX end-to-end are Linux-only anyway. Anything unrecognised, and an unreadable diff, counts as code and runs everything. A release commit always touches package.json, so a release still sees the full three-OS matrix.
  • Coverage floors are a backstop, not a target. They sit well below where the code actually is, and they are not raised to track it — a floor that follows real coverage becomes a tax on writing the next module.

Read the full file on GitHub · 83 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. 3d ago First seen · 83 lines · 1,175 tokens per session scan A 8da5735f4b74

Subscribe to this mod's changes

string-le CLAUDE.md is an instructions file published in the GitHub repository nolindnaidoo/string-le (1 stars, last pushed 2d ago), licensed MIT. It adds 1,175 tokens to every session, about $0.0059 per session on Opus 5. A static security scan graded it A with 0 findings. It is 97% identical to regex-le CLAUDE.md, differing in 11 lines, and is treated as a copy.