speedy-claude: Instructions file for Claude Code

CLAUDE.md

speedy-claude CLAUDE.md is an instructions file for Claude Code from klh/speedy-claude. It costs 8,504 tokens per session, scanned D, original, MIT.

Project instructions for speedy-claude that define general rules and preferred command-line tools for files, web or API work, Git, and operations.

In plain words
What is it for?
Use them when working on the speedy-claude repository, especially for file discovery, code searches, replacements, diffs, HTTP or API tasks, and Git or deployment work.
Why use it?
They standardize how the agent works in that project and favor faster tools for searching, listing, parsing, editing, and reviewing changes.

Instructions file for Claude Code

Written for Claude Code: PostToolUse hook event. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions subagents.

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

Reuse

Borrowing it

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

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 speedy-claude CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/klh/speedy-claude/claude-md.svg)](https://agentmods.dev/instructions/klh/speedy-claude/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/klh/speedy-claude/claude-md"><img src="https://agentmods.dev/badge/instructions/klh/speedy-claude/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 8,504 This file is loaded in full into every session.
When invoked 8,504 The same file — it is already loaded in full.
Security scan D 3 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.08504 $0.08504
Opus 5 $0.04252 $0.04252
Sonnet 5 $0.01701 $0.01701
Haiku 4.5 $0.00850 $0.00850

Measured yesterday against content hash 15bcfab25001, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade D, and why

speedy-claude CLAUDE.md scanned grade D with 3 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 yesterday.

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.

Sends data to an external URLmediumData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

WRONG: curl -X POST -H "Content-Type: application/json" -d '{"name":"Klaus"}'

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

| `curl \| python3 -c` for JSON responses | `xh` (pretty-prints JSON by default) or `curl \| jq` |

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

| `curl` for API exploration | `xh` (Rust, HTTPie syntax, auto JSON) |
CLAUDE.md · 487 lines

How it starts

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

Global Rules

Operating Style (applies to every response)

  • Think before acting; read existing files before writing code. No redundant re-reads.
  • Act autonomously on reversible steps; ask only before publishing, deleting, or other irreversible/outward-facing actions.
  • One focused implementation pass — avoid write-delete-rewrite cycles.
  • Verify with real command output before claiming anything works. Evidence before assertions.
  • Concise output, thorough reasoning. No sycophancy, no filler. If unsure, say so; never invent file paths.
  • Parked skills live in ~/.claude/skills-available/ (see its README to restore).
  • Third-party skills/plugins/MCP servers are prompt+code injectors: ALWAYS run the skill-security-review skill on the exact source ref before installing — the install gate denies unmarked installs; append --security-reviewed only after a PASS verdict.

File Editing Rules (enforced by hooks)

  • Never create or modify files via shell. No cat > f <<'EOF', cat >> f, echo/printf > f, sed -i, perl -i, or inline python3 - <<EOF rewriters. edit-enforce.sh denies these; they bypass context anchoring, diffing, and syntax checks.
  • Use Edit for surgical changes (requires a unique context anchor — ambiguity fails loudly instead of corrupting) and Write for new/whole files. Both are prompt-free under acceptEdits and syntax-checked on save by syntax-check.sh (per-type gates: jq json · yq yaml · taplo toml · ruff py · bash -n sh · esbuild parse-gate ts/js 6.8ms + project-tsc tier-2).
  • Bulk mechanical replaces: sd / ambr (fast, blessed). Identifier/structure-shaped changes: ast-grep. Semantic multi-file changes: Edit per file.
  • Capturing command output to a file (xh ... > resp.json) is fine; generating file content through the shell is not.
  • After any structural edit, fix syntax errors reported by the PostToolUse check before moving on.
  • Verify every 3rd edit to the same file: run/build/test it then, not after the 5th (observed failure mode: five blind edits, then the first run crashes).
  • >5 planned changes to one file = re-read once and do a single whole-file Write, not 3 Reads + 7 Edits of churn.
  • Automation architecture (doctrine): glue logic in TypeScript run by Bun (bun hooks/x.ts) — typed, testable, real parsers (e.g. shell-quote AST for command analysis, NEVER regex against shell text). Heavy operations go to native CLI tools launched with ARGUMENT ARRAYS (no shell re-parsing, no quoting bugs), batched — one rg over 10k files, not 10k launches. Rust only when profiling proves a bottleneck. Plain bash remains for trivial one-liners only.
  • Markdown is auto-formatted on every save (md-format.sh → prettier, GFM, prose preserved). Do not hand-align tables — write them loosely and let the formatter tidy; re-read after bulk writes.

Read the full file on GitHub · 487 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. yesterday Changed · +31 lines · +463 tokens per session 15bcfab25001
  2. 2d ago Changed · +17 lines · +200 tokens per session ae0b33b1092f
  3. 4d ago Changed · +59 lines · +1,835 tokens per session 889f7a44087d
  4. 8d ago First seen · 380 lines · 6,006 tokens per session scan D fa7c4428aa49

Subscribe to this mod's changes

speedy-claude CLAUDE.md is an instructions file published in the GitHub repository klh/speedy-claude (11 stars, last pushed 2d ago), licensed MIT. It adds 8,504 tokens to every session, about $0.0425 per session on Opus 5. A static security scan graded it D with 3 findings (sends data to an external url, downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other instructions, from other repositories

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

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 · 6,785 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,296 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,469 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, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens