CLAUDE.mdB

CLAUDE.md from librefang/librefang is a CLAUDE.md file: the standing instructions Claude Code reads in that repo.

Install it, pinned
mdr add librefang/librefang/CLAUDE.md@git:20260827.61e314c

Pins git:20260827.61e314c in mdr.lock. Pin the fingerprint instead.

Audit grade
B, 13 of 14 checks passed
Kind
CLAUDE.md file
Repository
librefang/librefang
Path
CLAUDE.md
Versions recorded
5
Latest version
git:20260827.61e314c, committed Aug 27, 2026
First version recorded
Aug 12, 2026
Size
27,053 bytes
Repository stars
392
License
MIT

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# LibreFang — Agent Instructions

## ⚠️ Before any work: verify you are in a worktree, not the main tree

The very first action in any task that will edit files **must** be:

```bash
test -d "$(git rev-parse --show-toplevel)/.git" && echo main || echo linked
```

- prints `main` → you are in the **main worktree**. **Stop.** Run `git worktree add /tmp/librefang-<feature> -b <feature-branch> origin/main` and continue all work from that path.
- prints `linked` → you are in a **linked worktree**. Continue.

Git stores the main worktree's `.git` as a directory and a linked worktree's `.git` as a text file, so the directory test is true exactly in the main worktree.
Do not substitute `git rev-parse --git-dir` (path-shaped output, varies with cwd) or path-matching against `pwd` (every clone lives somewhere different).

### Safety hooks — what will stop you

`.claude/hooks/` (Claude Code PreToolUse / SessionStart) and `scripts/hooks/` (version-controlled git hooks) enforce this contract in two independent layers.
Full enumeration: `docs/development/ai-safety-hooks.md`.
The short list of things that get blocked:

- Editing files or running mutating git commands in the **main worktree**.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add librefang/librefang/CLAUDE.md@sha256:2ee31b3a24bb66a1

The line at the top of this page pins the label git:20260827.61e314c, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_qrepmino4ewg75cx.svg)](https://markdownregistry.com/a/art_qrepmino4ewg75cx)

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Aug 12, 2026 and Aug 27, 2026, about one every 4 days.

versioncommittedcommitsizeaudit
git:20260827.61e314c latest2026-08-27 61e314c 27,053 BB view · diff
git:20260826.15ebc022026-08-26 15ebc02 25,784 BB view · diff
git:20260824.fadc4242026-08-24 fadc424 24,098 BB view · diff
git:20260818.67333f72026-08-18 67333f7 23,109 BB view · diff
git:20260812.ccabd9c2026-08-12 ccabd9c 44,971 BB view

Audit of the latest version

B  13 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • fail: No link to a raw IP address (matched: http://127.0.0.1:4545)
  • pass: Size between 200 bytes and 200 KB (27053 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No script tag

Starting a new one? Use a template for CLAUDE.md on mdpantry, which passes every one of these checks and says what to change in it.

Source

GitHub

librefang/librefang · 392 stars · license MIT · pushed 2026-10-31 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_qrepmino4ewg75cx
GET https://markdownregistry.com/api/v1/resolve?ref=librefang/librefang/CLAUDE.md
GET https://markdownregistry.com/api/v1/blob/2ee31b3a24bb66a1b7e4ac09d978cf46abc360dbc2eeb9a85ce1832c7d7c9f84

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: what a CLAUDE.md file is · keeping AGENTS.md and CLAUDE.md in sync · which agent file does what.

More from librefang/librefang

AGENTS.md AGENTS.md file
librefang/librefang · AGENTS.md
git:20261016.b46747a · audit B · 392 stars
AGENTS.md@crates/librefang-api/dashboard AGENTS.md file
librefang/librefang · crates/librefang-api/dashboard/AGENTS.md
git:20260912.999f8c8 · audit A · 392 stars
CLAUDE.md@crates/librefang-api/dashboard CLAUDE.md file
librefang/librefang · crates/librefang-api/dashboard/CLAUDE.md
git:20260505.d22dfcc · audit B · 392 stars
AGENTS.md@crates/librefang-channels AGENTS.md file
librefang/librefang · crates/librefang-channels/AGENTS.md
git:20260524.7e17796 · audit A · 392 stars
CLAUDE.md@crates/librefang-channels CLAUDE.md file
librefang/librefang · crates/librefang-channels/CLAUDE.md
git:20260505.d22dfcc · audit B · 392 stars
AGENTS.md@crates/librefang-extensions AGENTS.md file
librefang/librefang · crates/librefang-extensions/AGENTS.md
git:20260524.7e17796 · audit A · 392 stars
CLAUDE.md@crates/librefang-extensions CLAUDE.md file
librefang/librefang · crates/librefang-extensions/CLAUDE.md
git:20260505.d22dfcc · audit B · 392 stars
AGENTS.md@crates/librefang-kernel AGENTS.md file
librefang/librefang · crates/librefang-kernel/AGENTS.md
git:20260529.ccf9bad · audit A · 392 stars
CLAUDE.md@crates/librefang-kernel CLAUDE.md file
librefang/librefang · crates/librefang-kernel/CLAUDE.md
git:20260505.d22dfcc · audit B · 392 stars
AGENTS.md@crates/librefang-llm-driver AGENTS.md file
librefang/librefang · crates/librefang-llm-driver/AGENTS.md
git:20260505.d22dfcc · audit A · 392 stars
CLAUDE.md@crates/librefang-llm-driver CLAUDE.md file
librefang/librefang · crates/librefang-llm-driver/CLAUDE.md
git:20260505.d22dfcc · audit B · 392 stars
AGENTS.md@crates/librefang-runtime AGENTS.md file
librefang/librefang · crates/librefang-runtime/AGENTS.md
git:20260516.e9aabe6 · audit A · 392 stars

Every file in librefang/librefang

Other files named CLAUDE.md

CLAUDE.md CLAUDE.md file
affaan-m/ecc · CLAUDE.md
git:20261020.9471ef4 · audit A · 293,827 stars
CLAUDE.md CLAUDE.md file
firecrawl/firecrawl · CLAUDE.md
git:20261008.5a75dca · audit A · 198,353 stars
CLAUDE.md CLAUDE.md file
garrytan/gstack · CLAUDE.md
git:20261027.c2e01e4 · audit A · 138,879 stars
CLAUDE.md CLAUDE.md file
juliusbrussee/caveman · CLAUDE.md
git:20261010.505ac30 · audit B · 116,476 stars
CLAUDE.md CLAUDE.md file
addyosmani/agent-skills · CLAUDE.md
git:20260720.8fd2081 · audit A · 112,362 stars
CLAUDE.md CLAUDE.md file
nexu-io/open-design · CLAUDE.md
git:20260430.9b57c22 · audit B · 105,776 stars
CLAUDE.md CLAUDE.md file
debpalash/voicestudio · CLAUDE.md
git:20261031.faa5294 · audit A · 98,663 stars
CLAUDE.md CLAUDE.md file
pbakaus/impeccable · CLAUDE.md
git:20261030.40f9c1e · audit A · 97,942 stars

Browse by kind, by grade B, or by owner.