Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Join the community
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Auto Classifier

hyeonseonamhyeonseonam15k downloads

Automatically classify tag from your notes using ChatGPT API. It analyze your note (It can be title, frontmatter, content or selected area) and automatically insert tag where you set.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates7

Auto Classifier is an Obsidian plugin that helps you automatically classify tags in your notes using either OpenAI-compatible APIs (ChatGPT, Ollama, LocalAI, etc.) or Jina AI Classifier. The plugin can analyze your note (including its title, frontmatter, content, or selected area) and suggest relevant tags based on the input with tags in your vault. This can be used for various specific purposes, for example, DDC classification for books, keyword recommendation, research paper categorization, and so on. Save time and improve your note organization.

How to use

  • Configure your classification engine and API settings in the settings tab:

    • Choose your Classification Engine:

      • OpenAI-compatible API: Uses OpenAI API, Local AI (Ollama, LocalAI), or other compatible APIs
      • Jina AI: Uses Jina AI Classifier (cost-effective, multilingual)
    • For OpenAI-compatible API:

      • Enter your API key (leave empty for local AI)
      • Set the base URL:
        • OpenAI: https://api.openai.com/v1 (default)
        • Local OpenAI-compatible API (Ollama, LocalAI):
          • Ollama: http://localhost:11434/v1
          • LocalAI: http://localhost:8080/v1
      • Choose your model:
        • OpenAI: gpt-4.1-mini (recommended), gpt-4.1, gpt-4o, ...
        • Local OpenAI-compatible API: llama3, mistral, phi3, qwen2, ... (Ollama/LocalAI)
      • Test your configuration using the Test API call button
    • For Jina AI:

      • Enter your Jina AI API key (free tier available with 10M tokens)
      • Choose your preferred model (default: jina-embeddings-v3)
      • Test your configuration using the Test Jina API button
      • Getting a Jina AI API Key: Visit the Jina AI website to obtain a free temporary API key (you can get the key without creating an account).
  • This plugin consists of 4 Input Commands that you can run. By simply running these commands, it will automatically classify your note:

    • Classify tag from Note title
    • Classify tag from Note FrontMatter
    • Classify tag from Note Content
    • Classify tag from Selected Area
  • Toggle and choose from different Tag Reference types. The LLM will select the appropriate tag from these references:

    • All tags (default)
    • Filtered Tags with regular expression
    • Manual Tags that are defined manually
  • Specify the Output Type from the response of the LLM:

    • #Tag: at your Current Cursor or Top of Content
    • [[WikiLink]]: at your Current Cursor or Top of Content
    • FrontMatter: with key
    • Title Alternative: at the end of note's title
  • (Optional) Add a Prefix or Suffix for the output format.

  • (Optional) You can use your custom request for your selected API:

    • Custom Prompt Template
      • The LLM will respond based on this prompt. The input coming from your Command will be replaced by {{input}}, and the reference tags you set will be placed in {{reference}}.
    • Custom Chat Role
      • You can guide the AI's behavior by setting this system role

Classification Engines

OpenAI-compatible API

  • Flexibility: Supports custom prompts and chat roles
  • Multiple Providers: Works with OpenAI, Ollama, LocalAI, and other compatible APIs
  • Local AI Support: Run models locally without internet connection
  • Recommended OpenAI models: gpt-4.1-mini, gpt-4.1, gpt-4o
  • Advanced Features: Custom prompt templates, system roles, and token control

Jina AI Classifier

  • Cost-Effective: Generous free tier with 10 million tokens
  • Multilingual: Supports multiple languages including non-English content
  • High Performance: Zero-shot classification with up to 8192 tokens input and 256 distinct classes
  • Optimized: Works best with semantic labels (e.g., "happy", "sad", "angry")
  • Easy Setup: Often no account creation required, can generate fresh API keys as needed

Local AI Setup (Ollama, LocalAI)

Experimental Support: ⚠️ You may use local OpenAI-compatible APIs such as Ollama or LocalAI. However, support for these engines is experimental and full compatibility or stability is not guaranteed. Some features may not work as expected. Please test thoroughly before relying on these engines for important workflows. If you encounter issues or want to help improve compatibility, contributions and pull requests are very welcome!

Example setup:

  1. Install Ollama or LocalAI
  2. Prepare your model: For Ollama, run ollama pull llama3. For LocalAI, configure your models as needed.
  3. Set Base URL: Ollama - http://localhost:11434/v1, LocalAI - http://localhost:8080/v1
  4. Set Model: e.g., llama3, mistral, etc.
  5. API Key: Leave empty

Example

Use Case #1: Selected area → Current cursor

Use Case #2: Content → FrontMatter

Use Case #3: FrontMatter → Title

Use Case #4: Title → FrontMatter

DDC number classification

If you want to use this plugin for DDC number classification, edit the Custom Prompt Template like this:

Please use Dewey Decimal Classification (DDC) to classify this content:
"""
{{input}}
"""
Answer format is JSON {reliability:0~1, output:"[ddc_number]:category"}.
Even if you are not sure, qualify the reliability and select one.
Convert the blank spaces to "_" in the output.

LCSH classification

LCSH classification can be similar:

Please use Library of Congress Subject Headings (LCSH) to classify this content:
"""
{{input}}
"""
Answer format is JSON {reliability:0~1, output:"[First LCSH term]--[Second LCSH term]--[Third LCSH term]"}.
Even if you are not sure, qualify the reliability and select one.
Convert the blank spaces to "_" in the output.

Installation

  • Search for Auto Classifier in the Community plugin tab of the Obsidian settings.
  • Alternatively, you can manually download the latest release from this repository's GitHub releases and extract the ZIP file to your Obsidian plugins folder.

Support

If you encounter any issues while using this plugin or have suggestions for improvement, please feel free to submit an issue on the GitHub repository. Pull requests are also welcome.

🙌 Contributors

  • @gravityfargo
  • @rtuszik
  • @tk42
  • @SophomoreSo
  • @ThiagoVsky

License

MIT License

73%
HealthGood
ReviewCaution
About
Classify notes automatically using OpenAI-compatible or Jina AI classifiers and suggest relevant tags from your vault. Analyze title, frontmatter, full content, or selected text to generate tag recommendations for DDC, keyword extraction, research papers and other categorization tasks.
AITagsAutomation
Details
Current version
1.3.0
Last updated
10 months ago
Created
3 years ago
Updates
7 releases
Downloads
15k
Compatible with
Obsidian 1.1.1+
License
MIT
Report bugRequest featureReport plugin
Author
hyeonseonamhyeonseonam
github.com/HyeonseoNam/obsidian-emoji-titler
GitHubhyeonseonam
  1. Community
  2. Plugins
  3. AI
  4. Auto Classifier

Related plugins

YOLO

Smart, snappy, and multilingual AI assistant for your vault.

Tars

Text generation based on tag suggestions, using Claude, OpenAI, Ollama, Kimi, Doubao, Qwen, Zhipu, DeepSeek, QianFan & more.

Templater

Create and use dynamic templates.

BRAT

Easily install a beta version of a plugin for testing.

Smart Connections

AI link discovery copilot. See related notes as you write. Lookup using semantic (vector) search across your vault. Zero-setup local model for embeddings, no API keys, private.

Copilot

Your AI Copilot: Chat with Your Second Brain, Learn Faster, Work Smarter.

Linter

Format and style your notes. Linter can be used to format YAML tags, aliases, arrays, and metadata; footnotes; headings; spacing; math blocks; regular Markdown contents like list, italics, and bold styles; and more with the use of custom rule options.

Text Generator

Generate text content using GPT-3 (OpenAI).

Smart Composer

AI chat with note context, smart writing assistance, and one-click edits for your vault.

Readwise Official

Sync highlights from Readwise to your vault.