intent-inference

Multi-turn intent inference skill: infers users' true intent and proactively guides convergence and confirmation in multi-turn dialogues. Triggered when conversations exceed three turns, questions are scattered or repeatedly rephrased, or queries are too broad to yield useful answers. Designed to steer vague or jumpy questions toward actionable requests.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "intent-inference" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-bc4f702949c1e18dd46cc72e817ca0fa89287af721277959bfc3ceed433df30d. Verify the upstream source and version against https://skillhub.cn/skills/user_7788c3e4/intent-inference before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Multi-turn intent inference skill: infers users' true intent and proactively guides convergence and confirmation in multi-turn dialogues. Triggered when conversations exceed three turns, questions are scattered or repeatedly rephrased, or queries are too broad to yield useful answers. Designed to steer vague or jumpy questions toward actionable requests.

0 Downloads

Introduction source: third_party · user_7788c3e4 · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Translation pending; see source documentation.
Inputs and outputs
Not specified in the source documentation.
Software, accounts and paid services
Not specified in the source documentation.
Limits and differences
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: intent-inference
description: 多轮对话中推测用户真实意图,在提问分散、跳跃或模糊时主动引导收敛并确认诉求,而非被动逐条回答表面问题。当对话超过 3 轮、用户提问方向发散、反复修正问法("其实我想问的是…""不对,换个说法")、或问题过于宽泛无法直接给出有价值回答时触发。
tags: [dialogue, intent, guidance, conversation, clarify]

意图推测与对话引导

在多轮沟通中,用户往往自己也说不清最终想问什么。当提问方向发散时,主动推测底层意图并引导话题收敛——而不是机械地回答每一个孤立的表面问题。

核心原则:先判断清晰度,再决定"直接答"还是"先引导"。引导要留纠正空间,一次只推一个方向,用户喊停就停。

何时使用(When to use)

  • 对话已进行 3 轮以上,且用户提问方向开始分散或跳跃
  • 用户连续抛出看似无关的问题,但可能存在同一条底层诉求
  • 出现自我修正信号:"其实我想问的是…""不对,我再换个说法""你没懂我意思"
  • 问题过于宽泛("AI 怎么用""帮我搞个系统"),直接回答只会泛泛而谈
  • 用户反复补充/修改前一个问题,说明自己也在摸索

不要触发的情况:对话不足 3 轮、用户意图已经明确、用户明说"随便问问/闲聊"。

操作步骤(Steps)

1. 回溯对话历史

提取最近 3-5 轮的:核心关键词、话题走向、情绪线索(焦虑 / 好奇 / 犹豫 / 不耐烦)。识别反复出现但一直没深入的锚点——那通常就是真实意图的入口。

若跨会话,可用 session_search 检索用户过往相似提问,判断是否有稳定的"先发散后聚焦"习惯。

2. 判断清晰度,分三档处理

档位 特征 动作
A 档·清晰 对象明确、目标明确 直接执行/回答,不引导,别画蛇添足
B 档·半清晰 方向大致有,但缺关键约束 用二选一 / 开放式问题轻量引导:"你提到 A,是想深入 A 本身,还是想知道 A 和 B 的关系?"
C 档·模糊 问题散、跳跃、说不清 推测 1-2 个最可能的真实意图,用确认句式提出:"我注意到你连续问了 X 和 Y,我猜你真正想了解的其实是 Z,对吗?"

3. 用 clarify 工具承载引导(Hermes 关键实践)

B / C 档的引导优先用 clarify 工具而不是纯文本提问——它把选项渲染成可点选项,用户一键回应,比让用户打字更省力:

  • B 档:把二选一做成 choices,如 question="你是在为项目做选型吗?", choices=["是,帮我对比推荐", "不是,我只想学 A 的用法"]
  • C 档:把推测的意图做成选项,如 question="我猜你真正想解决的是——", choices=["A 方案怎么落地", "A 和 B 怎么选", "从零怎么入门"]
  • ⚠️ 铁律:选项只放进 choices 数组,绝不写进 question 文本(否则渲染成死文字,用户点不了)。

4. 闭环验证

  • 用户确认后,复述一遍你理解的诉求,再开始正式回答。
  • 若引导后仍连续 2 轮发散,停止绕弯,直接问:"用一句话说说,你最终想达成什么?"
  • 被否定时,不要硬推第二个猜测,立刻转开放式:"那你现在最想解决的是什么?"

示例(Examples)

见 templates/guide-prompts.md,含三个可直接套用的话术模板(C 档推测 / B 档二选一 / A 档直接执行),并标注了对应的 clarify 调用写法。

常见意图分散模式(Patterns)

见 references/intent-patterns.md,覆盖溯源式跳跃、对比式模糊、初学者泛问、自我修正四类高频模式及应对策略。

注意事项(Gotchas)

  • 别过早打断:对话不足 3 轮时优先正常回答,硬引导会显得答非所问。
  • 一次一个方向:别一口气抛多个引导问题,用户会更懵。
  • 留纠正空间:用"我猜""你是不是""是不是想",而非断言"你就是想…"。
  • 不凭空脑补:推测必须基于对话里实际出现过的内容,不能编造用户没说的诉求。
  • 尊重"随便问问":用户表示无明确目的时,停止引导,回归轻松应答。
  • 预判习惯:若用户多次表现出"先发散后聚焦"的提问习惯,后续可提前在合适节点温和收敛。
  • clarify 用完即走:确认到意图后就正常回答,别连环追问把对话变成审讯。

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value88/100

Highlights

  • 精准定位多轮对话中用户意图模糊、发散、自我修正等高频痛点
  • 提供主动引导收敛机制,显著提升对话效率与用户体验
  • 适用于客服、咨询、产品支持等广泛场景,具备明确刚需价值
Trigger Precision92/100

Highlights

  • 触发条件清晰完整:对话轮次、提问方向、修正信号、问题宽泛度等多维度判断
  • 边界明确,覆盖多种变体,不易误触或漏触
Structure and Standards85/100

Areas to improve

  • 缺少内嵌端到端示例 Reported severity: Minor

    示例部分仅指向外部模板文件,未在主体中提供可直接套用的完整示例

    Recommendation: 建议在主体中增加一个完整的端到端示例,展示从触发到引导再到确认的完整流程

Highlights

  • 结构完整:含 When to Use、Steps、Examples、Patterns、Gotchas 等必要章节
  • 步骤清晰,使用表格分档处理,frontmatter 完整
Execution Reliability82/100

Areas to improve

  • session_search 工具调用细节缺失 Reported severity: Minor

    提到使用 session_search 检索历史,但未说明具体调用方式与异常处理

    Recommendation: 建议补充 session_search 工具的标准调用格式及无结果时的 fallback 策略

Highlights

  • 工具使用明确(clarify),参数正确(choices 数组),覆盖主要异常场景
  • 不可逆操作(引导)有确认机制,用户可纠正
Evidence Verifiability (mean of the first four)87/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Not specified in the source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.