Author(s): Xorpion | Source(s): https://www.reddit.com/r/ObsidianMD/comments/1sd933k/ai_and_tagging/?share_id=S1_-QWHWbBDS1wz25RoLt&utm_content=2&utm_medium=ios_app&utm_name=ioscss&utm_source=share&utm_term=1


Has anyone recently used AI to create a tagging or front matter structure? I’m thinking about using Claude for this, but if anyone can suggest some best practices, it would be great. Thanks!

A member of Obsidian's team created these AI Agent skills following the best practices. They’re useful for humans to learn from, too.

https://github.com/kepano/obsidian-skills

I’ve done this: I have a backlog of around 400 non fiction books. I had Gemini trained to create a book note for each, 300 words max and 8 core points made. Plus ‘tag with what feels sensible’. I know it’s ai-slop, but this book note helps with discovery.

I then got Claude to work. First analysis gave me just under 1400 individual tags. Obviously useless noise. Claude found similarities and synonyms. Wriggling things down to under 100 keywords.

I then told Claude to ==create a note for each keyword with title, synonyms as alias, 150 characters as definition, note type = keywords==. All of this data lives in the frontmatter. One bases table gives me the full overview. Claude can pull this same base file as JSON file via Obsidian-CLI. It now has an easy always updated dictionary for new classifications.

// this person is using keywords as the note type, and in the content. I like the idea of creating keyword notes for each topic, My definitions (would be tag notes for each tag) that is generated, with an aliases, and the content can be linked directly to those notes. Can have AI define them to begin with, then define in my own way over time.

seashoreandhorizon · 2026-04-05 · 0 points

I wrote a script that uses a local LLM to tag notes and add SEO metadata. The way it works is I have a pre-defined list of tags I want it to use. It reads the note, adds 3-5 relevant tags, mostly from the predefined list, although I've instructed it to also suggest 1-2 relevant tags that aren't in the list. It also adds the SEO stuff and a slug for publishing online.

// auto add SEO stuff is a good idea. Use AI to add SEO stuff to the garage