Table of Contents
You can combine AI-generated tags with folder rules to organize an Obsidian vault. AI Tagger Universe suggests tags from note content, LM Studio can provide the local model, and Auto Note Mover moves matching notes. Set up and test these parts separately before running a vault-wide operation.
Back up the complete vault first. Include attachments and configuration, and test on a copy or a small group of notes. Keep automatic moving disabled until you have checked the generated tags and rule order.
How to set up AI auto-sorting in Obsidian
Setting up tools and plugins
You can download plugins from the Obsidian community plugin repository. Search for faru's Auto Note Mover and install it first. This plugin automatically moves notes based on the tag or title you specify. Next, install Hu Nie's AI Tagger Universe . It analyzes note content and suggests tags. These suggestions can drive folder rules, but a wrong tag can also move a note to the wrong place.
Choose a local endpoint if you want note processing to remain on your computer. Confirm the plugin is configured for that endpoint rather than a cloud provider. Download LM Studio from its official website; setup time and model performance depend on your hardware. See getting started with LM Studio.
System setup
In LM Studio, download a chat model that fits your hardware, load it, and start the local server from the Developer area. Gemma 3 12B is the model shown in the example, not a requirement. Copy the server endpoint and model identifier shown in your installation into AI Tagger Universe's Local LLM settings. Use Test Connection, then test generation on one non-sensitive note.
Keep the server local to your computer. Do not enable network exposure or CORS automatically as a routine setup step. If your plugin version requires additional server settings, consult the LM Studio server documentation and enable only what that connection needs.
Once the connection is established, configure the AI's tagging behavior. A short, predefined tag list can reduce inconsistent labels. It does not guarantee that the model will select the right tag. So, create a new note called "Tag List" in the root folder of your repository and fill it with all the tags you want the AI to use.
Then go back to the plugin options menu and set:
- Tagging Mode → Use only predefined tags
- Tag Source → From predefined tag file
- Tag List Path → (path to the newly created Tag List note)
Before configuring Auto Note Mover, create all the folders where you want to organize your notes. Create destination folders for the tags you intend to use for filing. Not every descriptive tag needs its own folder.
Once you have created the folders, configure Auto Note Mover. Open the plugin options and create rules that match your desired organization. For example, have a rule that automatically moves any notes tagged #technology to the 00 - Technology folder .
You can add as many rules as you like by clicking the plus (+) icon. Rules are evaluated from the top, and the first match determines the destination. Put specific rules before broad ones and test a note with multiple matching tags. Title matching uses regular expressions, so do not treat a title pattern as plain text.
Organize your entire archive
Clean up hundreds of scattered notes
Note : Before you start organizing, make sure to back up your archive. AI tools are powerful, but they can also be unpredictable at times. Always have a backup in case something goes wrong.
First generate tags for a few notes and inspect both existing and newly added tags. Trigger Auto Note Mover manually to check destinations. Confirm that links still resolve and that attachments display correctly; the mover does not relocate attachment files.
When the results are reliable, use the plugin's vault-wide tag command, shown in some versions as Generate tags for vault in the command palette. Process in manageable batches when available. Do not assume that tagging the vault also moves every inactive note: verify the mover's trigger behavior in your installed version.
Use note- or folder-level commands for targeted cleanup where supported. Review tag-removal operations separately from tag generation so you do not erase useful manual organization.
Check the results and handle failures
If notes do not move, check the destination folder, rule order, excluded folders, duplicate names, and any per-note disabling property. Sync tools can also interfere with file moves. Avoid bulk changes from multiple devices at the same time.
Stop LM Studio when you no longer need generation. Keep Auto Note Mover enabled only if you want new matching notes to move automatically. Recheck a sample after changing models, tags, or rules.
For a broader introduction, see how Obsidian vaults and tags work. Check the Auto Note Mover documentation for current trigger and exclusion behavior.
Reader Comments 0
Sign in with email or Google to join the discussion.