CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

optimize-for-gpu

GPU-accelerates scientific Python on NVIDIA hardware and verifies that the result is correct and faster. Use for CUDA/GPU optimization; CPU-bound NumPy, SciPy, pandas, scikit-learn, NetworkX, scikit-image, vector-search, image-processing, graph, simulation, or file-I/O workloads; CuPy, cuDF, cuML, cuGraph, cuVS, cuCIM, KvikIO, Warp, Newton, Numba-CUDA, or RAFT questions; and profiling, memory-transfer, kernel, or multi-GPU bottlenecks. Also use when large data-parallel Python code is slow and GPU acceleration is a plausible option, even if the user does not name CUDA.

73

Quality

92%

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-engineered orchestration body: a definitive decision table, an evidence-driven workflow with explicit validation and benchmarking gates, and exemplary progressive disclosure via the When-to-Read reference table. The main costs are a trigger list that duplicates the frontmatter description and the absence of any inline copy-paste example for the accelerator-mode fast path.

Suggestions

Trim the 'When This Skill Applies' bullet list to the triggers not already covered by the frontmatter description (much of it duplicates description keywords), reclaiming ~20 lines without losing routing information.

Add a one-line copy-paste example for the least-disruptive path, e.g. `import cudf.pandas; cudf.pandas.load_profile()` or `%load_ext cuml.accel`, since the workflow tells the agent to try accelerator modes first but never shows how.

Merge the 'Important Notes' bullets that restate workflow steps 1, 5, and 7 (baseline recording, tolerance testing, memory limits) into those steps to remove the duplication.

DimensionReasoningScore

Conciseness

The body is dense and assumes competence — decision tables, a 7-step workflow, and named pitfalls rather than concept explanations; version-sensitive notes are properly quarantined in the "legacy-only" table rather than inline date conditionals. Not a 5 because the 23-bullet "When This Skill Applies" list substantially duplicates the frontmatter description's triggers, and parts of "Important Notes" restate workflow steps 1, 5, and 7. Not a 3 because there is no concept over-explanation and nearly every section carries non-obvious guidance.

4 / 5

Actionability

Concrete throughout: a workload→library decision table with a "Use for" column, an executable benchmark snippet (`from cupyx.profiler import benchmark; print(benchmark(gpu_function, (arg1, arg2), n_warmup=10, n_repeat=100))`), and named tools (`nsys`, `ncu`, `%gpu_timeit`). Not a 5 because the most common first move — accelerator modes like `cudf.pandas` or `cuml.accel` — is named but never shown as a copy-paste-ready line, and per-library code lives entirely in the reference files. Not a 3 because the routing and benchmarking guidance is executable as written.

4 / 5

Workflow Clarity

The "Optimization Workflow" is a clearly numbered 7-step sequence with explicit validation checkpoints: step 1 defines the contract and baseline, step 5 "Validate semantics before speed" (tolerances, edge cases, NaNs, recall@k, fallback-log checks), step 6 gives correct synchronized timing methodology, and step 7 is a keep/revise/reject decision gate with a diagnosis list for failure ("problem size, transfers, unsupported fallback, memory pressure, launch granularity, or the algorithm itself"). This is a full feedback loop, matching the anchor with explicit validation and error-recovery guidance.

5 / 5

Progressive Disclosure

The body is a true overview: inline links to decision_framework/installation/code_transformation_patterns, a "Reference Files" table with a "When to Read" column routing each user scenario to one of the 14 per-library files, and all referenced paths verified to exist in references/. References are one level deep (decision_framework.md cross-links sibling files, not nested content), so navigation is easy and content is appropriately split.

5 / 5

Total

18

/

20

Passed

Description

95%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: it states what the skill does in one concrete sentence and gives exhaustive, natural trigger terms across workloads, libraries, and bottlenecks, plus an explicit catch-all clause. The only minor gap is that the action list is compact relative to the extensive trigger coverage.

DimensionReasoningScore

Specificity

Names concrete actions — "GPU-accelerates scientific Python on NVIDIA hardware and verifies that the result is correct and faster" — covering acceleration, correctness verification, and speedup verification, but does not enumerate multiple specific operations the way a comprehensive list would. Not a 3 because more than 1-2 actions are explicit; not a 5 because the remaining clauses are trigger enumerations rather than additional distinct actions.

4 / 5

Completeness

Explicitly answers both: what — "GPU-accelerates scientific Python on NVIDIA hardware and verifies that the result is correct and faster"; when — "Use for CUDA/GPU optimization; ... Also use when large data-parallel Python code is slow and GPU acceleration is a plausible option, even if the user does not name CUDA." Both are concrete and fully explicit.

5 / 5

Trigger Term Quality

Comprehensive natural-term coverage: workflow names ("NumPy, SciPy, pandas, scikit-learn, NetworkX, scikit-image, vector-search, image-processing, graph, simulation, or file-I/O"), library names ("CuPy, cuDF, cuML, cuGraph, cuVS, cuCIM, KvikIO, Warp, Newton, Numba-CUDA, or RAFT"), and bottleneck phrases ("profiling, memory-transfer, kernel, or multi-GPU") — the phrasings a user would naturally say are all present.

5 / 5

Distinctiveness Conflict Risk

Clear niche (NVIDIA CUDA acceleration of the scientific Python stack) with highly distinctive library-name triggers and explicit hardware scoping. Minor overlap with generic profiling/speed-up requests is deliberately claimed ("even if the user does not name CUDA"), but the niche and trigger set remain unmistakable, matching the minimal-conflict anchor.

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

K-Dense-AI/scientific-agent-skills

Path

skills/optimize-for-gpu/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.