Who can publish
To publish a script, you need edit access (Can edit) to its workspace. In an organization, publishing is also a per-member permission, Publish scripts publicly. It’s on by default for every role. Owners and admins can turn it off for a role or a member. See Roles and permissions.Publish a script
1
Open the publish dialog
Open the script and click Publish in the bar at the top of the script.
2
Choose what to include
If you have a session open, you can also publish it:
- Include session outputs and files shares the session’s runs, outputs, and session files. The public page shows the script with those outputs.
- Include conversation with the agent also shares the full conversation: messages, reasoning, and tool activity. It’s off by default.
3
Review the contents
Click Ask agent to prepare for publishing. The agent checks the script for personal data, credentials, and other sensitive content, suggests changes that help people who import it, and offers to add a setup guide. It asks before changing anything, and can prepare a separate copy so your working script stays as it is.
4
Publish
Click Publish. Script.it creates the page and gives you its link, in the form
https://public.script.it/scripts/<id>/<title>. Click Copy link to share it.What’s published
Update a published script
A published page is frozen: it doesn’t change when you edit the script. Once it’s published, the Publish button reads Published. When the script or the included session changes, the button’s tooltip says “Published version is out of date”. To update it, click Published. The dialog lists what changed since you published, under Changes since published. Click Update, choose what to include again, and click Republish. The link stays the same.Include conversation with the agent starts off each time you republish. Turn it on again if you still want the conversation public.
Unpublish a script
Click Published to open the publish dialog, click Unpublish, then confirm. The link stops working immediately, and you can’t undo it. Copies that other people already imported are theirs, and aren’t affected.Manage everything you’ve published
Open Settings → Sharing → Published scripts to see every script you’ve published from the active account. For each one, you can open the script, republish it, copy its link, open the public page, or unpublish it. A row’s badge tells you its state:
Published scripts belong to the account — Personal or an organization — that owns the script’s workspace. Switching accounts shows that account’s published scripts.
What visitors can do
Anyone with the link can read the script: its description, its blocks and how each one works, and its files. If you included a session, they also see its runs and outputs. A visitor with a Script.it account can click Use in Script.it to import the script into one of their workspaces. They get their own independent copy. The More actions menu offers more:- Copy prompt for your agent copies a one-line prompt to paste into your agent, asking it to import the script into your workspace.
- Advanced imports → Import with session data imports the script together with the published session, when there is one.
- Advanced imports → Download .zip downloads the script’s files.