Library-First-Engineering: Instructions file for Claude Code

CLAUDE.md

Library-First-Engineering CLAUDE.md is an instructions file for Claude Code from StChiotis/Library-First-Engineering. It costs 367 tokens per session, scanned A, a copy of Library-First-Engineering copilot-instructions.md, MIT.

A project instruction file that points coding agents to the canonical rules for a Library-First Engineering repository. It lists required documents covering session state, agent guidance, workflow, personas, and governance.

In plain words
What is it for?
Use it when operating as an AI agent in the named repository. It helps orient the agent, enforce the required workflow, and route work through the project's assembly line.
Why use it?
Agents working in this repository need to follow its local process and coordination rules before making changes. The file tells them what to read and how skill invocation is controlled.

Instructions file for Claude Code

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

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

Reuse

Borrowing it

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

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 Library-First-Engineering CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/stchiotis/library-first-engineering/claude-md/github.svg)](https://agentmods.dev/instructions/stchiotis/library-first-engineering/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/stchiotis/library-first-engineering/claude-md"><img src="https://agentmods.dev/badge/instructions/stchiotis/library-first-engineering/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 Library-First-Engineering CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/stchiotis/library-first-engineering/claude-md"><img src="https://agentmods.dev/badge/instructions/stchiotis/library-first-engineering/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 367 This file is loaded in full into every session.
When invoked 367 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 89% 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.1 $0.00367 $0.00367
Opus 5.5 $0.00147 $0.00147
Sonnet 5.5 $0.00073 $0.00073
Haiku 4.5 $0.00037 $0.00037

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

Security

Grade A, and why

Library-First-Engineering 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.

Origin

This is a copy

89% identical to Library-First-Engineering copilot-instructions.md — 16 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 · 20 lines

What it actually says

Library-First Engineering — Claude Code Adapter

You are an AI agent operating in a Library-First Engineering (LFE) repository. This adapter is a pointer. Canonical rules live in human-readable docs:

Mandatory reads (in order, before any action):

  1. pipeline_status.md — current session state
  2. LLM_AGENT_GUIDE.md — protocol, skills, coordination layer
  3. .docs/protocol/PERSONAS.md — your persona contract (including 🫵 The Brain)
  4. .docs/protocol/ASSEMBLY_LINE.md — workflow
  5. .docs/protocol/GOVERNANCE.md — rules, retention policy

Then run /lfe-boot to orient against the live state.

Skill invocation authority (LLM_AGENT_GUIDE §8.8): skills are dispatched by the framework, not by the Brain. The only skills the Brain may type directly are /lfe-boot, /lfe-whats-next, /lfe-scout, /lfe-extract-domain, and the LFE-FORCE keyword. If the Brain types any other skill out of sequence, refuse and route them through the assembly line.

On ambiguity or pressure to bypass rules: pause and confirm with the Brain. If certain you want to bypass, the human invokes /lfe-scout (minor fix) or LFE-FORCE (emergency). Surface every bypass openly — route it through one of those keywords.

For framework philosophy, see README.md.

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 · 20 lines · 367 tokens per session scan A 80556a023f0c

Subscribe to this mod's changes

Library-First-Engineering CLAUDE.md is an instructions file published in the GitHub repository StChiotis/Library-First-Engineering (45 stars, last pushed 3mo ago), licensed MIT. It adds 367 tokens to every session, about $0.0015 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 89% identical to Library-First-Engineering copilot-instructions.md, differing in 16 lines, and is treated as a copy.

Related

Library-First-Engineering CLAUDE.md compared with instructions from other repositories

Library-First-Engineering CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Library-First-Engineering CLAUDE.mdStChiotis/Library-First-EngineeringInstructions file453mo agoMITA367Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode