type-classifier

Community

Auto-detect note types and set the right frontmatter.

Authorxingchen2202
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It prevents Obsidian notes from being misrouted by automatically detecting your note’s intended type and writing the correct 类型 value into frontmatter.

Core Features & Use Cases

  • Preemptive frontmatter classification: Detects whether 类型 already exists and is valid, and otherwise determines the correct type from content features.
  • Guardrails for weak or malformed notes: Forces classification: insufficient_content when正文内容少于 20 字, and warns about likely frontmatter field-name typos via Levenshtein distance (≤ 2).
  • Cross-validation for ambiguous cases: When features match both Tutorial and Method Study, outputs classification: tentative and asks the user to confirm before further formatting.

Quick Start

Ask the AI to classify the current Obsidian note by inferring its 类型 from its frontmatter and正文, then update the note’s frontmatter accordingly.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: type-classifier
Download link: https://github.com/xingchen2202/obsidian-ai-knowledge-system/archive/main.zip#type-classifier

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.