The Foundry Posts a Nuke Tutorial with Frank Rueter where he discusses the PRECOMP NODE in Nuke in a workflow that can use external scripts to input main comps.

NUKE’s Precomp node with Frank Rueter from Hieronymus Foundry on Vimeo.

“This tutorial shows how to use the Precomp node in a workflow that enables the artist to use external NUKE scripts as an input to their main comps. This helps to keep the node graph tidy, but also opens up the option to work with centralised NUKE scripts as inputs without having to pre-rendering them. Such a workflow is invaluable for shows that need to share the same NUKE script as a background. For example, only one NUKE script needs to be changed to update all main comps that depend on it across multiple shots. This tutorial shows you how to set up such a script dependency and how to work between the precomp and the “receiving” comp. This tutorial is by Frank Rueter of ohufx.com/?”