Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add instructions/reactiveui/primitives/claude-mdgit clone --depth 1 https://github.com/reactiveui/PrimitivesWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.01696 | $0.01696 |
| Opus 5 | $0.00848 | $0.00848 |
| Sonnet 5 | $0.00339 | $0.00339 |
| Haiku 4.5 | $0.00170 | $0.00170 |
Grade A, and why
Primitives 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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 207 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
This file is the single source of truth for AI/agent assistance in this repository. It consolidates build/test commands,
repository layout, test runner usage, and the main constraints needed to work safely in ReactiveUI.Primitives.
If there is any conflict between other agent instruction files and this file, follow CLAUDE.md.
Repository Orientation
- Repository root:
. - Primary working directory for build/test:
./src - Main solution:
src/ReactiveUI.Primitives.slnx - Benchmarks project:
src/benchmarks/ReactiveUI.Primitives.Benchmarks/ReactiveUI.Primitives.Benchmarks.csproj - Tests:
src/tests/
Solution Format: SLNX
This repository uses SLNX (XML-based solution format) instead of legacy .sln.
- Main file:
src/ReactiveUI.Primitives.slnx - Use
dotnet build/dotnet testagainst the.slnxfile the same way as a.sln
Build Environment Requirements
Working Directory Rule
CRITICAL: Run dotnet build/test commands from ./src, not the repository root, unless the command explicitly uses
src/-prefixed paths.
Running dotnet test from the repository root can trigger Microsoft Testing Platform / VSTest invocation issues on .NET
10+ SDKs.
Restore And Build
cd src
dotnet restore "ReactiveUI.Primitives.slnx"
dotnet build "ReactiveUI.Primitives.slnx"
dotnet build "ReactiveUI.Primitives.slnx" -c Release
dotnet clean "ReactiveUI.Primitives.slnx"
Full Solution Test Command
cd src
dotnet test "ReactiveUI.Primitives.slnx"
Equivalent explicit invocation:
dotnet test "ReactiveUI.Primitives.slnx"
with workdir set to:
/home/glennw/source/rxui/Primitives/src
Testing: Microsoft Testing Platform (MTP) + TUnit
This repository uses Microsoft Testing Platform (MTP) with TUnit. This differs from VSTest.
- Test support is enabled centrally in
src/Directory.Build.props - Test execution settings live in
src/testconfig.json - Command-line filtering uses TUnit/MTP syntax, not NUnit/xUnit/VSTest filter syntax
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.
- 2d ago First seen · 207 lines · 1,696 tokens per session scan A 67ec35785f02
Primitives CLAUDE.md is an instructions file published in the GitHub repository reactiveui/Primitives (12 stars, last pushed 2d ago), licensed MIT. It adds 1,696 tokens to every session, about $0.0085 per session on Opus 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.
Other instructions, from other repositories
moorestech AGENTS.md
AGENTS.md instructions for moorestech/moorestech, covering コーディングの指針, qa(必須), 互換性とパフォーマンス, 既知の制約(設計上の割り切り) and regionの活用.
moorestech CLAUDE.md
Claude Code instructions for moorestech/moorestech, a project described as: Animated open world automated factory game.
dev-habit copilot-instructions.md
Copilot instructions for jaimejaramilloperez/dev-habit, covering general, c# guidelines, formatting, nullable reference types and asynchronous code.
maui uitests.instructions.md
Instructions for dotnet/maui, covering ui testing guidelines for .net maui, ui test structure, two-project requirement, base class and infrastructure and naming conventions.
maui ci-copilot-pipeline-security.instructions.md
Security rules for the Copilot PR-review pipeline. Read before editing.
maui performance-hotpaths.instructions.md
Instructions for dotnet/maui, covering performance-critical path rules, hot paths in maui, allocation avoidance, caching and invalidation and collection iteration.