SkillAgentSearch skills...

compileiq-bootstrap

Use when starting a fresh CompileIQ project, hitting a hang on the first evaluation, or before running any other compileiq-* skill. Verifies CUDA 13.3+, ptxas, GPU access, that `from compileiq.ciq import Search` and friends resolve, and that `PtxasSearchSpace().retrieve()` returns a real path.

Install / Use

npx skills add NVIDIA/skills --skill compileiq-bootstrap

Installs into whichever agent you are using.

About this skill
📄

SKILL.md

Installable skill definition

Quality Score

91/100

Supported Platforms

Universal

Tags

Our assessment of compileiq-bootstrap

compileiq-bootstrap scores 91/100 on our quality scale, 351st of 1,141 Content & Media skills we index (top 31%).

Its SKILL.md is 5.3 KB long, well organised into 11 sections with 5 code examples: a solid amount of guidance for an agent.

With 3,421 GitHub stars, it is one of the more widely adopted skills in the catalogue.

Substance
26/30
Structure
20/20
Description
15/15
Adoption
15/20
Freshness
15/15

Maintenance, license and trust

  • The repository was last updated about 2 months ago, so compileiq-bootstrap is actively maintained.
  • It is released under the Apache-2.0 license, a permissive license that allows use, modification and commercial use with attribution.
  • Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

Safety scan

No issues found

Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands.

Automated pattern scan on 2026-11-27. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.

compileiq-bootstrap compared with similar skills

All 4 of these similar skills score higher than compileiq-bootstrap; compare them before choosing.

SkillScoreStarsUpdatedFormat
compileiq-bootstrap (this skill)by NVIDIA913.4k2mo agoSKILL.md
siyuanby siyuan-note10047.4ktodayMCP Server
algorithmic-artby anthropics100177.9k2mo agoSKILL.md
pptxby anthropics100177.9k2mo agoSKILL.md
prospectingby coreyhaines3110062.2k8d agoSKILL.md

Frequently asked questions

How do I install compileiq-bootstrap?
Run npx skills add NVIDIA/skills --skill compileiq-bootstrap. The install tabs above show the steps for each supported agent.
Which AI agents does compileiq-bootstrap work with?
It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
Is compileiq-bootstrap safe to use?
Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. It is Apache-2.0-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is compileiq-bootstrap still maintained?
The repository was last updated about 2 months ago, so compileiq-bootstrap is actively maintained.

name: compileiq-bootstrap description: > Use when starting a fresh CompileIQ project, hitting a hang on the first evaluation, or before running any other compileiq-* skill. Verifies CUDA 13.3+, ptxas, GPU access, that from compileiq.ciq import Search and friends resolve, and that PtxasSearchSpace().retrieve() returns a real path. Documents the env vars that control timeouts, caching, and search-space mirroring. Triggers on "set up compileiq", "compileiq doesn't work", "first eval hangs", "where do search spaces come from", "air-gapped compileiq". when_to_use: |

  • First time a user opens a CompileIQ project.
  • Search() hangs on its first evaluation (almost always a non-BLAS cause now).
  • Before invoking any other compileiq-* skill in this session. Don't use when: the env is already validated in this session. license: CC-BY-4.0 AND Apache-2.0 metadata: version: "1.2.0" author: CompileIQ Team compileiq@nvidia.com domain: compiler-optimization tags: [compileiq, cuda, ptxas, compiler-optimization, autotuning] allowed-tools: Bash Read paths: ["/*.py", "/.cu", "**/.acf", "/*.yaml", "/*.yml"]

compileiq-bootstrap

Validate that a host can run CompileIQ. No installation of system libraries (that's distro-specific and out of scope). No state files. Just a checklist that either passes or prints the precise next fix.

When

  • First-time setup on a new host or container.
  • Search().start() hangs on the first evaluation.
  • After upgrading CUDA, the compileiq wheel, or the Python venv.

Steps

1. CUDA toolkit 13.3+

CompileIQ's --apply-controls mechanism requires CUDA 13.3 or later (see examples/compilers/nvbench_example/optimize_reduction.py).

nvcc --version | grep -E "release (13\.([3-9]|[1-9][0-9])|(1[4-9]|[2-9][0-9])\.[0-9]+)"
ptxas --version | grep -E "V(13\.([3-9]|[1-9][0-9])|(1[4-9]|[2-9][0-9])\.[0-9]+)"

If either command exits non-zero, install or upgrade the CUDA toolkit and put /usr/local/cuda/bin on PATH and /usr/local/cuda/lib64 on LD_LIBRARY_PATH.

2. GPU is visible

nvidia-smi --query-gpu=name,compute_cap --format=csv

CompileIQ targets compute capability 9.0 (Hopper / H100) and 10.0 (Blackwell / B200) most aggressively, but works on any GPU PTXAS supports for the chosen arch.

3. CompileIQ imports resolve

One shot that covers everything callers will need:

python -c "
from compileiq.ciq import Search
from compileiq.types import INVALID_SCORE, BASELINE_CONFIG, WorkerTypes, ProblemType, SearchConfiguration
from compileiq.search_spaces.compilers import PtxasSearchSpace, NvccSearchSpace, LocalSearchSpaceBin
from compileiq.utils.helpers import save_compiler_config, load_compiler_config
from compileiq.worker import MultiProcessWorker, IsoMultiProcessWorker, RayWorker, AsyncWorker
print('imports OK')
"

If this fails, run pip install compileiq (or pip install -e . from a source checkout) and re-run.

4. Search-space resolution round-trip

This catches network or air-gapped issues that otherwise surface as hangs deep inside the first evaluation:

python -c "
from compileiq.search_spaces.compilers import PtxasSearchSpace
p = PtxasSearchSpace().retrieve()
assert p.exists() and p.stat().st_size > 0, p
print(f'resolved: {p}')
"

The first run downloads from GitHub releases and caches under ~/.cache/compileiq/<tag>/. Subsequent runs hit the cache.

5. Env vars to know

| Variable | Default | What it controls | |---|---|---| | CIQ_KEEP_CACHE | unset (0) | Set to 1/true/yes to keep .cache files after a run for post-mortem replay. | | CIQ_PROCESS_MODE | forkserver | forkserver, fork, or spawn. Switch to spawn if forkserver fails on a constrained host. IsoMultiProcessWorker defaults to fork regardless. | | CIQ_SEARCH_SPACES_DIR | unset | Path to a local mirror containing manifest.json plus the referenced .bin files. Set this on air-gapped hosts to skip network. | | CIQ_SEARCH_SPACES_REPO | NVIDIA/CompileIQ | Override the GitHub repo that release-backed search-space resolution queries. Useful for staging or forks. | | CIQ_SS_TAG_PREFIX | search-spaces- | Tag prefix the resolver uses when tag="latest". Rarely needs changing. | | CIQ_SS_LATEST_TTL_DAYS | 7 | Days to cache the tag that latest resolved to before re-checking GitHub. 0 re-resolves every run. |

Self-test

bash scripts/check_env.sh

Exits 0 if every step passes. Exits with a non-zero count of failures and prints, for each failure, the precise command the user should run next.

Gotchas

  • If the first eval hangs:
    1. Mirror search spaces locally and set CIQ_SEARCH_SPACES_DIR=/path/to/mirror.
    2. If still hangs, switch process mode: CIQ_PROCESS_MODE=spawn.
  • Don't install system libraries in this skill. Distro-specific package installs need root and break in containers and on shared clusters. If nvcc, ptxas, or a Python interpreter is missing, surface the error and let the user decide how to install.

Next

  • For attention workloads: compileiq-search-space (variant="att" by default).
  • Before paying for a full search: try compileiq-booster-pack.
  • Writing an objective function: compileiq-author-objective.

Related Skills

View on GitHub
GitHub Stars3.4k
CategoryContent
Updated2mo ago
Forks412

Languages

Python

Trust signals

100/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

No cautions