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-blazor-hybridgit 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-blazor-hybrid)<a href="https://agentmods.dev/skills/dotnet/maui-labs/maui-blazor-hybrid"><img src="https://agentmods.dev/badge/skills/dotnet/maui-labs/maui-blazor-hybrid/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-blazor-hybrid"><img src="https://agentmods.dev/badge/skills/dotnet/maui-labs/maui-blazor-hybrid.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.00088 | $0.01583 |
| Opus 5.5 | $0.00035 | $0.00633 |
| Sonnet 5.5 | $0.00018 | $0.00317 |
| Haiku 4.5 | $0.00009 | $0.00158 |
Grade A, and why
maui-blazor-hybrid 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 — 171 lines — stays where its author put it; the contents beside it link to each section on GitHub.
MAUI Blazor Hybrid
Use this skill when a MAUI app hosts Razor components or an embedded web surface inside a native app.
Workflow
- Inspect
MauiProgram.cs,.razorfiles,wwwroot, and XAML pages that hostBlazorWebVieworHybridWebView. - Choose the right host:
BlazorWebViewfor Razor components rendered inside MAUI.HybridWebViewfor HTML/JavaScript content that exchanges messages with .NET without using the Blazor component model.
- Register Blazor Hybrid services in
MauiProgram.cs. - Keep native services in MAUI DI and consume them from Razor through DI.
- Put static web assets under
wwwrootor referenced Razor class libraries. - Use JS/.NET interop through documented APIs, not platform WebView internals.
For
HybridWebViewraw messaging, always showSendRawMessage,RawMessageReceived, a JSON DTO contract, and a source-generatedJsonSerializerContext/System.Text.Jsonpath when trimming, NativeAOT, Release trimming, or trimming-safe messaging is part of the request. Do not answer with only raw strings orDynamicDependency. - Review trimming and NativeAOT risks for reflection, serialization, and JS interop payloads.
- Use DevFlow CDP tools to inspect WebView DOM, console logs, CDP screenshots,
and route state when debugging. For Blazor Hybrid stale route/DOM answers,
explicitly name
maui_cdp_webviews,maui_cdp_sourceormaui_cdp_evaluate, and at least one evidence tool:maui_cdp_screenshotormaui_logs.
BlazorWebView Pattern
builder.Services.AddMauiBlazorWebView();
<BlazorWebView HostPage="wwwroot/index.html">
<BlazorWebView.RootComponents>
<RootComponent Selector="#app" ComponentType="{x:Type local:Routes}" />
</BlazorWebView.RootComponents>
</BlazorWebView>
Razor components can inject MAUI services registered in the same DI container.
Keep platform work behind interfaces so components remain testable. The root
component type depends on the template; newer templates often use Routes,
while older templates may use Main.
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 · -65 tokens per session 68b8ae790d5b
- 3mo ago First seen · 171 lines · 153 tokens per session scan A f91196ff6370
maui-blazor-hybrid is a skill published in the GitHub repository dotnet/maui-labs (244 stars, last pushed today), licensed MIT. It adds 88 tokens to every session and 1,583 once invoked, about $0.0004 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-blazor-hybrid compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| maui-blazor-hybriddotnet/maui-labs | Skill | 244 | today | MIT | A | 88 | 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 |