Token导航 LogoToken导航TokenDH.com
待分类需要联网github未标认证来源可访问许可证需确认审计通过

intent-detection意图检测

Agent Skill

intent-detection 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

222

周安装

9

GitHub Stars

11

下载量

70
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:intent-detection(意图检测)
来源仓库:https://github.com/louisblythe/salesskills
仓库路径:skills/intent-detection
安装命令:
npx skills add https://github.com/louisblythe/salesskills --skill intent-detection
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/louisblythe/salesskills --skill intent-detection

简介

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态、代码变更或协作事项进行整理。

  • 支持从来源仓库获取上下文,结合安装命令和原始 README 核验具体用法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 适用于需要自动化处理代码协作流程的场景,提升开发效率。
  • 可结合项目实际框架和协作规范使用,避免误操作影响生产环境。

SKILL.md

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:

  1. 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?

  1. Current State

- Do you have an existing intent detection system? - What intents are you trying to detect? - What's your current accuracy rate?

  1. 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:

  1. What channels does your bot operate on?
  2. What are the most important intents to detect?
  3. Do you have labeled training data?
  4. What's your current accuracy?
  5. 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

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.27%
按下载量换算23

Claude

30.99%
按下载量换算22

Cursor

17.27%
按下载量换算12

Gemini CLI

9.31%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills