No Suggestions Appearing
Model Not Ready
Symptom: No suggestions appear, even when manually triggered. Cause: The model hasn’t finished scanning your vault yet.- Wait for the initial vault scan to complete (shown in a notice)
- Check if the scan failed by opening the developer console (Ctrl+Shift+I)
- Manually trigger a rescan: Settings → Auto Tagger → Rescan vault
The initial scan runs automatically when Obsidian finishes loading. For large vaults (1000+ notes), this may take 5-10 seconds.
No Tagged Documents
Symptom: Model is ready but still no suggestions. Cause: Your vault has no notes with tags, or very few tagged notes.- Check Settings → Auto Tagger for model statistics
- Look for: “X tags learned from Y tagged notes”
- If Y is 0 or very low, add tags to your existing notes
- Each tag needs to appear in at least 2 documents to be suggested
Note Too Short
Symptom: Suggestions work on long notes but not short ones. Cause: The note has fewer than 3 words after tokenization.- Write at least a few sentences before expecting suggestions
- Short notes (< 10 words) don’t have enough content for meaningful similarity calculation
Scores Below Threshold
Symptom: Some notes get suggestions, others don’t. Cause: The similarity scores are below yourminScore threshold.
- Go to Settings → Auto Tagger → Minimum confidence
- Lower the slider (try 0.005)
- Test suggestions again
Why are my scores so low?
Why are my scores so low?
Low scores can happen when:
- Your note’s vocabulary doesn’t overlap much with tagged documents
- You’re writing about a new topic not covered by existing tags
- Your tagging patterns are inconsistent
- The note is very different from other notes with similar tags
- Add more diverse tagged notes to improve the model
- Create new tags for new topics
- Be more consistent with tagging
Irrelevant Suggestions
Score Threshold Too Low
Symptom: Getting too many unrelated tag suggestions. Cause:minScore is set too low, allowing weak matches.
Solution:
- Go to Settings → Auto Tagger → Minimum confidence
- Raise the slider (try 0.03 or 0.05)
- You’ll get fewer but more relevant suggestions
Inconsistent Tagging Patterns
Symptom: Tags are suggested for wrong topics. Cause: Your existing tagging is inconsistent. For example, using#javascript on notes that are actually about Python.
Solution:
- Review your existing tags for consistency
- Remove or correct misplaced tags
- Run Rescan vault to update the model
The plugin learns from YOUR patterns. If you inconsistently tag
#work on both project notes and personal journal entries, the model will suggest #work for both types of content.Tags from Unrelated Documents
Symptom: A tag is suggested even though the content seems unrelated. Cause: The tag’s profile contains common words that appear in many contexts. Example:- Use more specific tags:
#project/client-alphainstead of#project - Add descriptive content to notes so distinctive words outweigh common ones
- Increase
minScoreto filter weaker matches
Performance Issues
Vault Scan Takes Too Long
Symptom: Initial scan or rescan takes more than 30 seconds. Cause: Very large vault (5000+ notes) or slow disk I/O.- Be patient during the initial scan (it only happens once per session)
- Close other apps to free up system resources
- Consider excluding large folders from your vault if they don’t need tagging
The plugin processes 100 files at a time with UI yields. For a 5000-note vault, expect 10-20 seconds on modern hardware.
UI Freezing
Symptom: Obsidian becomes unresponsive during suggestion generation. Cause: Debounce is set too low, causing constant re-computation. Solution:- Go to Settings → Auto Tagger → Check delay
- Increase to 3000-5000ms
- Consider disabling Auto-suggest while editing
- Use manual command trigger instead: Suggest tags for current note
Memory Usage
Symptom: Obsidian uses excessive memory after enabling Auto Tagger. Cause: Large vocabulary and many unique tags create large in-memory data structures. Typical memory usage:- Small vault (100 notes, 50 tags): ~1-2 MB
- Medium vault (1000 notes, 200 tags): ~5-10 MB
- Large vault (5000 notes, 500 tags): ~20-30 MB
- This is normal and usually not a problem
- If memory is critically low, disable the plugin
- Consider reducing the number of unique tags in your vault
Suggestion Behavior Issues
Same Suggestions Repeating
Symptom: The plugin suggests the same tags over and over. Cause: Suggestion tracking cache is not working, or you’re switching between files.- Cache is cleared when you switch away from a file and back
- Cache is cleared when you rescan the vault
- Cache is cleared when you restart Obsidian
- This is by design to allow re-evaluation after content changes
Why does cache reset on file switch?
Why does cache reset on file switch?
When you leave a file and come back, the plugin assumes:If you don’t want this behavior, keep the file open continuously.
- You might have added content elsewhere that changes suggestions
- You might have forgotten what was suggested earlier
- You want a fresh evaluation
No Suggestions After Accepting Tags
Symptom: After accepting a few tags, no more suggestions appear. Cause: You’ve exhausted all suggestions above the score threshold. Solution:- Lower Minimum confidence in settings
- Add more content to the note to change its TF-IDF profile
- Manually trigger suggestions to get up to 2× more options
Tags Inserted in Wrong Location
Symptom: Tags appear in unexpected places in the note. Cause: Tag placement setting doesn’t match your expectation. Check your setting:- First line: Inserts before first content line (after frontmatter)
- Frontmatter: Adds to YAML
tags:array - Inline end: Appends to current line where cursor is
- Go to Settings → Auto Tagger → Tag placement
- Choose your preferred location
- Test with a new suggestion
Tag Extraction Issues
Frontmatter Tags Not Recognized
Symptom: Tags in frontmatter are not counted during vault scan. Cause: Incorrect YAML formatting. Supported formats:- Fix YAML formatting in affected notes
- Run Rescan vault
The plugin uses regex-based parsing (not a full YAML parser), so complex formatting might not work. Stick to the standard formats above.
Nested Tags Not Working
Symptom: Nested tags like#project/alpha are not suggested correctly.
Cause: This is expected behavior. The plugin treats #project/alpha as a single unique tag.
/.
How it works:
#project/alphais a distinct tag from#projectand#project/beta- Each nested tag needs its own 2+ document examples
- There’s no hierarchy inference (e.g.,
#project/alphadoesn’t automatically learn from#project)
- Ensure nested tags appear in at least 2 documents
- Use consistent nested tag formatting
- Consider using flatter tag structures if this is problematic
Tags with Special Characters
Symptom: Tags with special characters are not extracted. Supported characters:- Letters:
a-zA-Z - Numbers:
0-9 - Hyphens:
- - Underscores:
_ - Slashes:
/(for nesting)
- Spaces:
#my tag→ only#myis extracted - Dots:
#v2.0→ only#v2is extracted - Colons:
#note:important→ only#noteis extracted - Parentheses, brackets, etc.
- Use hyphens or underscores instead:
#my-tag,#v2_0,#note-important - Avoid special characters in tags
Model Quality Issues
Model Not Learning New Patterns
Symptom: After adding many new tagged notes, suggestions don’t improve. Cause: Model hasn’t been rescanned since adding new notes. Solution:- Go to Settings → Auto Tagger
- Click Rescan now
- Wait for completion notice
The model is built once at startup and reused. It doesn’t automatically update when you modify notes. You must manually rescan.
Different Suggestions on Different Runs
Symptom: Running “Suggest tags” multiple times gives different results. Cause: This should NOT happen. Suggestions are deterministic. If it does happen:- Check if you’re modifying the note between runs
- Check if other plugins are modifying the note (e.g., auto-formatters)
- Report as a bug if truly non-deterministic
Tags Never Suggested
Symptom: A specific tag never appears in suggestions, even when it seems relevant. Check these conditions:- Ensure the tag appears in at least 2 documents
- Ensure tagged documents have substantive content (not just titles)
- Check that the tag’s documents contain words overlapping with your note
- Lower
minScoreto see if it appears with low confidence
Debugging a specific tag
Debugging a specific tag
To understand why a tag isn’t suggested:
- Open developer console (Ctrl+Shift+I)
- Type:
app.plugins.plugins['auto-tagger'].model.getKnownTags() - Find your tag in the list. If not present, the tag wasn’t found during scan
- Type:
app.plugins.plugins['auto-tagger'].model.getStats() - Check if your tag is counted in
uniqueTags - If present but not suggested, it likely has low similarity to your note
Integration Issues
Conflicts with Other Plugins
Symptom: Auto Tagger behaves strangely when certain other plugins are enabled. Potential conflicts:- Auto-formatting plugins: May interfere with tag insertion
- Custom tag renderers: May affect tag extraction regex
- Editor enhancement plugins: May intercept editor events
- Disable other plugins temporarily
- Re-enable one at a time to identify the conflict
- Report incompatibility if found
Mobile vs Desktop Differences
Symptom: Plugin works on desktop but not mobile (or vice versa). Cause: Performance differences or mobile-specific bugs. Solution:- On mobile, increase debounce delay to reduce CPU usage
- Consider disabling auto-suggest on mobile
- Use manual trigger only
- Mobile has less memory, so very large vaults may struggle
Getting Help
Enable Debug Mode
Open developer console (Ctrl+Shift+I) and run:Check Console for Errors
- Press Ctrl+Shift+I (Cmd+Option+I on Mac)
- Go to Console tab
- Look for red error messages
- Copy error message when reporting issues
Useful Commands for Debugging
Reporting Bugs
When reporting issues, please include:- Obsidian version
- Plugin version
- Vault statistics (number of notes, tags)
- Model stats from
getStats() - Console errors (if any)
- Steps to reproduce
- Expected vs actual behavior
Advanced Troubleshooting
Manually Inspect Model Data
The model’s internal state can be inspected via console:Understanding profile output
Understanding profile output
This shows you:
- How many documents have the tag
- Total word count across those documents
- Top 10 most frequent words in tagged documents
Reset Plugin State
If the plugin is behaving erratically:- Disable the plugin in Settings
- Close Obsidian
- Delete
.obsidian/plugins/auto-tagger/data.json(this stores settings) - Reopen Obsidian
- Re-enable the plugin
- Reconfigure settings
Performance Profiling
If you suspect performance issues:- Scan: 1-5 seconds for 1000 notes
- Suggest: 10-50ms