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-current-apisgit 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-current-apis)<a href="https://agentmods.dev/skills/dotnet/maui-labs/maui-current-apis"><img src="https://agentmods.dev/badge/skills/dotnet/maui-labs/maui-current-apis/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-current-apis"><img src="https://agentmods.dev/badge/skills/dotnet/maui-labs/maui-current-apis.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.00074 | $0.00918 |
| Opus 5 | $0.00037 | $0.00459 |
| Sonnet 5 | $0.00015 | $0.00184 |
| Haiku 4.5 | $0.00007 | $0.00092 |
Grade A, and why
maui-current-apis 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 — 80 lines — stays where its author put it; the contents beside it link to each section on GitHub.
MAUI Current APIs
Use this skill before changing MAUI app code when API currency matters. The goal is to inspect the project target first, then select APIs that match that target instead of generating stale Xamarin.Forms or early MAUI patterns.
Workflow
-
Inspect the target frameworks and package versions before recommending APIs:
grep -R -n --include="*.csproj" --include="Directory.Build.props" "<TargetFramework" . 2>/dev/null grep -R -n --include="*.csproj" --include="Directory.Build.props" --include="Directory.Packages.props" \ "Microsoft.Maui.Controls\\|UseMaui\\|MauiVersion" . 2>/dev/null -
Identify whether the project targets .NET 8, .NET 9, .NET 10, or multiple versions. Do not assume
net10.0. -
Prefer APIs from
Microsoft.Maui.*namespaces. Do not addXamarin.FormsorXamarin.Essentialsnamespaces to MAUI projects. -
If replacing an obsolete API, explain the replacement and why it matches the detected target.
-
Keep platform-specific code behind
#if ANDROID,#if IOS,#if MACCATALYST,#if WINDOWS, or an injected platform service. -
Build the changed project for the relevant target framework.
Common Agent Traps
| Avoid | Prefer |
|---|---|
using Xamarin.Forms; |
using Microsoft.Maui.Controls; |
using Xamarin.Essentials; |
using Microsoft.Maui.ApplicationModel, Microsoft.Maui.Devices, Microsoft.Maui.Storage, or the specific MAUI namespace |
Device.BeginInvokeOnMainThread(...) |
MainThread.BeginInvokeOnMainThread(...) |
Device.StartTimer(...) |
Dispatcher.StartTimer(...) or IDispatcherTimer |
Device.RuntimePlatform for platform behavior |
DeviceInfo.Platform, OnPlatform, or compile-time platform services |
MessagingCenter for new app architecture |
WeakReferenceMessenger, events, interfaces, or another explicit messaging abstraction |
| Old Xamarin.Forms custom renderers for new code | MAUI handlers, property mappers, or platform services |
| Hard-coded safe area padding | SafeAreaEdges / safe area APIs for the detected MAUI version |
| Coordinate-based UI automation | Stable AutomationId plus DevFlow queries |
Application.Current.MainPage = ... for routine navigation |
Shell navigation with registered routes, or set Window.Page explicitly for intentional app reset flows |
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 · -20 tokens per session 3c83706f8414
- 10d ago First seen · 80 lines · 94 tokens per session scan A 0da8b2badb0e
maui-current-apis is a skill published in the GitHub repository dotnet/maui-labs (213 stars, last pushed yesterday), licensed MIT. It adds 74 tokens to every session and 918 once invoked, about $0.0004 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 skills, from other repositories
syncfusion-maui-toolkit-chips
Implements Syncfusion .NET MAUI Chips (SfChip or SfChipGroup). Use when working with chips, tags, tag controls, selection chips, input chips, or filter chips in .NET MAUI applications. Covers chip types, chip customization, chip events, chip selection, chip groups, remove chips, close button chips, and chip data…
syncfusion-maui-toolkit-otp-input
Implement OTP Input controls in .NET MAUI applications for authentication flows. Covers input types (Number, Text, Password), styling modes (Outlined, Filled, Underlined), event handling, value binding, validation patterns, and accessibility. Use this skill when building SMS/email OTP verification, multi-step…
maui
Build, review, or migrate .NET MAUI applications across Android, iOS, macOS, and Windows with correct cross-platform UI, platform integration, and native packaging assumptions. USE FOR: working on cross-platform mobile or desktop UI in .NET MAUI; integrating device capabilities, navigation, or platform-specific code…
uno-platform
Build cross-platform .NET applications with Uno Platform targeting WebAssembly, iOS, Android, macOS, Linux, and Windows from a single XAML/C# codebase. USE FOR: building cross-platform apps from a single C# and XAML codebase; targeting WebAssembly, iOS, Android, macOS, Linux, and Windows simultaneously; migrating WPF…
compose-multiplatform
Use when building one shared Compose UI in Kotlin across Android, iOS, and desktop — commonMain @Composables, expect/actual, source-set placement, native interop, multiplatform ViewModel/navigation/Koin. NOT a single-platform native build (that is kotlin-android / swift-ios), and NOT Dart/Flutter cross-platform UI…
mapkit
MapKit + CoreLocation for iOS (iOS 17–26 era). SwiftUI Map with MapContentBuilder (Marker / Annotation / MapPolyline / MapPolygon / MapCircle / UserAnnotation), MapCameraPosition & MapCamera with onMapCameraChange, mapStyle / mapControls / selection, MapReader + MapProxy coordinate conversion, and Look Around…