goberomsu6k downloadsAutomatically classifies and applies metadata to your notes.
AI-powered metadata classification for Obsidian. Analyzes your notes and automatically generates context-aware tags and frontmatter using configurable AI providers.
The more context you give, the more accurate the classification.

Using BRAT:
https://github.com/GoBeromsu/Metadata-Auto-Classifier
| Command | Description |
|---|---|
| Fetch tags using current provider | Generate tags for the active note |
| Fetch all frontmatter using current provider | Populate all configured frontmatter fields |
| Fetch [field] using current provider | Update a specific frontmatter field |
| Setting | Description |
|---|---|
| AI Provider | Select from OpenAI, Gemini, Ollama, or custom providers |
| Model | Choose or configure the model used for classification |
| Custom frontmatter fields | Define which frontmatter fields AI should generate |
| Classification rules | Set rules and categories for how tags/fields are generated |
| Field-specific prompts | Provide per-field context to guide AI output |
| Category | Technology |
|---|---|
| Platform | Obsidian Plugin API |
| Language | TypeScript 5 |
| Bundler | esbuild |
| AI | OpenAI, Gemini, Ollama, custom providers |
| Testing | Vitest (with coverage) |
| Linting | ESLint 9 (flat config) + Prettier + eslint-plugin-boundaries |
Metadata-Auto-Classifier/
├── src/
│ ├── main.ts # Plugin entry point (AutoClassifierPlugin)
│ ├── provider/ # AI provider layer (HTTP, OAuth, prompt generation)
│ ├── classifier/ # Business logic (ClassificationService, CommandService)
│ ├── settings/ # Settings UI (tabs, modals, components)
│ └── lib/ # Pure utilities (frontmatter, sanitizer, ErrorHandler)
├── __tests__/ # Vitest tests (mirrors src/ structure)
├── __mocks__/ # Obsidian API mock
├── scripts/ # dev.mjs, version.mjs, release.mjs
├── boiler.config.mjs # Per-repo config
└── manifest.json # Obsidian plugin manifest
pnpm install
pnpm dev # vault selection + esbuild watch + hot reload
pnpm build # tsc type-check + production build
pnpm test # Vitest unit tests
pnpm test:coverage # Vitest with coverage report
pnpm lint # ESLint
pnpm run ci # build + lint + test
For questions, issues, or feature requests, please visit the GitHub repository.
This project is licensed under the MIT License.