/classifier:trainfrom classifier
Trains a text classifier by associating a category with labeled examples from text or file patterns.
Claude never picks this command on its own
Its frontmatter has no description. Without a description, Claude Code leaves it out of the list Claude chooses from. Typing /classifier:train still runs it.
What the command file sets; muted values are Claude Code's defaults
classifier, training, text-classification, supervised-learning
Train a classifier with labeled examples.
/classifier:train <category> <text or file pattern>
/classifier:train spam "Buy cheap viagra now"
/classifier:train ham "Meeting scheduled for tomorrow"
/classifier:train positive reviews/good/*.txt
/classifier:train negative reviews/bad/*.txt
Run the classifier train command:
classifier train "$category" "$text_or_pattern"
After training, inform the user they can:
/classifier:train commandsclassifier "text to classify"classifier save model-name.jsonFor best results, recommend balanced training data across all categories.
7-day visitors to each command page
3 commands in this plugin
2 plugins ship this exact command · first indexed Jan 3, 2026
Generated from the plugin's indexed repository (cardmagic/classifier) — no native marketplace selected
npx claudepluginhub p/cardmagic-classifierOther plugins' commands for the same job