Borrowing it
Nothing to install: this file belongs to dotnet/maui-labs. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/dotnet/maui-labs/main/AGENTS.mdgit clone --depth 1 https://github.com/dotnet/maui-labsWrote 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/dotnet/maui-labs/agents-md)<a href="https://agentmods.dev/instructions/dotnet/maui-labs/agents-md"><img src="https://agentmods.dev/badge/instructions/dotnet/maui-labs/agents-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.
<a href="https://agentmods.dev/instructions/dotnet/maui-labs/agents-md"><img src="https://agentmods.dev/badge/instructions/dotnet/maui-labs/agents-md.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.08580 | $0.08580 |
| Opus 5.5 | $0.03432 | $0.03432 |
| Sonnet 5.5 | $0.01716 | $0.01716 |
| Haiku 4.5 | $0.00858 | $0.00858 |
Grade A, and why
maui-labs 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 6d 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 — 557 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Agent Instructions
Instructions for GitHub Copilot and other AI coding agents working with the maui-labs repository.
Repository Overview
This repository hosts experimental .NET MAUI packages. It is a multi-product mono-repo — each product lives under src/{Product}/ with its own version, solution filter, and CI workflow.
Products
| Product | Package / Tool | Description |
|---|---|---|
| Cli | Microsoft.Maui.Cli (global tool: maui), Microsoft.Maui.ProfilingHelper |
Unified MAUI command-line tool: environment diagnostics (maui doctor), Android SDK/JDK/emulator management, Apple platform management, device listing, maui ai for AI-assisted development and agent skill marketplace management, maui go for rapid prototyping, maui profile startup for performance tracing, maui project version for project version management, maui port check for TCP port diagnostics, and the maui devflow automation surface. Microsoft.Maui.ProfilingHelper is a lightweight helper library injected by the CLI to drive the startup profiling exit-control handshake; it can also be referenced directly to mark startup completion via MauiProfilingMarker.Complete(). |
| DevFlow | Microsoft.Maui.DevFlow.* packages plus the unified maui devflow CLI surface |
Runtime MAUI automation toolkit. In-app agent with HTTP API, visual tree inspection, CDP bridge for Blazor WebViews, MCP server for AI agents, cross-platform driver library. |
| Comet | Comet, Comet.SourceGenerator, Comet.Layout.Yoga |
Experimental MVU UI framework for .NET MAUI — C# fluent UI, signals/reactive state, Yoga layout. |
| Go | Microsoft.Maui.Go.Server + Comet Go companion app |
Single-file Comet apps server and companion app for rapid prototyping (alpha; sister to Comet). |
| Essentials.AI | Microsoft.Maui.Essentials.AI |
On-device AI for .NET MAUI — semantic search, chat completion, embeddings, and tool use against local models. |
| AIExtensions | Microsoft.Maui.AI.Attributes |
Source-generated AI tool bindings — turns decorated C# methods into Microsoft.Extensions.AI-callable tools using Roslyn, with DI parameter binding and AOT support. |
| AppProjectReference | Microsoft.Maui.Build.AppProjectReference |
MSBuild SDK extension that enables referencing MAUI app projects from test and tooling projects. |
| Linux GTK4 | Microsoft.Maui.Platforms.Linux.Gtk4 + associated packages |
.NET MAUI platform backend for Linux using GTK4 — handler, Essentials, BlazorWebView, and project templates. |
| macOS AppKit | Microsoft.Maui.Platforms.MacOS + associated packages |
.NET MAUI platform backend for macOS AppKit — handler, Essentials, BlazorWebView, and project templates. |
| WPF | Microsoft.Maui.Platforms.Windows.WPF + associated packages |
.NET MAUI platform backend for WPF — handler, Essentials, and project templates. |
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.
- 6d ago Changed · +3 lines · +80 tokens per session 51f12720bb6e
- 8d ago Changed · +2 lines · +41 tokens per session e82a2254fa5f
- 9d ago Changed · +15 tokens per session d02d6674d0c4
- 24d ago Changed · +3 lines · +52 tokens per session fc74d5cfb7bb
- 27d ago Changed · +2 lines · +51 tokens per session 9dbcfeaa123d
- 1mo ago Changed · +15 tokens per session 30254b53934b
- 1mo ago Changed · +75 lines · +903 tokens per session e4e1e312ed64
- 2mo ago Changed · +127 lines · +1,972 tokens per session 92e7d39b6708
- 2mo ago Changed · +32 tokens per session fbaa2633beb5
- 2mo ago First seen · 345 lines · 5,419 tokens per session scan A 2445a9fc3cbc
maui-labs AGENTS.md is an instructions file published in the GitHub repository dotnet/maui-labs (235 stars, last pushed yesterday), licensed MIT. It adds 8,580 tokens to every session, about $0.0343 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.
maui-labs AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| maui-labs AGENTS.mddotnet/maui-labs | Instructions file | 235 | yesterday | MIT | A | 8,580 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |