CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

coreml

Integrates and profiles Core ML models for on-device inference. Use for mlmodel/mlpackage loading, generated or feature-provider predictions, compute-unit selection, MLTensor, Vision integration, MLComputePlan, model pipelines, deployment, or performance analysis.

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

78%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 overview skill: lean, sequence-aware, with executable code for the core paths and an exemplary one-level-deep reference bundle. The main improvements are deduplicating the repeated guidance across Common Mistakes and the Review Checklist, adding a code sample for the Vision pipeline, and including error-recovery guidance.

Suggestions

Add a short executable snippet for the Vision pipeline (CoreMLRequest / VNCoreMLRequest) in the Vision Integration section, since image input is the most common Core ML case but currently has no code.

Trim repetition between Loading Models, Common Mistakes, and the Review Checklist — recompile-persistence and actor-caching guidance each appear three times; consolidate into one canonical statement plus the checklist.

Add an error-recovery/validation step for fragile operations, e.g. handling MLModel.compileModel or prediction failures (what to check and retry), to strengthen the workflow's feedback loop.

DimensionReasoningScore

Conciseness

The body is efficient and focused on non-obvious domain knowledge ("prediction(...) is synchronous... dispatch synchronous predictions from an actor", compute-unit tradeoffs, MLState serialization) rather than re-teaching basics, with tight tables and short snippets. It is not 5 because several points are repeated across sections — recompiling persistence appears in Loading Models, Common Mistakes, and the Review Checklist, and actor-based caching likewise appears three times — which is redundancy that could be trimmed.

4 / 5

Actionability

The loading, prediction, and MLTensor sections give concrete executable Swift code with real API calls ("try await MLModel.load(contentsOf: url, configuration: config)", "model.predictions(fromBatch: batch)"). It falls short of 5 because the Vision Integration section — arguably the most common image-input path — only names APIs ("CoreMLRequest", "VNCoreMLModel(for: model)") without any code, and the Performance section is guidance-only.

4 / 5

Workflow Clarity

Sections follow a coherent load → configure → predict → profile sequence, and the Review Checklist provides explicit post-hoc verification checkpoints ("Model loaded asynchronously without stalling the main thread", "MLComputePlan inspected..."). Not 5 because there are no validate-then-fix feedback loops (e.g., error handling for failed compilations or predictions); not 3 because checkpoints are present and explicit rather than merely implied.

4 / 5

Progressive Disclosure

The body is a well-organized overview (~130 lines) that keeps core patterns inline and delegates deeper material via one clearly-signaled, one-level-deep reference — "Actor-based caching, MLBatchProvider, and MLComputePlan recipes: [references/coreml-swift-integration.md]" — which is a real 794-line file with its own table of contents. Navigation is easy (Contents list, descriptive reference labels), matching the 5 anchor; it is not 4 because there are no organization gaps or buried references.

5 / 5

Total

17

/

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: third-person, concise, with an explicit "Use for..." trigger clause listing concrete framework-specific capabilities and file extensions. The only notable gap is the absence of common user synonyms such as "Neural Engine"/"ANE" among the trigger terms.

DimensionReasoningScore

Specificity

The description lists multiple concrete capabilities — "mlmodel/mlpackage loading, generated or feature-provider predictions, compute-unit selection, MLTensor, Vision integration, MLComputePlan" — giving comprehensive coverage of the domain's actions rather than just naming the domain. It clearly matches the 5 anchor (multiple specific concrete actions, comprehensive) and exceeds 4 ("minor gaps in coverage") since the capability list spans loading, inference, configuration, profiling, and deployment.

5 / 5

Completeness

Explicitly answers both questions: "Integrates and profiles Core ML models for on-device inference" (what, third person) and "Use for mlmodel/mlpackage loading, ... or performance analysis" (when, with concrete trigger phrases). This matches the 5 anchor exactly; it is above 4 because the when-clause is specific and trigger-rich rather than generic.

5 / 5

Trigger Term Quality

Good keyword coverage including file formats ("mlmodel/mlpackage"), framework names ("MLTensor", "MLComputePlan", "Vision"), and natural phrases like "on-device inference" and "performance analysis". Not 5 because a few natural terms users would commonly say are missing — notably "Neural Engine"/"ANE" (the most frequent way users describe Core ML performance questions) — which fits the 4 anchor ("good keyword coverage; a few natural terms missing").

4 / 5

Distinctiveness Conflict Risk

"Core ML" anchors every trigger to a clear niche with framework-specific terms (MLTensor, MLComputePlan, mlmodel/mlpackage) that no other skill would claim, matching the 5 anchor (clear niche, distinct triggers, minimal conflict risk). The broadest words ("deployment", "model pipelines") are qualified by the Core ML context, so overlap risk stays minimal; it does not fit the 4 anchor's "minor overlap risk with closely related skills" as well as it fits 5.

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

thienqo/ios-skills

Path

skills/coreml/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.