Fair-Code: Instructions file for Claude Code

CLAUDE.md

Fair-Code CLAUDE.md is an instructions file for Claude Code from yakew7/Fair-Code. It costs 477 tokens per session, scanned A, original, MIT.

Repository instructions for Fair-Code, a project that evaluates fairness using analysis code, datasets, audits, and research results. They explain that normal development may continue while an older results snapshot remains for comparison.

In plain words
What is it for?
Use them before changing Fair-Code analysis code, results, audit manifests, datasets, locked dependencies, or reproducibility settings.
Why use it?
They prevent contributors from following an outdated paper freeze and identify which files and reproducibility settings are open to change. This reduces confusion when updating analyses or audit results.

Instructions file for Claude Code

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

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

Reuse

Borrowing it

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

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 Fair-Code CLAUDE.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/yakew7/fair-code/claude-md"><img src="https://agentmods.dev/badge/instructions/yakew7/fair-code/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 477 This file is loaded in full into every session.
When invoked 477 The same file — it is already loaded in full.
Security scan A 0 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.00477 $0.00477
Opus 5.5 $0.00191 $0.00191
Sonnet 5.5 $0.00095 $0.00095
Haiku 4.5 $0.00048 $0.00048

Measured 2mo ago against content hash 58bfa04ae39b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

Fair-Code 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 2mo 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 · 35 lines

How it starts

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

CLAUDE.md - Standing Instructions

Read this before making changes to this repo. It applies to AI agents and human contributors alike.

Paper freeze - lifted

This repo was previously under a paper freeze, on the assumption that a research paper citing its benchmark results was in peer review. That paper was never actually submitted this cycle - the real paper, with a fresh run of results, is now planned for next year. Freezing analysis code and results against a paper that doesn't exist yet was premature, so the freeze is lifted: faircode/ core, results/, audit.yaml manifests, dataset CSVs, requirements-lock.txt, and the reproducibility parameters (random_state, split ratio, iteration counts, the fairness constraint, the six metrics) are all open to normal development again. New audits merge to main like anything else. Dependabot's version-bump PRs against requirements-lock.txt no longer need to be reverted on sight - use normal judgment.

paper/results-frozen/ stays, as a reference

paper/results-frozen/ is kept in the repo, but it is no longer under any special protection - it's a snapshot of an earlier analysis pass, useful as a point of comparison while building toward next year's real paper run, not the evidence backing a live citation. Nothing stops it from being read, compared against, or eventually superseded; there's just no active enforcement requiring results/ to keep matching it, since results/ is expected to move again as development resumes. The v1.0-paper git tag is left in place as a historical marker of what that snapshot was.

If an explainer or piece of documentation quotes a Fair Code benchmark result, say which source it's quoting - results/ (current) or paper/results-frozen/ (the earlier reference snapshot) - so a reader isn't left guessing which numbers are live.

Next freeze

When the real paper submission is actually ready (expected next year), expect a new freeze to be established at that point, covering whatever fresh results back that submission - this file will be updated again when that happens. Until then, treat this repo as under normal, fully open development.

Read the full file on GitHub · 35 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. 2mo ago First seen · 35 lines · 477 tokens per session scan A 58bfa04ae39b

Subscribe to this mod's changes

Fair-Code CLAUDE.md is an instructions file published in the GitHub repository yakew7/Fair-Code (71 stars, last pushed today), licensed MIT. It adds 477 tokens to every session, about $0.0019 per session on Opus 5.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-30.

Related

Fair-Code CLAUDE.md compared with instructions from other repositories

Fair-Code CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Fair-Code CLAUDE.mdyakew7/Fair-CodeInstructions file71todayMITA477Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot