CtrlK
BlogDocsLog inGet started
Tessl Logo

webnn

Implements and debugs browser Web Neural Network API integrations in JavaScript or TypeScript web apps. Use when adding navigator.ml checks, MLContext creation, MLGraphBuilder flows, device selection, tensor dispatch and readback, or explicit fallback paths to ONNX Runtime Web or other local runtimes. Don't use for model training, server-side ML inference, or cloud AI APIs.

72

Quality

88%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

85%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A well-structured procedural skill: clear sequencing with real validation and feedback loops, condition-signaled references that match the actual bundle, and concrete API-level guidance. The two modest gaps are slight redundancy across steps and a smoke test that is described rather than provided as runnable code.

Suggestions

Consolidate the repeated "preference, not guarantee" guidance (Step 2.8 vs Step 4.4) and the repeated compatibility.md signals into one location each.

Add a short runnable smoke-test snippet (or point to a concrete example in references/examples.md) so the Step 5 validation path is copy-paste executable.

DimensionReasoningScore

Conciseness

The body is efficient, imperative, and free of basic-concept padding, but minor trimming is possible: Step 2 items 8 and Step 4 item 4 both restate "preference, not guarantee", and `references/compatibility.md` is re-signaled in Step 2, Step 5, and Error Handling. This fits "Efficient; minor instances of over-explanation that could be trimmed" better than the every-token-earns-its-place anchor.

4 / 5

Actionability

Concrete commands (`node scripts/find-webnn-targets.mjs .`), exact API call ordering ("`context.writeTensor()`, `context.dispatch()`, and `await context.readTensor()` in that order"), and an adaptable template (`assets/webnn-runtime.template.ts`) make most guidance executable. It falls just short of fully copy-paste ready because the Step 5 smoke test is described ("creates a context, builds a trivial graph, writes inputs, dispatches, and reads outputs") rather than given as runnable code, and no code snippet appears inline — the fully-executable anchor expects specific examples covering common cases.

4 / 5

Workflow Clarity

Five clearly sequenced procedures culminate in a dedicated validation step (Step 5: re-run the discovery script, verify detection, smoke test the graph path, test fallback, run build/typecheck/tests), with explicit feedback loops in Error Handling (retry via approved fallback, check references before rewriting, recreate context on `context.lost`) and stop-and-ask checkpoints in Step 1. This matches the explicit-validation-with-recovery anchor.

5 / 5

Progressive Disclosure

The body is a procedural overview that signals each one-level-deep bundle file by condition — "Read `references/webnn-reference.md` before writing code", `examples.md` "when choosing between a direct WebNN graph flow and an adapter", `compatibility.md` for support questions, `troubleshooting.md` on failures, plus a script and a template asset, all of which exist and none of which reference further bundle files. This matches the clear-overview, well-signaled-references anchor.

5 / 5

Total

18

/

20

Passed

Description

92%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description: concrete named capabilities, an explicit 'Use when' trigger list, and explicit exclusions that demarcate the niche. The main gap is that the widely used shorthand "WebNN" never appears in the description text itself, which is the term users most naturally say.

Suggestions

Include the term "WebNN" in the description itself (e.g., "browser WebNN (Web Neural Network API) integrations") since it is the most natural trigger phrase.

Add common synonym triggers such as "NPU" or "hardware-accelerated in-browser inference" that users may say without knowing the API name.

DimensionReasoningScore

Specificity

The description lists multiple specific concrete actions — "Implements and debugs browser Web Neural Network API integrations", "adding navigator.ml checks, MLContext creation, MLGraphBuilder flows, device selection, tensor dispatch and readback, or explicit fallback paths to ONNX Runtime Web" — with named APIs and a named fallback runtime, matching the comprehensive-coverage anchor. Third person voice is used throughout, so no voice penalty applies.

5 / 5

Completeness

Both "what" ("Implements and debugs browser Web Neural Network API integrations in JavaScript or TypeScript web apps") and "when" ("Use when adding navigator.ml checks, MLContext creation, MLGraphBuilder flows...") are explicit, plus negative triggers ("Don't use for model training, server-side ML inference, or cloud AI APIs") — matching the clearly-explicit-both anchor.

5 / 5

Trigger Term Quality

Good keyword coverage including natural trigger phrases like "navigator.ml checks", "MLContext creation", "tensor dispatch and readback", "ONNX Runtime Web", and "JavaScript or TypeScript web apps". It misses the most common shorthand users would actually say — "WebNN" itself — plus synonyms like "NPU" or "hardware-accelerated inference in the browser".

4 / 5

Distinctiveness Conflict Risk

It carves a clear niche — the browser Web Neural Network API with explicit fallback runtimes — and the negative triggers ("Don't use for model training, server-side ML inference, or cloud AI APIs") sharply reduce overlap with training, server, and cloud ML skills.

5 / 5

Total

19

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository
webmaxru/web-ai-agent-skills
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.