Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Selects the consuming application's .venv interpreter for Python commands, tests, and pip when using ok-script.
13% 83%+70 ptsof test cases passed
Passed 19 of 23 test cases with the skill, and 3 of 23 without it.
This test ran on v1. v2 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Not used yet
Resolve the third-party application's root and use its virtual environment for Python commands, launchers, and tests. The directory containing this skill or the installed ok package is not the application root.
Honor an explicitly configured environment; otherwise prefer the application's .venv. Use an absolute interpreter path when changing directories, and preserve the application's dependency and test-runner conventions.
From the application root, resolve the interpreter:
$py = if (Test-Path .\.venv\Scripts\python.exe) { ".\.venv\Scripts\python.exe" } else { "python" }
Then run commands through that interpreter:
& $py -m py_compile src\tasks\MyTask.py
& $py -m pytest tests
& $py .\start_mcp.py
& $py -m pip install -r requirements.txt
Do not call global python, pip, or pytest directly when .venv exists. Use & $py, & $py -m pip, and & $py -m pytest instead.
If the environment is absent or dependencies are missing, follow setup-env. Linking the ok source folder does not install its dependencies into another project's environment.
Next to this one in the catalogue, plus more from the same author.