Index of every page on this site: llms.txt
All skills
openvinotoolkit avatar

/python-bootstrap

@993f33e
Run it yourself

Install Python dependencies before running verification or test steps. Choose the correct path depending on whether the agent builds OpenVINO from source or not.

  • 1 file
  • 2.1 KB
  • Updated 6 months ago
  • GitHub
Use this Skill: https://skilld.dev/gh/openvinotoolkit/openvino/python-bootstrap

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈45 tokens for metadata: the name and description. ≈481 when used: this file.

Description uses 2.3% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈180 characters, or 2.3%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Skill: Python Package Bootstrap

Install packages only when they are actually needed for a step. Do not pre-install everything upfront.


Path A — No source build (core-opspec, transformation, frontend, npu)

Use this path when the agent does not compile OpenVINO from source. The openvino release wheel provides the runtime needed for tests and conversion checks.

pip install openvino optimum-intel torch \
    --extra-index-url https://download.pytorch.org/whl/cpu

For frontend agents that also need ONNX or TensorFlow:

pip install onnx onnxruntime
pip install tensorflow  # only if testing TF frontend

Path B — Source build (cpu, gpu)

Use this path when the agent builds OpenVINO from source.

Do NOT pip install openvino when a source build is present in the same environment. Installing the release wheel alongside a dev build creates two openvino packages that shadow each other, producing confusing import errors and incorrect test results.

Install only the packages that are not produced by the OV build:

pip install torch \
    --extra-index-url https://download.pytorch.org/whl/cpu
pip install optimum-intel pytest
# Do NOT add 'openvino' here — use the build output instead

After building OpenVINO, add the build's Python bindings to the path:

# Point Python at the locally built openvino package
export PYTHONPATH="<build_dir>/src/bindings/python:$PYTHONPATH"
# or install the wheel produced by the build
pip install <build_dir>/wheels/openvino-*.whl

General rules

  • Install packages on demand per step, not all at once.
  • If a package install fails, note it in agent-results/<agent>/session.md and continue — do not abort the entire pipeline over a missing optional dep.
  • Never install from untrusted or unofficial indexes beyond the PyTorch CPU wheel server listed above.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at 993f33e. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 14 hours ago.

Activeupdated 6 months ago

README badge

README badge for openvinotoolkit/openvino/python-bootstrap