
intent-detection
When the user wants to build or improve an automated sales bot's ability to recognize prospect intent—whether they're interested, objecting, asking questions, or ready to buy. Also use when the user mentions "detecting intent," "classifying responses," "understanding prospect replies," "bot understanding," or "NLP for sales."
- Installs
- 420
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/louisblythe/sales-skills --skill intent-detection- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads intent-detection automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Intent Detection for Sales Bots
You are an expert in building intent detection systems for automated sales bots. Your goal is to help design systems that accurately recognize whether a prospect is interested, objecting, asking a question, or expressing other intents.
Initial Assessment
Before providing guidance, understand:
-
Context
- What channels does your bot operate on? (SMS, email, chat, voice)
- What is the bot's primary goal? (qualify leads, book meetings, nurture)
- What CRM/tools are you using?
-
Current State
- Do you have an existing intent detection system?
- What intents are you trying to detect?
- What's your current accuracy rate?
-
Goals
- What would better intent detection help you achieve?
- Where are misclassifications causing problems?
Core Principles
1. Intent Drives Response
- Correct intent detection enables appropriate responses
- Wrong intent = wrong response = lost opportunity
- This is the foundation of bot intelligence
2. Real-World Language is Messy
- People don't speak in clean categories
- Multiple intents in one message
- Context changes meaning
3. Confidence Thresholds Matter
- Not all classifications are equal
- Low confidence should trigger fallbacks
- When unsure, escalate or ask
4. Continuous Improvement
- Intent models degrade without maintenance
- New patterns emerge constantly
- Learn from misclassifications
Common Sales Intents
Positive Intents
Interested:
- "Tell me more"
- "That sounds interesting"
- "How does it work?"
- "Send me info"
Ready to Buy:
- "I'd like to move forward"
- "How do I sign up?"
- "What are the next steps?"
- "Send me a contract"
Meeting Request:
- "Can we schedule a call?"
- "I'm free Tuesday"
- "Let's set up a demo"
- "I'd like to discuss further"
Negative Intents
Not Interested:
- "Not interested"
- "We're all set"
- "Remove me from your list"
- "No thanks"
Opt-Out:
- "Stop"
- "Unsubscribe"
- "Don't contact me again"
- "STOP" (SMS compliance)
Wrong Person:
- "I don't handle this"
- "You have the wrong number"
- "This isn't my area"
- "Try someone else"
Neutral/Information Intents
Question:
- "What does it cost?"
- "How long does implementation take?"
- "Do you integrate with X?"
- "What's included?"
Objection:
- "It's too expensive"
- "We already have a solution"
- "Not the right time"
- "Need to talk to my boss"
Request for Information:
- "Send me a case study"
- "Do you have references?"
- "Can I see a demo?"
- "What industries do you work with?"
Context-Dependent Intents
Timing-Related:
- "Maybe later"
- "Reach out next quarter"
- "Not now but stay in touch"
- "Check back in 3 months"
Delegation:
- "Talk to my colleague"
- "CC my assistant"
- "You should speak with [name]"
- "Let me introduce you to..."
Building Intent Classification
Approach 1: Rule-Based
How it works:
- Define keywords/phrases per intent
- Match incoming message to rules
- Simple, transparent, maintainable
Example rules:
INTERESTED:
- contains: ["interested", "tell me more", "sounds good", "learn more"]
NOT_INTERESTED:
- contains: ["not interested", "no thanks", "pass", "all set"]
OPT_OUT:
- exact: ["stop", "unsubscribe", "remove"]
- contains: ["stop texting", "stop calling", "remove me"]
Pros:
- Easy to implement and debug
- No training data needed
- Fully transparent
Cons:
- Misses variations
- Doesn't handle nuance
- Requires constant updating
Approach 2: ML-Based
How it works:
- Train classifier on labeled examples
- Model learns patterns
- Generalizes to new variations
Common approaches:
- Traditional ML (Naive Bayes, SVM)
- Deep learning (BERT, transformers)
- API-based (OpenAI, Claude, etc.)
Pros:
- Handles variation better
- Can detect nuance
- Improves with data
Cons:
- Requires training data
- Less transparent
- Can have surprising failures
Approach 3: Hybrid
Best of both worlds:
- Rules for clear-cut cases (opt-out, explicit interest)
- ML for nuanced cases (soft objections, implied interest)
- Confidence thresholds for escalation
Example flow:
1. Check compliance rules first (OPT_OUT keywords)
2. Check explicit intent rules
3. If no rule match, run ML classification
4. If ML confidence < threshold, flag for human review
Intent Detection Architecture
Message Processing Flow
Incoming Message
↓
Preprocessing (normalize, clean)
↓
Rule-Based Check (compliance, explicit)
↓
ML Classification (nuanced intents)
↓
Confidence Check
↓
High Confidence → Automated Response
Low Confidence → Human Review or Clarifying Question
Key Components
Preprocessor:
- Normalize text (lowercase, remove special chars)
- Handle SMS shorthand
- Expand contractions
- Remove noise
Rule Engine:
- Keyword matching
- Regex patterns
- Priority ordering
ML Classifier:
- Feature extraction
- Intent prediction
- Confidence scoring
Post-Processor:
- Confidence thresholds
- Multi-intent handling
- Escalation logic
Handling Complexity
Multiple Intents
Example message: "I'm interested but we don't have budget until Q2—can you send pricing info?"
Intents present:
- Interested
- Timing objection
- Information request
Approach:
- Detect all intents
- Prioritize response based on hierarchy
- Address most important/actionable intent
- Acknowledge others
Ambiguous Messages
Example: "Maybe" "Let me think about it" "Interesting"
Approach:
- Lower confidence score
- Ask clarifying question
- Or trigger follow-up sequence
- Track for pattern analysis
Context-Dependent Intent
Same message, different intent:
- "What's the cost?" (after demo = buying signal)
- "What's the cost?" (first touch = information seeking)
Approach:
- Include conversation context in classification
- Different models/rules for different stages
- Track conversation state
Confidence and Fallbacks
Setting Confidence Thresholds
High confidence (>0.85):
- Automated response
- Move to next step
Medium confidence (0.6-0.85):
- Automated response with softer language
- Flag for review if response fails
Low confidence (<0.6):
- Clarifying question
- Human escalation
- Safe fallback response
Fallback Strategies
Clarifying question: "I want to make sure I understand—are you interested in learning more, or would you prefer I reach out another time?"
Safe acknowledgment: "Thanks for your response! Let me get back to you with the right information."
Human escalation: "Great question—let me have a team member follow up with you directly."
Compliance Considerations
Must-Detect Intents
SMS (TCPA/ACMA):
- STOP, UNSUBSCRIBE, CANCEL, END, QUIT
- Must detect immediately
- Must act immediately (no more messages)
Email (CAN-SPAM/GDPR):
- Unsubscribe requests
- Data deletion requests
- Must honor within timeframe
Implementation
Priority 1 rules:
OPT_OUT (immediate action, no exceptions):
- STOP
- UNSUBSCRIBE
- REMOVE
- CANCEL
- Any message containing "stop texting"
These rules should fire BEFORE any other processing.
Testing and Improvement
Measuring Performance
Accuracy metrics:
- Precision (of predicted intents, % correct)
- Recall (of actual intents, % detected)
- F1 score (balance of both)
- Confusion matrix (which intents get mixed up)
Business metrics:
- Response appropriateness rate
- Escalation rate
- Conversion by detected intent
- Customer satisfaction
Building Test Sets
Collect real examples:
- Sample from actual conversations
- Label manually
- Include edge cases
Test set categories:
- Clear intent (should get right)
- Ambiguous intent (may need clarification)
- Multi-intent (detect all)
- Edge cases (unusual phrasing)
Continuous Improvement
Regular reviews:
- Sample misclassifications weekly
- Identify patterns
- Update rules or retrain models
Feedback loops:
- Track when bot responses fail
- Correlate with intent detection
- Fix root causes
Implementation Checklist
Phase 1: Foundation
- Define intent taxonomy
- Set up compliance rules (opt-out)
- Implement basic rule matching
- Create fallback responses
Phase 2: Enhancement
- Collect training data
- Implement ML classification
- Set confidence thresholds
- Build escalation logic
Phase 3: Optimization
- Implement multi-intent detection
- Add context awareness
- Build feedback loop
- Monitor and improve
Questions to Ask
If you need more context:
- What channels does your bot operate on?
- What are the most important intents to detect?
- Do you have labeled training data?
- What's your current accuracy?
- Where are misclassifications causing the biggest problems?
Related Skills
- sentiment-analysis: For understanding emotional tone
- conversational-flow-management: For responding appropriately
- objection-recognition: For detecting specific objection types
- compliance-handling: For regulatory requirements
FAQ
What does the intent-detection skill do?
When the user wants to build or improve an automated sales bot's ability to recognize prospect intent—whether they're interested, objecting, asking questions, or ready to buy. Also use when the user mentions "detecting intent," "classifying responses," "understanding prospect replies," "bot understanding," or "NLP for sales."
How do I install intent-detection?
Run npx skills add https://github.com/louisblythe/sales-skills --skill intent-detection in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/intent-detection/ (personal) or .claude/skills/intent-detection/ (project).
Which AI agents can use intent-detection?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is intent-detection safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains intent-detection?
It is published by louisblythe in louisblythe/sales-skills. It has 420 recorded installs.
More from louisblythe/sales-skills
appointment-booking
louisblythe/sales-skills
When the user wants to build or improve a sales bot's ability to integrate with calendars and schedule meetings autonomously. Also use when the user mentions "booking meetings," "calendar integration," "scheduling calls," "appointment setting," or "automated booking."
objection-handling
louisblythe/sales-skills
When the user wants to improve their ability to address prospect concerns, overcome resistance, or respond to pushback without being defensive. Also use when the user mentions "handling objections," "overcoming resistance," "common objections," "prospect pushback," "they said no," or "dealing with concerns."
sales-presentations
louisblythe/sales-skills
When the user wants to create, optimize, or improve sales presentations, pitch decks, demos, or proposal presentations. Also use when the user mentions "sales deck," "pitch deck," "demo presentation," "proposal deck," "investor pitch," "executive presentation," "sales slides," "presentation optimization," or "how to present." This skill covers structuring, designing, and delivering compelling sales presentations.
outbound-prospecting
louisblythe/sales-skills
When the user wants help with outbound sales prospecting, lead sourcing, or pipeline building. Also use when the user mentions 'prospecting,' 'lead sourcing,' 'finding leads,' 'building pipeline,' 'cold outreach,' 'target account list,' 'ICP,' 'buyer persona,' 'lead list,' or 'account-based.' This skill covers prospecting strategy, lead research, multi-channel outreach, and pipeline generation.
closing
louisblythe/sales-skills
When the user wants to improve their ability to recognize buying signals, ask for the sale, and confidently move deals to commitment. Also use when the user mentions "closing deals," "asking for the sale," "getting commitment," "buying signals," "sealing the deal," or "converting prospects."
sales-psychology
louisblythe/sales-skills
When the user wants to apply psychological principles to sales conversations, understand buyer behavior, or use persuasion techniques ethically. Also use when the user mentions 'buyer psychology,' 'why people buy,' 'persuasion,' 'influence,' 'decision-making,' 'cognitive bias,' or 'negotiation psychology.' This skill provides 70+ mental models organized for sales application.
Popular business & finance skills
sales-enablement
coreyhaines31/marketingskills
When the user wants to create sales collateral, pitch decks, one-pagers, objection handling docs, or demo scripts. Also use when the user mentions 'sales deck,' 'pitch deck,' 'one-pager,' 'leave-behind,' 'objection handling,' 'deal-specific ROI analysis,' 'demo script,' 'talk track,' 'sales playbook,' 'proposal template,' 'buyer persona card,' 'battle card,' 'battlecard,' 'competitive one-pager,' 'win-loss analysis,' 'why are we losing deals,' 'loss reasons,' 'how do I respond to this objection,' 'prospect just said,' 'help my sales team,' 'sales materials,' or 'what should I give my sales reps,' 'cold call script,' or 'voicemail script.' Use this for any document or asset that helps a sales team close deals. For public competitor comparison pages, see competitors. For running buyer interviews or churn research, see customer-research. For marketing website copy, see copywriting. For cold outreach emails, see cold-email. For the offer being sold (bonuses, guarantees, pricing structure),
revops
coreyhaines31/marketingskills
When the user wants help with revenue operations, lead lifecycle management, or marketing-to-sales handoff processes. Also use when the user mentions 'RevOps,' 'revenue operations,' 'lead scoring,' 'outbound pipeline stages,' 'lead routing,' 'MQL,' 'SQL,' 'pipeline stages,' 'deal desk,' 'CRM automation,' 'marketing-to-sales handoff,' 'data hygiene,' 'leads aren't getting to sales,' 'pipeline management,' 'lead qualification,' or 'when should marketing hand off to sales.' Use this for anything involving the systems and processes that connect marketing to revenue. For cold outreach emails, see cold-email. For email drip campaigns, see emails. For pricing decisions, see pricing.
sales-funnel-blueprint
autonnel/autonnel-skills
Turn an offer into a concrete multi-step sales funnel spec - page-by-page structure, price ladder, copy outline and the metrics each step must hit. Use when asked to build a sales funnel, marketing funnel, landing page flow, lead magnet funnel, webinar funnel, tripwire or VSL funnel, when planning a product launch page flow, or when someone asks "what pages do I need" for selling something online.
pricing
coreyhaines31/marketingskills
When the user wants help with pricing decisions, packaging, or monetization strategy. Also use when the user mentions 'pricing,' 'pricing tiers,' 'freemium,' 'free trial,' 'packaging,' 'price increase,' 'value metric,' 'Van Westendorp,' 'willingness to pay,' 'monetization,' 'how much should I charge,' 'my pricing is wrong,' 'pricing page,' 'annual vs monthly,' 'per seat pricing,' 'should I offer a free plan,' 'pricing page teardown,' 'pricing page audit,' 'is my pricing page AI-readable,' or 'can AI read my pricing.' Use this whenever someone is figuring out what to charge, how to structure their plans, or wants to audit a pricing page (for humans and for the AI agents that shortlist tools). For in-app upgrade screens, see paywalls. For offer construction (bonuses, guarantees, value framing, naming) on services/courses/coaching/high-ticket B2B, see offers.
cross-border-ecommerce
nexscope-ai/ecommerce-skills
Cross-border e-commerce expansion advisor. Scores target markets on 8 weighted dimensions (market size, ecommerce penetration, competition, regulatory complexity, logistics infrastructure, payment ecosystem, cultural distance, IP protection), compares 5 fulfillment models with cost and transit data, provides country-by-country tax/duty compliance guides (EU VAT/IOSS, UK VAT, US sales tax, CA GST, AU GST, JP consumption tax), maps local payment preferences by market, and builds a phased expansion roadmap. No API key required.
pricing-strategy
coreyhaines31/marketingskills
When the user wants help with pricing decisions, packaging, or monetization strategy. Also use when the user mentions 'pricing,' 'pricing tiers,' 'freemium,' 'free trial,' 'packaging,' 'price increase,' 'value metric,' 'Van Westendorp,' 'willingness to pay,' 'monetization,' 'how much should I charge,' 'my pricing is wrong,' 'pricing page,' 'annual vs monthly,' 'per seat pricing,' or 'should I offer a free plan.' Use this whenever someone is figuring out what to charge or how to structure their plans. For in-app upgrade screens, see paywall-upgrade-cro.