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 skills add dotnet/maui-labs --skill maui-app-architecturegit 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/skills/dotnet/maui-labs/maui-app-architecture)<a href="https://agentmods.dev/skills/dotnet/maui-labs/maui-app-architecture"><img src="https://agentmods.dev/badge/skills/dotnet/maui-labs/maui-app-architecture/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/skills/dotnet/maui-labs/maui-app-architecture"><img src="https://agentmods.dev/badge/skills/dotnet/maui-labs/maui-app-architecture.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00078 | $0.01077 |
| Opus 5.5 | $0.00031 | $0.00431 |
| Sonnet 5.5 | $0.00016 | $0.00215 |
| Haiku 4.5 | $0.00008 | $0.00108 |
Grade A, and why
maui-app-architecture 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.
How it starts
The opening of the file, as written. The whole thing — 117 lines — stays where its author put it; the contents beside it link to each section on GitHub.
MAUI App Architecture
Use this skill for app-level wiring: services, pages, ViewModels, bindings, and navigation. Favor explicit, testable architecture over service locator patterns.
Workflow
- Inspect
MauiProgram.cs,AppShell.xaml, page constructors, and existing ViewModels. - Preserve the app's UI pattern: XAML/MVVM, C# Markup, MauiReactor, Blazor Hybrid, or a mix.
- Register dependencies in
MauiProgram.cs. - Use constructor injection for pages and ViewModels.
- Use compiled bindings with
x:DataTypein pages and data templates. - Register Shell routes once, near app startup. When asked how to register a
Shell route, show the literal
Routing.RegisterRoute(...)call, not only a prose summary. - Pass navigation data through Shell route query parameters. For trim-sensitive
or NativeAOT-sensitive flows, prefer
IQueryAttributableover[QueryProperty]. - Keep platform APIs behind interfaces so ViewModels remain unit-testable.
Dependency Injection Guidance
| Dependency | Typical lifetime |
|---|---|
| Stateless API clients and data services | Singleton or typed HttpClient service |
| ViewModels with page state | Transient |
| Pages | Transient |
| User session/state service | Singleton if intentionally app-wide |
| Disposable per-flow services | Scoped only if the app has an explicit scope boundary |
Avoid calling BuildServiceProvider() inside MauiProgram.cs. Register the
type and let MAUI resolve it.
Shell Navigation Pattern
Routing.RegisterRoute(nameof(DetailsPage), typeof(DetailsPage));
await Shell.Current.GoToAsync($"{nameof(DetailsPage)}?id={Uri.EscapeDataString(id)}");
public sealed partial class DetailsViewModel : ObservableObject, IQueryAttributable
{
public void ApplyQueryAttributes(IDictionary<string, object> query)
{
if (query.TryGetValue("id", out var value) && value is string id)
{
Load(Uri.UnescapeDataString(id));
}
}
}
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.
- 2mo ago Changed · -52 tokens per session 612f4237acb9
- 3mo ago First seen · 117 lines · 130 tokens per session scan A a79db91bee99
maui-app-architecture is a skill published in the GitHub repository dotnet/maui-labs (244 stars, last pushed today), licensed MIT. It adds 78 tokens to every session and 1,077 once invoked, about $0.0003 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-app-architecture compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| maui-app-architecturedotnet/maui-labs | Skill | 244 | today | MIT | A | 78 | Claude Code, Codex |
| argent-react-native-app-workflowsoftware-mansion/argent | Skill | 3.3k | today | Apache-2.0 | A | 41 | Claude Code, Codex |
| argent-react-native-optimizationsoftware-mansion/argent | Skill | 3.3k | today | Apache-2.0 | A | 46 | Claude Code, Codex |
| mobile-automationmobile-next/mobile-mcp | Skill | 11k | 5d ago | Apache-2.0 | A | 58 | Claude Code, Codex |
| argent-metro-debuggersoftware-mansion/argent | Skill | 3.3k | today | Apache-2.0 | A | 50 | Claude Code, Codex |
| argent-native-profilersoftware-mansion/argent | Skill | 3.3k | today | Apache-2.0 | A | 41 | Claude Code, Codex |
| argent-screen-recordingsoftware-mansion/argent | Skill | 3.3k | today | Apache-2.0 | A | 38 | Claude Code, Codex |