CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

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

91%

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 body: clean five-step workflow with explicit validation and error-recovery loops, conditionally-loaded one-level-deep references that all exist, and concrete API-level guidance backed by a real template and script. The main improvement opportunities are a runnable smoke-test example and trimming a few soft advisory steps.

Suggestions

Inline a minimal executable smoke test in Step 5.3 (create context, build a trivial graph, write/dispatch/read one tensor) instead of describing it abstractly, since that is the one step with no concrete code anywhere in the skill.

Trim or merge advisory filler such as the data-handling step (4.6) and the device-intent restatement (4.4), which restate guidance already covered in Step 2.

DimensionReasoningScore

Conciseness

The body is a lean procedural document with no explanation of concepts Claude already knows — every step is decision guidance or a concrete command. A few soft spots could be trimmed, e.g., "Keep all user data handling consistent with the product's local-processing promises and privacy requirements" and "Present device choice as an intent, not a promise that every operator will execute on that device" largely restating step 2.8. That keeps it at anchor 4 rather than 5; it is well above anchor 3 since there is no real over-explanation.

4 / 5

Actionability

Mostly executable: exact commands ("node scripts/find-webnn-targets.mjs ."), exact ordered API calls ("context.writeTensor()", "context.dispatch()", "await context.readTensor()"), concrete option values ("powerPreference: 'high-performance'", "accelerated: false"), and pointers to a verified, complete, copy-paste-ready template (assets/webnn-runtime.template.ts) and working script. Not scored 5 because the Step 5.3 smoke test is described abstractly rather than given as runnable code, and the body contains no inline minimal example; not scored 3 because the guidance plus the real bundle files is directly executable.

4 / 5

Workflow Clarity

Five clearly sequenced steps with a dedicated validation phase (Step 5: re-run the targets script, verify secure-context/navigator.ml detection first, smoke test the graph, test fallback when accelerated context fails, run build/typecheck/tests) and an Error Handling section with recovery loops (e.g., "If context.lost resolves, treat the current context, graph, and tensors as invalid and recreate them"). This matches the anchor-5 pattern of explicit validation plus error-recovery feedback loops.

5 / 5

Progressive Disclosure

The body is a lean overview and every referenced bundle file exists and is exactly one level deep: references/webnn-reference.md, references/examples.md, references/compatibility.md, references/troubleshooting.md, scripts/find-webnn-targets.mjs, and assets/webnn-runtime.template.ts. References are conditionally signaled with load-on-demand triggers ("Read references/compatibility.md when native support, preview flags, device behavior, or backend differences matter"), matching the anchor-5 navigation pattern.

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, third-person, comprehensive on capability and trigger terms, with an explicit use-when clause and a negative boundary. The only notable gap is the absence of the "WebNN" abbreviation, which is the term users most commonly type.

Suggestions

Include the abbreviation "WebNN" alongside the expanded name (e.g., "browser WebNN (Web Neural Network API) integrations") so users who type or say "WebNN" trigger the skill naturally.

DimensionReasoningScore

Specificity

The description lists multiple concrete API-level actions — "adding navigator.ml checks, MLContext creation, MLGraphBuilder flows, device selection, tensor dispatch and readback, or explicit fallback paths to ONNX Runtime Web" — in third-person voice ("Implements and debugs"), comprehensively covering the integration surface. Coverage goes beyond the anchor-4 "minor gaps" level, so it is not scored 4.

5 / 5

Completeness

It explicitly answers both questions: the "what" is "Implements and debugs browser Web Neural Network API integrations in JavaScript or TypeScript web apps", and the "when" is a concrete "Use when adding navigator.ml checks, MLContext creation, MLGraphBuilder flows…" clause, plus a negative boundary ("Don't use for model training, server-side ML inference, or cloud AI APIs"). This matches the anchor-5 example pattern exactly.

5 / 5

Trigger Term Quality

Good natural keyword coverage ("navigator.ml", "MLContext", "MLGraphBuilder", "tensor", "ONNX Runtime Web", "JavaScript or TypeScript", "device selection", "fallback"), but the most common synonym users actually type — "WebNN" — appears only in the expanded form "Web Neural Network API". That missing abbreviation keeps it below the anchor-5 "comprehensive coverage including synonyms" level.

4 / 5

Distinctiveness Conflict Risk

Clear niche (browser-side WebNN API integration) with distinct API-name triggers, and the explicit "Don't use for" boundary separates it from adjacent skills (training, server-side inference, cloud AI APIs). Minimal conflict risk; not scored 4 because the overlap with general web-ML skills is explicitly fenced off.

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

Path

skills/webnn/SKILL.md

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.