/shiny:shiny-bluetoothlefrom shiny
Shiny BluetoothLE client/central operations for scanning, connecting, and communicating with BLE peripherals
Ships in shiny. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use this skill when the user needs to:
StreamDo NOT use this skill for BLE hosting/peripheral mode (advertising, GATT server). That is a separate library (Shiny.BluetoothLE.Hosting).
Shiny.BluetoothLE (Android, iOS/tvOS/macOS, Windows, and Blazor WebAssembly via the Web Bluetooth API - Shiny.BluetoothLE.Blazor no longer exists), Shiny.BluetoothLE.Linux (Linux via BlueZ - a separate package so its D-Bus dependency never reaches WebAssembly)services.AddBluetoothLE() everywhere except Linux, where it is services.AddLinuxBluetoothLE() from Shiny.BluetoothLE.Linux. The Web Bluetooth classes are BrowserBleManager / BrowserPeripheral / BrowserAdvertisementDataShiny.BluetoothLEShiny.BluetoothLE.ManagedtvOS runs the same CoreBluetooth central implementation as iOS — scanning, connecting, GATT and L2CAP are identical and there is no tvOS-specific code to write. Two Apple limits to encode in any guidance you generate:
bluetooth-central background mode. Scans and connections end when the app suspends, and setting AppleBleConfiguration.RestoreIdentifier accomplishes nothing — do not suggest it for tvOS.Shiny.BluetoothLE.Hosting has no tvOS target; CBMutableService/CBMutableCharacteristic carry no constructors there. If asked to build a GATT server on tvOS, say it is not possible rather than producing code that cannot compile.Also worth mentioning when relevant: the Siri Remote is itself a BLE device, so an Apple TV has fewer simultaneous connections to spare than an iPhone.
The Blazor implementation is built on the browser's Web Bluetooth API and inherits its limitations:
http://localhost required. The API is unavailable on plain http://.chrome://flags/#enable-web-bluetooth (or edge://flags, etc.) → Enabled → restart. Linux also needs experimental-web-platform-features on and BlueZ 5.43+.internet://flags → Web Bluetooth.Register in your MauiProgram.cs or host builder:
// Basic registration
services.AddBluetoothLE();
// With a delegate for background events (adapter state changes, peripheral connections)
services.AddBluetoothLE<MyBleDelegate>();
// iOS/macOS only - with Apple-specific configuration
services.AddBluetoothLE<MyBleDelegate>(new AppleBleConfiguration(
ShowPowerAlert: true,
RestoreIdentifier: "my-ble-app"
));
// iOS/Mac Catalyst - stop CoreBluetooth putting "accessory would like to open app" alerts in front of the
// user when a connect, disconnect or notification happens with the app in the background. All three default
// to true. Turn them off when the app connects from the background on purpose (kept running by location
// updates, say) - NotifyOnNotification in particular is an alert per packet for a streaming device.
services.AddBluetoothLE(new AppleBleConfiguration
{
NotifyOnConnection = false,
NotifyOnDisconnection = false,
NotifyOnNotification = false
});
The delegate class:
public class MyBleDelegate : BleDelegate
{
public override Task OnAdapterStateChanged(AccessState state)
{
// Handle adapter state changes (foreground or background)
return Task.CompletedTask;
}
public override Task OnPeripheralStateChanged(IPeripheral peripheral)
{
// Handle peripheral connection state changes (foreground or background)
return Task.CompletedTask;
}
}
Add the BLE permissions to Platforms/Android/AndroidManifest.xml. Critical: on Android 12+ (API 31+) Shiny requests only BLUETOOTH_SCAN / BLUETOOTH_CONNECT at runtime — it does NOT request ACCESS_FINE_LOCATION. If you declare BLUETOOTH_SCAN without the neverForLocation flag, Android silently withholds all scan results unless fine location is also granted, so scans appear to return nothing. Unless your app actually derives physical location from BLE, always add neverForLocation:
<!-- Android 12+ -->
<uses-permission android:name="android.permission.BLUETOOTH_SCAN"
android:usesPermissionFlags="neverForLocation" />
<uses-permission android:name="android.permission.BLUETOOTH_CONNECT" />
<!-- Android 11 and below -->
<uses-permission android:name="android.permission.BLUETOOTH" android:maxSdkVersion="30" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" android:maxSdkVersion="30" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" android:maxSdkVersion="30" />
If you DO use BLE to infer location, omit neverForLocation and also request/grant ACCESS_FINE_LOCATION at runtime.
Scans discover both legacy and Bluetooth 5 extended advertisements automatically (when the chipset supports extended advertising); legacy advertisements that virtually all peripherals send are always included. To force a legacy-only scan, use new AndroidScanConfig(IncludeExtendedAdvertisements: false).
When generating BLE client code, follow these conventions:
Always request access before scanning: Call IBleManager.RequestAccess() or RequestAccessAsync() and verify AccessState.Available before starting a scan - it is how a denied permission or a switched-off adapter reaches the user. It is no longer load-bearing for the scan itself: as of 5.6 a Scan() issued before the Apple central has finished powering on is parked and started automatically (see #12), rather than being silently dropped.
Use reactive (IObservable) APIs as the primary pattern: The library is built on System.Reactive. Use the Async extension methods only when you need Task-based patterns.
Dispose scan subscriptions: Only one scan can be active at a time. Always dispose the scan subscription or call StopScan() when done - either one releases the slot. Never track "am I scanning" with your own flag; read IBleManager.IsScanning, which reports whether the native scan is running (it is false while a scan is parked waiting on the adapter).
Use string-based UUIDs for services and characteristics: The API uses string UUIDs throughout (e.g., "180D" or "0000180d-0000-1000-8000-00805f9b34fb").
Prefer ConnectAsync for simple connection flows: It handles waiting for the connected state and has a default 30-second timeout.
Always call CancelConnection() or DisconnectAsync() when done: Connections are not automatically cleaned up.
Use IManagedScan for UI-bound scanning: It provides an INotifyReadOnlyCollection that works with MVVM bindings and handles peripheral deduplication, buffering, and stale removal.
Feature detection via interface checks: Optional capabilities (MTU request, pairing, reliable transactions) use feature interfaces. Always use the Try* or Can* extension methods rather than casting directly.
8a. IPeripheral.Mtu is the usable payload, not the ATT MTU: It is already the negotiated ATT MTU minus the 3-byte ATT header (BleConstants.AttHeaderSize), so fragment writes to peripheral.Mtu directly — never write peripheral.Mtu - 3. The units are asymmetric across a single call: TryRequestMtu(512) passes 512 as an ATT MTU to the platform but emits 509, the payload. When handing a value to an API that genuinely wants an ATT MTU, add the header back with peripheral.Mtu + BleConstants.AttHeaderSize.
Handle BleException and BleOperationException: GATT operations can throw these. BleOperationException includes a GattStatusCode. An in-flight operation that is interrupted by a disconnect faults with a BleException rather than hanging, so always have an onError handler (or catch) on read/write/discovery calls — with auto-reconnect enabled, retry once the peripheral reports Connected again. If the subscription is already gone when that fault arrives (a WhenStatusChanged().Select(...).Switch() pipeline tears down the in-flight call on the same disconnect), the fault is dropped rather than raised through TaskScheduler.UnobservedTaskException - never add an UnobservedTaskException filter for BleException to keep disconnects out of crash telemetry.
Connection auto-reconnect: ConnectionConfig.AutoConnect = true (default) reconnects the peripheral after a dropped link or a power cycle on every platform — never write your own WhenDisconnected().Subscribe(_ => peripheral.Connect()) loop on top of it, the two fight each other. Set AutoConnect = false for a faster initial connection when you intend to own reconnecting. CancelConnection() disposes the auto-reconnect, so a deliberate disconnect stays disconnected; call Connect() again to re-arm it. Auto-reconnect restores the link only — re-run per-connection setup (MTU request, authentication handshake, reading a config characteristic) from WhenConnected(), not once after the first ConnectAsync().
The user toggling Bluetooth off/on is handled for you (5.6+, iOS/Mac Catalyst/macOS/Android): Do not re-implement it on those platforms. Neither OS reports the resulting drop per peripheral, so Shiny watches the adapter and, on power-down, runs the full disconnect teardown on every connected peripheral — WhenStatusChanged() emits Disconnected (agreeing with IPeripheral.Status, which reads the platform live), notifiers are cleared, in-flight operations fault with BleException, and on Android the GATT client is closed and service discovery re-armed. On power-up, every peripheral connected with AutoConnect: true is reconnected. Never write a Connect() call in IBleDelegate.OnAdapterStateChanged(AccessState.Available) for an AutoConnect: true peripheral — that is the pre-5.6 workaround and it now races Shiny's own reconnect. A Connect() issued while the adapter is off is parked and replayed when it returns rather than silently no-oping, so an explicit connect from that handler is safe but redundant. If you own reconnecting (AutoConnect = false), gate your WhenDisconnected() handler on the adapter being available, since you will now get a Disconnected on power-down. Starting a Scan() while a peripheral is waiting to reconnect is safe - the scan's cache prune skips peripherals with an armed auto-reconnect or a parked connect. Windows needs none of this (its ConnectionStatusChanged fires on a radio power-down by itself); on Linux (BlueZ) and Blazor the adapter cycle is not tracked, so there you still handle it yourself.
Never build your own "wait for the adapter, then scan" wrapper on Apple (5.6+): Scan() parks itself. A CBCentralManager reports Unknown for a moment after construction — and IBleManager builds it lazily, so on a cold start that moment is the Scan() call — and CoreBluetooth silently discards any scan issued below PoweredOn. Shiny holds the request and issues it the instant the central powers on, and re-issues it after an adapter power cycle. Do not write RequestAccess().Where(x => x == AccessState.Available).SelectMany(_ => Scan()), do not retry Scan() on a timer, and do not call Scan() from IBleDelegate.OnAdapterStateChanged — all three now race Shiny's own replay and will throw There is already an existing scan. Applies to iOS, tvOS, Mac Catalyst and macOS; Android and Windows never had the problem.
12a. Native platform objects go through GetNativeObject(): bleManager.GetNativeObject() / peripheral.GetNativeObject() (or GetNativeObject<CBPeripheral>() etc.) return the platform object behind INativeBleManager / INativePeripheral, or null on Blazor WebAssembly. Manager: CBCentralManager on Apple (null until Bluetooth is first used - reading it never creates the manager), BluetoothManager on Android, the selected BluetoothAdapter on Windows (null until a radio is resolved), the BlueZ adapter object path string on Linux. Peripheral: CBPeripheral, BluetoothDevice, BluetoothLEDevice (null once the connection is cancelled), the BlueZ device object path string on Linux. Prefer this over casting to the platform BleManager/Peripheral class in shared code. To wait for the manager's object, subscribe to bleManager.WhenNativeObjectLoaded() - it emits the object straight away if it exists, then when the platform creates it (first Bluetooth use on Apple/Linux, each radio selection on Windows), completes immediately on Blazor, and never creates it itself. Never force creation just to read it (e.g. reading Apple's Manager) - that raises the Bluetooth permission prompt at the inspector's moment instead of the app's. Never generate SetNativeObjectAsync (or the platform SetManager / SetNative / SetAdapterAsync / SetConnection) unless the user explicitly asks to supply their own native manager - it is an experts-only escape hatch: it must run before Bluetooth is first used (it throws InvalidOperationException after), Shiny becomes the CBCentralManager delegate, an Apple central created without a restore identifier loses background restoration, and a Linux DBusConnection must already be connected (Shiny won't dispose it). When asked, emit it with a comment repeating that warning. The raw INativeBleManager.NativeObjectLoaded event never fires on Android (the object exists from construction), so hook the event before reading NativeObject or use the observable. The typed platform properties remain for platform code: Native/Gatt (Android), Manager/Native (Apple - note Manager creates the central), SelectedRadio/SelectedAdapter/Watcher/Native/DeviceInfo (Windows), Connection/AdapterObjectPath/ObjectPath (Linux). Never drive GATT through the native object while Shiny owns the peripheral - Apple's CBPeripheral.Delegate and Android's BluetoothGattCallback are Shiny's.
GetService, GetCharacteristic) triggers discovery. That discovery runs once per peripheral and is shared by every concurrent caller. The caller owns the timeout - apply it with Rx (.Timeout(...)) or a cancellation token; when the last caller waiting on the discovery times out or cancels, the discovery is torn down, and the next operation starts a new one. With no timeout of your own, discovery gives up after 30 seconds (not configurable). So the timeout on the first operation after connecting must leave room for discovery: a peripheral that takes 5 s to discover never answers a 5 s read. Either give that first operation a longer timeout or await GetServiceAsync once after connecting. Prefer GetService(uuid) / GetCharacteristic(service, uuid) (served from the discovered list) over GetServices() / GetAllCharacteristics(), which force a fresh discovery and cache refresh. If the discovered list comes back empty (seen right after a reconnect), a service lookup rediscovers once before throwing No service found. A disconnect during discovery fails every waiting operation with BleException, the same as any other in-flight GATT operation.A single write or notification carries at most peripheral.Mtu bytes - 20 until a larger MTU is negotiated. When a
command, reply or event can be longer (JSON, a certificate, a scan result) and the peripheral is a
Shiny.BluetoothLE.Hosting service using NotifyMessage and a BleMessageReassembler, use the
message helpers (MessageExtensions). Do not hand-roll a chunking protocol, and do not use WriteCharacteristicBlob
for this - the blob write has no message boundaries.
using Shiny.BluetoothLE;
// subscribe FIRST - a request/response reply travels as notifications to a subscribed central
using var sub = peripheral
.NotifyCharacteristicMessages(serviceUuid, commandUuid, maxMessageBytes: 64 * 1024)
.Subscribe(message => this.OnReply(message)); // one emission per complete message
await peripheral.WriteCharacteristicMessageAsync(
serviceUuid,
commandUuid,
JsonSerializer.SerializeToUtf8Bytes(command, AppJsonContext.Default.Command),
withResponse: true, // default; each fragment is written with response
cancellationToken: ct,
timeoutMs: 3000 // per fragment, not for the whole message
);
WriteCharacteristicMessageAsync splits the message with BleMessageFraming - one header byte per fragment: bit 7
START, bit 6 END, bits 0-5 sequence - sized from peripheral.Mtu, and writes the fragments in order. Messages to the
same characteristic on the same peripheral are serialised, so concurrent callers never interleave.NotifyCharacteristicMessages is cold; each subscription subscribes to the characteristic and gets its own
BleMessageReassembler. A message with a dropped or reordered fragment, or over maxMessageBytes (default 64 KB),
is discarded and the stream carries on with the next one - it does not error.timeoutMs above how long that handler takes.WriteCharacteristicAsync / NotifyCharacteristic
on the same framed characteristic.BleMessageFraming.Encode(message, mtu) and BleMessageReassembler.Push(fragment, out message) are public in
Shiny.BluetoothLE.Common for the rare case of framing over some other transport - one reassembler per link and
direction, never shared.
Some platforms support L2CAP Connection-Oriented Channels for streaming data without going through GATT. This is exposed as an optional capability — ICanL2Cap — on the platform Peripheral types.
using Shiny.BluetoothLE;
if (peripheral.IsL2CapAvailable())
{
// Backend supports L2CAP
}
// Safe variant — returns an empty observable on unsupported platforms
peripheral
.TryOpenL2CapChannel(psm: 0x0083, secure: false)
.Subscribe(channel => { /* ... */ });
// Direct access when the cast succeeds
if (peripheral is ICanL2Cap l2cap)
{
l2cap.OpenL2CapChannel(psm: 0x0083, secure: false).Subscribe(channel =>
{
// channel.Psm — the PSM the channel was opened on
// channel.Identifier — the remote peer identifier
// channel.DataReceived — IObservable<byte[]> of incoming bytes
// channel.Write(bytes) — IObservable<Unit> that completes when bytes are queued
});
}
L2CapChannel implements IDisposable — dispose it to close the underlying streams (Apple) or socket (Android).
using System.Reactive.Threading.Tasks;
channel.DataReceived.Subscribe(
payload => Console.WriteLine($"<- {payload.Length} bytes"),
ex => Console.WriteLine($"Channel error: {ex.Message}"),
() => Console.WriteLine("Remote closed the channel")
);
await channel.Write(payload).ToTask();
DataReceived is hot, emits right-sized byte arrays per read, completes on remote close, and surfaces I/O errors via OnError.
CBPeripheral.OpenL2CapChannel. The secure flag is ignored — security is set by how the peripheral published the channel.BluetoothDevice.CreateL2capChannel / CreateInsecureL2capChannel. Requires API 29+. Throws InvalidOperationException on older versions.IsL2CapAvailable() returns false).Prefer these over hand-rolling a protocol on DataReceived/Write. The peripheral must be serving
with IBleHostingManager.OpenL2CapFileServer(...) (or its own ReadFileRequest loop) — see the
shiny-ble-hosting skill.
The one-liners on IPeripheral open a channel, run the transfer, and close it again:
using Shiny.BluetoothLE;
var result = await peripheral.UploadFile(
psm: 0x0083,
localFilePath: "/path/to/file.bin",
remoteFileName: "file.bin", // optional, defaults to the local file name
secure: false,
onProgress: p => Console.WriteLine(
$"{p.PercentComplete:P0} ({p.BytesTransferred}/{p.BytesToTransfer}) " +
$"{p.BytesPerSecond / 1024} KB/s, ETA {p.EstimatedTimeRemaining}"
),
cancellationToken: ct
);
// result.BytesTransferred / result.Elapsed / result.BytesPerSecond (average for the whole transfer)
await peripheral.DownloadFile(
psm: 0x0083,
remoteFileName: "firmware.bin",
localFilePath: "/local/firmware.bin",
onProgress: p => Console.WriteLine($"{p.PercentComplete:P0}")
);
Rx flavours emit progress and complete when the transfer finishes — disposing the subscription cancels it:
peripheral
.DownloadFileWithProgress(0x0083, "firmware.bin", "/local/firmware.bin")
.Subscribe(p => this.Percent = p.PercentComplete);
To move several files over one channel, open it yourself and use the L2CapChannel extensions:
using var channel = await peripheral.OpenL2CapChannelAsync(psm: 0x0083, secure: false);
await channel.UploadFile("/path/a.bin", onProgress: OnProgress);
await channel.DownloadFile("b.bin", "/local/b.bin", onProgress: OnProgress);
Tuning is via L2CapTransferOptions (BufferSize, ProgressInterval, IdleTimeout).
Streamchannel.AsStream() returns an L2CapChannelStream - a System.IO.Stream over the channel for CopyToAsync,
serializers, hashes, decoders:
using var channel = await peripheral.OpenL2CapChannelAsync(psm, secure: false, cancellationToken: ct);
await using var stream = channel.AsStream(); // disposing it closes the channel unless leaveOpen: true
await using var file = File.Create(localPath);
await stream.CopyToAsync(file, ct); // ends when the peer closes the channel
Async only - synchronous Read/Write throw NotSupportedException, and it is not seekable. Create it as soon as the
channel opens: it subscribes to DataReceived on construction, and bytes that arrive before that are lost. Writes
over MaxWriteSize (default 4096) are split. It shares the buffered reader the file-transfer helpers use, so it can
take turns with UploadFile/DownloadFile on one channel.
OpenL2CapTicketChannel)A host running L2CapTicketBroker (see the shiny-ble-hosting skill) listens on one PSM for every transfer.
It hands out a PSM and a single-use 32-character token over some authenticated route - typically the reply to a GATT
command - and the channel has to present that token before it carries anything:
var (psm, token) = ParseCaptureReply(reply); // however your GATT command returns them
await using var stream = await peripheral.OpenL2CapTicketChannel(
psm,
token,
secure: true, // default - must match the broker's L2CapTicketBrokerOptions.Secure (default true)
maxWriteSize: 4096,
cancellationToken: ct
);
await using var file = File.Create(localPath);
await stream.CopyToAsync(file, ct); // the host closes the channel when its handler returns
"SL2T" [version] [length] [token] answered by
"SL2T" [version] [status] (L2CapTickets).L2CapTicketException - Status is UnknownTicket (expired or never issued: request the transfer
again), AlreadyClaimed, VersionMismatch, Malformed or Busy - and the channel is already closed.NotSupportedException where the platform has no L2CAP.With a channel you opened yourself, channel.ClaimTicket(token, maxWriteSize, timeout, ct) does the same handshake
(20 second default timeout) and returns the stream; on failure it disposes the channel.
Progress metrics are TransferProgress — identical in shape to Shiny.Net.Http.TransferProgress:
PercentComplete, BytesPerSecond, BytesTransferred, BytesToTransfer, EstimatedTimeRemaining,
IsDeterministic. Because the peer agrees the exact byte count up front, percent complete and ETA are
always real (never -1) on both ends. Emissions fire on ProgressInterval (default 2s) plus a final
100% emission carrying the average throughput.
Failures: a refusal from the peer surfaces as L2CapTransferException with an Error code
(NotFound, NotPermitted, TooLarge, IoError, ProtocolError, Cancelled). Refusals leave the
channel usable for the next request; a transfer that dies mid-body does not — close the channel and
open a new one. A failed download never leaves a partial local file behind.
Raw streaming: channel.SendFile(...) is the protocol-less primitive — it just pushes bytes with
progress and no handshake, so the receiver must already know the length and framing. Use UploadFile
unless you are talking to a non-Shiny peer.
Stream overload exists for non-file sources. Pass totalBytes to enable percent / ETA; pass null and IsDeterministic will be false, PercentComplete returns -1, EstimatedTimeRemaining returns TimeSpan.Zero.IPeripheral: Both Shiny.BluetoothLE and Shiny.BluetoothLE.Hosting define an IPeripheral interface. If both packages are referenced, do NOT add Shiny.BluetoothLE.Hosting as a global using. Use file-level using or FQN (Shiny.BluetoothLE.IPeripheral) to disambiguate.DeviceInfo: Shiny.BluetoothLE has a DeviceInfo class that conflicts with Microsoft.Maui.Devices.DeviceInfo in MAUI apps. Use FQN when needed.ScanConfig with ServiceUuids to filter scans, especially on iOS where background scanning requires a service UUID filter.AndroidScanConfig for scan mode and batching options.AndroidConnectionConfig for connection priority settings.CharacteristicProperties before attempting read/write/notify operations using the convenience extensions (CanRead(), CanWrite(), CanNotify(), etc.).WriteCharacteristicBlob() for writing large data streams that exceed MTU size -- it already chunks to peripheral.Mtu (the payload size), so do not pre-chunk.WriteCharacteristicMessageAsync() / NotifyCharacteristicMessages() when the peripheral needs to know where a message ends (a framed Shiny hosting characteristic) -- never mix them with plain writes/notifications on the same characteristic.withResponse: false) on Apple already wait on CoreBluetooth's flow control (CanSendWriteWithoutResponse / peripheralIsReadyToSendWriteWithoutResponse) -- never add Task.Delay pacing between writes or poll CanSendWriteWithoutResponse yourself; just await each write in turn. The wait runs in a per-peripheral lane outside the shared GATT operation queue, so a stalled peripheral never blocks reads or notifications. If CoreBluetooth is not ready within 5 seconds the write fails with a BleException (not configurable - dispose/cancel sooner for a shorter limit); disposing the subscription before the value is handed to CoreBluetooth cancels the write.NotifyCharacteristic() for real-time data streaming from a peripheral -- it handles subscription lifecycle and auto-reconnection.WhenConnected() and WhenDisconnected() convenience extensions for cleaner connection state handling.bleManager.GetKnownPeripheral(peripheral.Uuid) returns a peripheral from a saved Uuid with no scan (Apple asks
CoreBluetooth; Android builds it from the MAC address encoded in the id). On Android, an address that came from
outside Shiny (e.g. CompanionDeviceManager) converts with Peripheral.GetUuidFromAddress("AA:BB:CC:DD:EE:FF"). For
accessories picked through the system pairing sheet use Shiny.BluetoothLE.AccessorySetup and
bleManager.GetPeripheral(accessory).
What SKILL.md sets; muted values are Claude Code's defaults
57 skills in this plugin
/localizegenGenerate strongly-typed localization classes from .resx resource files using Shiny.Extensions.Localization.Generator for .NET applications/shiny-accessorysetupGenerate code using Shiny.BluetoothLE.AccessorySetup - the system accessory pairing sheet for BLE devices (AccessorySetupKit on iOS 18+, CompanionDeviceManager on Android) with no MFi, no location prompt and no general Bluetooth prompt on iOS; picked accessories open as Shiny.BluetoothLE peripherals, and Android adds background presence (device appeared / disappeared) events/shiny-actorsGenerate code using Shiny.Actors — Orleans-style virtual actors without the ceremony, AOT/trim-clean, running anywhere .NET runs including .NET MAUI and Blazor WebAssembly. Covers actor interfaces and source-generated proxies, the ShinyActorBuilder (AddShinyActors), persistent state with ETags, named states and auto-save, event-sourced JournaledActor with snapshots, state and event migrations, typed streams (durable, implicit consumers), timers and persistent reminders (background jobs via Shiny.Jobs, on-time OS notifications via Shiny.Notifications), concurrency control ([Reentrant], [AlwaysInterleave], [ReadOnly], [StatelessWorker]), call filters and request context, OpenTelemetry traces and metrics, remoting over HTTP (Shiny.Net.HttpServer server, RemoteActorSystem client), mDNS discovery of actor servers, Shiny.DocumentDb storage (SQLite, PostgreSQL, IndexedDB...), and the ActorTestHost testing kit./shiny-agesignalsGenerate code using Shiny.AgeSignals to read the user's age range as the app store shares it - Apple Declared Age Range (iOS / macOS 26+) and Google Play Age Signals (Android) - for app store accountability laws (Texas SB 2420, Utah, Louisiana, California AB 1043) and age-gated features/shiny-aiconversationGenerate code for Shiny.AiConversation v3 - session-based AI conversations for .NET over Microsoft.Extensions.AI with persisted, resumable sessions (IAiSessionManager / IAiSession / IAiTurn), streaming replies, the built-in ask_user tool for typed questions and multiple-choice answers, interruption and supersession, usage and context-window pressure tracking, rolling context compaction, silent assistant memory, conversation search, session titles and long-term memory, session interceptors for tools and prompts, pluggable session/memory stores (in-memory or SQLite via Shiny.AiConversation.Stores.SqliteDocDb), and voice conversations via Shiny.AiConversation.Voice (wake word, push-to-talk, follow-up, quiet-word/barge-in interruption, sentence-streamed text-to-speech over Shiny.Speech, acknowledgement modes, sounds, voice selection tools), the MAUI chat UI via Shiny.AiConversation.Maui (AiChatView bound to a session with streaming bubbles, choice chips, push-to-talk and an AiMemoryView), image attachments with retention, and the use_camera tool via Shiny.AiConversation.Maui.Camera, and AG-UI via Shiny.AiConversation.AgUi (a session as an AG-UI event stream for the Shiny AgentView with ask_user questions as interrupts, the render_ui tool for A2UI surfaces, and a remote AG-UI agent as the chat client)/shiny-appdevicebridgeGenerate code using Shiny.AppDeviceBridge, device bridges on your app's own Shiny.Net.HttpServer that also host a web app (Blazor WebAssembly, React, Vue, any static build) inside a .NET MAUI app on Android, iOS, Mac Catalyst, Windows and the maui-labs macOS and Linux heads — served from a loopback HTTP server, updated over the air from a signed release server, GitHub releases or a provider of your own, and given device access through bridges with typed C# and TypeScript clientsnpx claudepluginhub shinyorg/skills --plugin shinyOther plugins' skills for the same job