Skip to content

Warp Drive context

Open in ChatGPT ↗
Ask ChatGPT about this page
Open in Claude ↗
Ask Claude about this page
Copied!

Use saved prompts, notebooks, workflows, and rules from Warp Drive as context in CLI agent commands.

When you find prompts that work well, save them in Warp Drive to reuse across sessions, share with teammates, and integrate into automated workflows. For more information, see Prompts.

To reuse a saved prompt, find its ID. The ID is the last segment of its Warp Drive sharing link.

For example, in the URL:

https://warp.dev/drive/prompt/Fix-compiler-error-sgNpbUgDkmp2IImUVDc8kR

…the ID is sgNpbUgDkmp2IImUVDc8kR.

Then pass the ID using the --saved-prompt flag:

Terminal window
$ oz agent run --saved-prompt sgNpbUgDkmp2IImUVDc8kR

Use <workflow:id>, <notebook:id>, or <rule:id> in prompts to attach Warp Drive objects and rules as context for the agent.

Terminal window
$ oz agent run --prompt "Follow the instructions in <notebook:gq1CMAUWLtaL1CpEoTDQ3y>"