Overview
Lightweight automations for Obsidian using JavaScript or shell commands.
Obsidian Actions lets you automate common vault workflows without building a full plugin. Each action has three parts:
- a trigger
- an execution type
- a code body
Use it to run commands, call scripts, show notices, or respond to Obsidian events.
How It Works
- Create an action in
Settings -> Actions. - Choose a trigger.
- Choose
jsorshell. - Write the code.
- Restart Obsidian to register commands and hooks.
Shell Actions Are Desktop-Focused
shell actions are best suited to desktop environments with access to local
scripts, binaries, and a usable shell environment. If you need broader
compatibility, prefer js actions.