Test local kerncap changes end-to-end by profiling an application, extracting a kernel, and validating the reproducer.
intellikit-skill-5/SKILL.md
---
name: test-kerncap
description: Test local kerncap changes end-to-end by profiling an application, extracting a kernel, and validating the reproducer. Use when the user asks to test kerncap against any HIP or Triton workload, or wants to validate extraction on a real GPU application.
---
# Test kerncap Against an Application
Test local kerncap changes end-to-end by extracting and validating a kernel from any application.
## Parameters
| Parameter | Required | Description |
|-----------|----------|-------------|
| `app_cmd` | **Yes** | Full command to run the application (binary + arguments), e.g. `$WORK/dev/llama.cpp/build/bin/llama-bench -m model.gguf -p 512 -n 32` |
| `conda_env` | No | Conda environment to activate before running commands (e.g. `llama_cpp`). If not provided, use the current environment. |
| `kernel_name` | No | Name of the kernel to extract (e.g. `mul_mat_q`). If not provided, profile the application first and select the top kernel by execution time. |
## Paths
| Item | Path |
|------|------|
| kerncap source | `kerncap/` (relative to IntelliKit repo root) |
| Output directory | `/tmp/kerncap-test/<kernel_name>` |
## Environment Setup… load the full skill through Skill MeIn any connected conversation, say:
Install the Test Kerncap skill
If full content is available, it applies in this conversation and stays installed for future sessions.
Not connected yet? It takes about a minute.
Connect your AIOr add it to a project with the CLI
npx @skillme/cli add intellikit-skill-5MCP endpoint
https://skillme.dev/api/mcpUse it across a team
Pin this skill in a team library and every member's AI loads this exact version until an admin updates it.
How Teams works