Creating a prefab that only has a transform and a script

I want to create a prefab that only contains a script and a transform.

To set this up, I created a prefab in the project panel.
And, of course, it has nothing in it and I can’t yet drop a script on it.

I think I need to add a transform object BUT I don’t want to add a mesh.

How would I create a minimal prefab that has a transform and script only, but no mesh?

What I would like to do is to have the script that is attached load in various meshes and display play them at the position where the instantiated gameobject is. So I don’t want prefab/gameobject itself to contain a mesh. Just a transform on where it located and the attached script will load and display a mesh its location.

Just create an empty gameobject, attach the script, and drag that onto your prefab.