Settings Overview
User-Facing Settings
All settings are available in Settings → Community Plugins → Auto Tagger:Default Values
Detailed Settings
Auto-suggest While Editing
Setting:autoSuggestType: Boolean
Default:
true
Enables or disables real-time tag suggestions as you type.
How it works
How it works
When enabled, the plugin listens to the Each keystroke schedules a debounced check. When disabled, you can still manually trigger suggestions via the command palette.
editor-change event:Check Delay (Debounce)
Setting:debounceMsType: Number (milliseconds)
Default:
2000Range:
500 - ∞
Time to wait after you stop typing before running the suggestion algorithm.
Choosing the right delay
Choosing the right delay
- 500-1000ms: Very responsive, but may feel intrusive during active writing
- 2000ms (default): Good balance between responsiveness and not interrupting flow
- 3000-5000ms: Less intrusive, waits for longer pauses
- 10000ms+: Only triggers after significant breaks
- Fast typists → higher delay
- Slow, thoughtful writers → lower delay
- Pair programming → higher delay
Tag Placement
Setting:tagLocationType:
"first-line" | "frontmatter" | "inline-end"Default:
"first-line"
Controls where accepted tags are inserted into your notes.
First Line (Inline Tags)
- Skips frontmatter if present
- If the first content line already has tags, appends to it:
#existing-tag #new-tag - Otherwise, creates a new line:
#new-tagfollowed by a newline
Frontmatter (YAML Tags)
- Uses Obsidian’s built-in frontmatter API
- Creates a
tagsarray if it doesn’t exist - Converts single tags to arrays if needed
- Avoids duplicates
Frontmatter tags are recognized by Obsidian’s search and are displayed in the tag pane, making them ideal for organizational purposes.
Inline End
- Appends tag to the end of the current line where your cursor is
- Useful for adding context-specific tags mid-document
Maximum Suggestions
Setting:maxSuggestionsType: Number
Default:
5Range:
1 - 10
Limits how many tags to suggest at once.
Real-time vs modal behavior
Real-time vs modal behavior
Real-time suggestions (notice bar):When you manually trigger suggestions via command palette, the plugin shows up to
- Shows suggestions one at a time
- Uses
maxSuggestionsto limit total queued suggestions - “Show all” button displays remaining suggestions in modal
maxSuggestions × 2 options in the modal.Minimum Confidence
Setting:minScoreType: Number
Default:
0.01Range:
0.005 - 0.1
Minimum similarity score required for a tag to be suggested.
Understanding confidence scores
Understanding confidence scores
The score represents combined cosine similarity and co-occurrence boost:
- 0.001 - 0.01: Weak similarity, may include tangentially related tags
- 0.01 - 0.05: Moderate similarity, reasonable suggestions
- 0.05 - 0.2: Strong similarity, highly relevant tags
- 0.2+: Very strong similarity, almost certain match
- Lower minScore (0.005): More suggestions, including creative/unexpected tags
- Higher minScore (0.05): Fewer but more confident suggestions
- Default (0.01): Balanced approach
Commands
Auto Tagger registers two commands accessible via the command palette (Ctrl/Cmd+P):Suggest Tags for Current Note
ID:suggest-tags
- Opens a modal with all suggestions (up to
maxSuggestions × 2) - Top 3 suggestions are pre-selected
- Shows visual confidence bars
- Allows multi-select
This command bypasses the “already suggested” cache, so you can trigger it multiple times to re-evaluate suggestions.
Rescan Vault for Tag Patterns
ID:rescan-vault
- After bulk-tagging many notes
- After importing notes from another vault
- After creating many new notes with tags
- If suggestions seem outdated
Rescanning is relatively fast but blocks the UI briefly. On a vault with 1000 notes, expect 2-5 seconds.
Suggestion Tracking
The plugin tracks which suggestions have been shown for each file to avoid repetition:- Persists during the Obsidian session
- Cleared when you close and reopen Obsidian
- Cleared when you rescan the vault
- Reset when you switch away from and back to a file
Why track suggestions?
Why track suggestions?
Without tracking, the plugin would suggest the same tags repeatedly every time you pause typing. Tracking ensures:
- You only see each suggestion once per editing session
- After accepting/declining a tag, you won’t see it again
- As you add content, new suggestions emerge based on updated content
Tag Extraction
The plugin extracts existing tags from both inline and frontmatter formats:- Inline tags:
#tag,#nested/tag,#tag-with-dashes - Frontmatter inline array:
tags: [javascript, web-dev] - Frontmatter YAML list:
The plugin normalizes tags by removing
# prefixes and quotes, so #javascript, "javascript", and javascript are all treated as the same tag.Model Initialization
The plugin scans your vault automatically when Obsidian finishes loading:Performance Considerations
Memory Usage
The plugin stores:- Tag profiles:
O(unique_tags × unique_words) - Co-occurrence matrix:
O(unique_tags²) - Global document frequency:
O(unique_words)
- 500 unique tags
- 5,000 unique words
- Memory: ~5-10 MB
CPU Usage
Vault scan:- Time complexity:
O(documents × words_per_document) - Batched with UI yields to prevent freezing
- Typical time: 1-3 seconds for 1000 notes
- Time complexity:
O(unique_tags × unique_words_in_note) - Typical time: < 50ms
- Debounced to avoid excessive computation
Optimization tips for large vaults
Optimization tips for large vaults
If you have a very large vault (5000+ notes):
- Increase
debounceMsto 3000-5000 to reduce CPU usage - Decrease
maxSuggestionsto 3 to reduce computation - Consider disabling
autoSuggestand using manual trigger only - Rescan only when necessary (not after every small change)