Skip to content

Quick Start

Get up and running with YAML Toolkit for Obsidian in 5 minutes.

Opening YAML Toolkit

  1. Press Cmd/Ctrl + P to open the command palette
  2. Type "YAML Toolkit"
  3. Select "YAML Toolkit: Open Rule Builder"

Your First Rule

Let's add a "reviewed" tag to all notes:

Condition:

NOT tags contains "reviewed"

Action:

FOR tags APPEND "reviewed"

Step by step:

  1. Enter the condition and action in their respective fields
  2. Click Preview - You'll see which notes will be affected
  3. Review the changes in the preview panel
  4. Click Apply to execute

Common Tasks

Add Missing Field

Condition:

NOT HAS status

Action:

SET status "draft"

Update Field Value

Condition:

status = "draft"

Action:

SET status "in-progress"

Tag Management

Condition:

tags contains "old-tag"

Action:

FOR tags WHERE $ = "old-tag" REMOVE, FOR tags APPEND "new-tag"

Next Steps

Released under the MIT License.