webnn

Community

Accelerate in-browser ML.

Authorwebmaxru
Version1.0.0
Installs0

System Documentation

What problem does it solve?

WebNN enables in-browser machine learning with local acceleration, reducing reliance on server-side inference and enabling private, offline-capable ML in web apps.

Core Features & Use Cases

  • Detects WebNN support and creates a secure MLContext with configurable power and acceleration preferences.
  • Provides a guided integration path including tensor creation, write/read, graph building, dispatch, and context loss handling.
  • Use Case: Add in-browser ML to a web app to run models locally, fallback to non-WebNN runtimes when unavailable, and debug integration issues.

Quick Start

Detect WebNN support and initialize a context with a simple graph to validate the setup.

Dependency Matrix

Required Modules

None required

Components

scriptsreferencesassets

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: webnn
Download link: https://github.com/webmaxru/agent-skills/archive/main.zip#webnn

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.