optimize-for-gpu
Pass
Audited by Gen Agent Trust Hub on Sep 2, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill provides instructions for installing necessary dependencies from NVIDIA's official PyPI repository index (
https://pypi.nvidia.com). This is a well-known service provided by a trusted technology organization. - [COMMAND_EXECUTION]: The documentation contains shell commands for environment configuration (
uv add), performance profiling (nsys,ncu), and executing script accelerators (python -m cudf.pandas). These commands are standard for the intended GPU optimization workflow. - [DYNAMIC_EXECUTION]: The skill covers libraries that leverage Just-In-Time (JIT) compilation and runtime kernel assembly to achieve performance, including Numba's
@cuda.jit, Warp's@wp.kernel, and CuPy'sRawKernel. These patterns are essential and standard for scientific computing on GPU hardware. - [INDIRECT_PROMPT_INJECTION]: The skill establishes an operational surface for processing user-supplied Python scripts and data structures for optimization.
- Ingestion points: User-provided numerical code, matrices, and dataframes (e.g., NumPy, pandas, scikit-learn scripts).
- Boundary markers: None explicitly defined; the instructions emphasize numerical correctness verification against CPU baselines as a functional safeguard.
- Capability inventory: The agent can modify local files and execute shell commands for library management and performance analysis.
- Sanitization: The instructions focus on algorithmic equivalence and numerical tolerance but do not implement specific prompts to isolate untrusted user inputs.
Audit Metadata