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/dreamescaper/blazorbindings.maui/agents-mdgit clone --depth 1 https://github.com/Dreamescaper/BlazorBindings.MauiWrote 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.
[](https://agentmods.dev/instructions/dreamescaper/blazorbindings.maui/agents-md)<a href="https://agentmods.dev/instructions/dreamescaper/blazorbindings.maui/agents-md"><img src="https://agentmods.dev/badge/instructions/dreamescaper/blazorbindings.maui/agents-md.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00688 | $0.00688 |
| Opus 5 | $0.00344 | $0.00344 |
| Sonnet 5 | $0.00138 | $0.00138 |
| Haiku 4.5 | $0.00069 | $0.00069 |
Grade A, and why
BlazorBindings.Maui AGENTS.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 5d 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 — 37 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Mobile Guidelines
Platform
- This project uses .NET MAUI with BlazorBindings.Maui and Razor syntax, not XAML.
- Do not add web-specific concepts such as
@pageor URL navigation. - Avoid unnecessary StateHasChanged calls.
Razor And Component Conventions
- Use fully qualified enum values such as
FontAttributes="FontAttributes.Bold",LayoutOptions.Center, andAspect.AspectFill. - Use constructor syntax for non-uniform Thickness values, for example
new Thickness(0, 0, 0, 10). - Use
Colors.Namefor named colors, e.g.Colors.Red,Colors.Transparent. - Do not use XAML-style named content properties like
<Control.Property>. Use Razor child content fragments such as<Header>,<Footer>, and explicit<ChildContent>when needed. - Define shadows as child
<Shadow>elements, e.g.<Shadow Brush="Colors.Black" Opacity="0.3" />. - For Border rounding, prefer
CornerRadiusover an inlineIShapefragment unless you need a non-rectangular clip shape (e.g. a star or custom path). - Use
Colorfor solidBrushvalues andStrokeColorfor solidStrokevalues, e.g.Color="Colors.Blue",StrokeColor="Colors.Gray". - Prefix C# expressions passed to string properties with
@, e.g.Text="@myVar". - Use INavigation from BlazorBindings.Maui for navigation. Inject it with
[Inject] INavigation Navigation { get; set; }. For push navigation, pass a Razor component fragment:await Navigation.PushAsync(@<SecondPage SomeParameter="value" />). - Do not use obsolete controls such as Frame, ListView, TableView, or StackLayout.
- Setting HorizontalOptions on HorizontalStackLayout or VerticalOptions on VerticalStackLayout has no effect; use Grid for those layouts.
- Do not add using directives that are already provided by _Imports.razor.
- DatePicker uses DateOnly? and TimePicker uses TimeOnly?.
- Do not bind
RefreshView.IsRefreshingonly to reset it after refresh. BlazorBindings.Maui setsIsRefreshingtofalseafter theOnRefreshingcallback completes. Keep a separate refreshing flag only when the UI itself needs it, such as passing loading state to a child component. - It is acceptable to bind MAUI collection controls, such as
CollectionView.ItemsSource, to a mutableList<T>and append items in place. BlazorBindings.Maui emits change notifications for non-observable collections, so do not requireObservableCollection<T>solely for UI refresh behavior.
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.
- 5d ago First seen · 37 lines · 688 tokens per session scan A 4ecfad8fdf61
BlazorBindings.Maui AGENTS.md is an instructions file published in the GitHub repository Dreamescaper/BlazorBindings.Maui (319 stars, last pushed yesterday), licensed MIT. It adds 688 tokens to every session, about $0.0034 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
maui android.instructions.md
Instructions for dotnet/maui, covering android platform development guidelines, common build issues, view namespace collision, android handler best practices and lifecycle management.
maui handler-patterns.instructions.md
Instructions for dotnet/maui, covering handler mapper and property patterns, property update flow, lifecycle management, null safety in callbacks and native defaults preservation.
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.
maui copilot-instructions.md
Guidance for GitHub Copilot when working on the .NET MAUI repository.
maui integration-tests.instructions.md
Guidance for GitHub Copilot when working with .NET MAUI integration tests.
maui public-api.instructions.md
Instructions for dotnet/maui, covering public api surface design, api addition rules, publicapi.unshipped.txt, obsolescence and removal and visibility decisions.