Dec 15, 2025 11:00 PM

How to replicate Roam Research /tomorrow command in Obsidian

Use Templater.

Writing a script template.

In case you want to open the file after creating it (source):

const file = app.vault.getAbstractFileByPath(filePath)
app.workspace.activeLeaf.openFile(file); 

Go into Obsidian > Community plugins > Templater settings, create a template hotkey entry for a templater template:
CleanShot 2023-06-20 at 18.20.57.png

You don't have to specify a hotkey in the Hotkeys settings, just adding it from Templater settings will make it available as slash command.