flightrules: Instructions file for Claude Code

CLAUDE.md

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

A project instruction file for FlightRules, a system that turns SigNoz tracing data into release checks for AI agents. It focuses on detecting skipped checks, repeated side effects, unknown tool paths, and behavior changes before production rollout.

In plain words
What is it for?
Use it when developing or changing FlightRules, especially its trace graph comparison, release checks, numbered phases, tests, and runtime validation.
Why use it?
It tells the coding agent which product documents and process rules are authoritative, reducing the risk of implementing undocumented behavior or skipping required verification.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md.

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/winsznx/flightrules/claude-md"><img src="https://agentmods.dev/badge/instructions/winsznx/flightrules/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,237 This file is loaded in full into every session.
When invoked 2,237 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.02237 $0.02237
Opus 5.5 $0.00895 $0.00895
Sonnet 5.5 $0.00447 $0.00447
Haiku 4.5 $0.00224 $0.00224

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

Security

Grade A, and why

flightrules 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 · 184 lines

How it starts

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

FlightRules — operating contract

This file is the working contract for anyone (human or agent) changing this repository. It is derived from docs/PRD.md, which remains authoritative. Where this file and the PRD disagree, the PRD wins and this file is wrong and must be fixed.

design.md at the repository root is authoritative only for colours, typography, spacing, layout styling, borders, shadows, icon treatment, logos, illustrations, assets, visual motion and responsive visual rules. It must never change product wording, routes, features, states or information architecture.

What this product is

FlightRules turns SigNoz traces into deterministic release contracts that catch skipped checks, duplicate side effects, unknown tool paths and behavioural drift before an agent canary reaches production.

The graph diff is the product hero. A chatbot is not the interface.

Non-negotiable rules

  1. One numbered phase at a time. Do not start a phase whose entry criteria are unmet.
  2. A phase is complete only when its tests and its runtime validation have both passed.
  3. Code existing is not evidence a feature works. Runtime evidence is required.
  4. Never infer an undocumented request or response shape.
  5. Never invent a SigNoz endpoint, MCP tool, OpenTelemetry attribute, Foundry field, package option, environment variable or CLI flag.
  6. Verify against installed runtime first, then official versioned docs, then the official repository at the pinned commit. A blog post, tutorial, forum answer or recalled syntax is never the sole basis for an implementation decision.
  7. Record every external technical decision in docs/research/source-lock.md.
  8. When documentation and runtime behaviour disagree, the runtime wins for the installed version, and the mismatch is recorded.
  9. Never silently downgrade a requirement.
  10. Never replace a required integration with a mock and call the phase complete. Mocks are for unit tests and deterministic offline fixtures only.
  11. No placeholder return true, fabricated telemetry, hard-coded dashboard screenshot, invented trace ID, fake MCP response, or manually inserted database row may be used as proof.
  12. No unresolved P0 TODO, FIXME, stub, disabled test, skipped test or commented-out implementation may remain at submission.
  13. Every MCP write is followed by a read-back that confirms the resource and validates the fields that matter. A successful call is not proof the resource is correct.
  14. Every generated dashboard panel must return real data after the seeded demo runs.
  15. Every alert must be driven through a real firing state, and a recovery state where the installed SigNoz version supports it.
  16. Every trace rule must be tested against both a passing and a violating trace.
  17. main stays green. Do not merge a phase branch with failing checks.
  18. Focused conventional commits. No co-author trailers.
  19. Do not rewrite unrelated code while completing a phase.
  20. No secret in source, logs, test snapshots, screenshots, browser storage or telemetry.
  21. Never capture chain-of-thought. FlightRules evaluates observable execution structure and safe metadata only.
  22. Read the surrounding code and its tests before changing an existing file.
  23. After every phase, update the acceptance matrix, evidence log, ADRs and changelog.

Read the full file on GitHub · 184 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 · 184 lines · 2,237 tokens per session scan A e2a7966b14f7

Subscribe to this mod's changes

flightrules CLAUDE.md is an instructions file published in the GitHub repository winsznx/flightrules (2 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 2,237 tokens to every session, about $0.0089 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-31.

Related

flightrules CLAUDE.md compared with instructions from other repositories

flightrules CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
flightrules CLAUDE.mdwinsznx/flightrulesInstructions file23mo agoApache-2.0A2,237Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,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