Task prompt that classifies a user message into one of a fixed set of intents. Returns strict JSON. Good template for building fast intent routers.
npx mdskills install mdskills/classify-user-intent-taskRelated
One-shot instruction for a specific job
@mdskills? Sign in with GitHub to claim this listing.Classify the following user message into exactly one intent from this list: {intents}.
Message:
{message}
Return ONLY valid JSON, no prose, matching:
{
"intent": "one_of_the_listed_intents",
"confidence": 0.0,
"reasoning": "one short sentence"
}
If the message doesn't match any listed intent, use "other" as the intent and set confidence to 0.0.
Install via CLI
npx mdskills install mdskills/classify-user-intent-taskClassify User Intent is a free, open-source AI agent skill. Task prompt that classifies a user message into one of a fixed set of intents. Returns strict JSON. Good template for building fast intent routers.
Install Classify User Intent with a single command:
npx mdskills install mdskills/classify-user-intent-taskThis downloads the skill files into your project and your AI agent picks them up automatically.
Classify User Intent works with Claude Code, Openai, Gemini. Skills use the open SKILL.md format which is compatible with any AI coding agent that reads markdown instructions.