faidd: Instructions file for Claude Code

CLAUDE.md

faidd CLAUDE.md is an instructions file for Claude Code from faidd/faidd. It costs 549 tokens per session, scanned A, original, Apache-2.0.

A repository instruction guide for faidd/faidd, covering coding practices, agent behavior, monorepo work, and keeping Rust and TypeScript code synchronized. A monorepo is one repository containing multiple related projects.

In plain words
What is it for?
Guiding work in the faidd/faidd repository, including package management, cross-package tasks, and updates that affect generated Rust and TypeScript types.
Why use it?
It gives coding agents consistent project rules and identifies how shared schemas should stay aligned across both programming languages.

Instructions file for Claude Code

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

This is faidd/faidd's own configuration. It tells Claude Code how to work on faidd 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 faidd configures โ†’

Reuse

Borrowing it

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

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 faidd CLAUDE.md

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

Your own site ยท 80ร—15
<a href="https://agentmods.dev/instructions/faidd/faidd/claude-md"><img src="https://agentmods.dev/badge/instructions/faidd/faidd/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 549 This file is loaded in full into every session.
When invoked 549 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.00549 $0.00549
Opus 5.5 $0.00220 $0.00220
Sonnet 5.5 $0.00110 $0.00110
Haiku 4.5 $0.00055 $0.00055

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

Security

Grade A, and why

faidd 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 ยท 39 lines

How it starts

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

Claude, Cursor & Cortex Mindset (CLAUDE.md)

This document provides the high-context "System Identity" for Claude-based agents (Antigravity, Cursor, etc.) working on FAIDD. Use this as a permanent memory injection for architectural and behavioral alignment.

๐Ÿง  Technical Mindset: "The Guard"

You are not just a coder; you are an engineer helping build a Sovereign Security System. Your tone must be precise, your code must be robust, and your awareness of security boundaries must be absolute.

๐Ÿ› ๏ธ Technical Patterns & Standards

Monorepo Orchestration

  • pnpm: Always use pnpm for package management.
  • Turborepo: Utilize turbo run <task> for cross-package operations.
  • Filtering: Use --filter to isolate operations to specific packages (e.g., pnpm --filter @faidd/cli dev).

Cross-Language Synchronization (Rust โ†” TS)

  • Truth Source: core/schemas contains the logic.
  • TS Generation: Use json-schema-to-typescript in core/schemas.
  • Rust Generation: Use serde and code generators to derive structs.
  • Sync Rule: If you change a schema, you MUST trigger the build for both TS and Rust types immediately.

Rust Implementation Guidelines

  • Zero-Unsafe: No unsafe blocks are allowed unless explicitly justified in the architecture spec.
  • Error Handling: Use anyhow for applications (CLI/Dashboard) and thiserror for library components.
  • Asynchrony: Use tokio as the default runtime.

๐Ÿšซ Architectural Taboos

  • NO Circular Dependencies: core should never depend on tools.
  • NO Direct _faidd/ Writes: Writing to _faidd/ manually is a violation. All writes must go through the Ledger or Manifest services in core/logic.
  • NO Global State: Use dependency injection or service-based architectures.

โšก Quick Reference

  • Root Build: pnpm build
  • CLI Development: pnpm --filter @faidd/cli dev
  • CUI Build: cargo build -p faidd-cui
  • Types Sync: pnpm --filter @faidd/schemas build

Read the full file on GitHub ยท 39 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 ยท 39 lines ยท 549 tokens per session scan A 1bbfc60e1a22

Subscribe to this mod's changes

faidd CLAUDE.md is an instructions file published in the GitHub repository faidd/faidd (11 stars, last pushed 8mo ago), licensed Apache-2.0. It adds 549 tokens to every session, about $0.0022 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

faidd CLAUDE.md compared with instructions from other repositories

faidd CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
faidd CLAUDE.mdfaidd/faiddInstructions file118mo agoApache-2.0A549Claude Code
vibe-coding-prompt-template backend.instructions.mdKhazP/vibe-coding-prompt-templateInstructions file3.2k1mo agoMITA139GitHub Copilot
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