frustration-detection

通过文本信号(如大写字母、标点密度、重复内容和响应延迟)检测用户的挫败或情绪状态,并在用户失去兴趣前做出调整。

仓库最近推送
GitHub Stars
219
Forks
39
Issues / PRs
5

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "frustration-detection":https://skillpi.com/zh/skills/deepskill-44dd49365b552ab465e8ee9ac83ae66b67a8e3ceffe3d1473c9eec2d8a41312d。安装前核对上游来源和版本:https://github.com/Owl-Listener/ai-design-skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

通过文本信号(如大写字母、标点密度、重复内容和响应延迟)检测用户的挫败或情绪状态,并在用户失去兴趣前做出调整。

0 下载

介绍来源: third_party · Owl-Listener · 0.0.1 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: frustration-detection
description: Reading user emotional state from text signals — caps, punctuation density, repetition, latency — and adapting before the user disengages.

Frustration Detection

Most AI products treat every user message as having the same emotional weight. They don't. "Cancel my subscription." and "PLEASE just cancel my subscription!!!" deserve different responses. Frustration detection is the perception skill that picks up the signal so the rest of the system can adapt.

This is the unnamed skill that sits behind tone calibration, escalation design, and graceful repair. Without it, those skills can't fire at the right moment.

Signals

Linguistic

  • Capitalisation shifts: ALL CAPS, sudden "PLEASE", "URGENT"
  • Punctuation density: ?!?!, ...., multiple !!
  • Hedge-stripping: terse, demand-form ("just fix it", "stop")
  • Repetition: same concept restated across turns
  • Profanity (mild or strong)

Structural

  • Decreasing turn latency (rapid-fire replies)
  • Increasing turn latency past a threshold (walk-away)
  • Re-asking the same question after a response
  • Explicit human-handoff request ("speak to a person")
  • Sudden topic switches

Lexical / affect

  • Negative affect words ("useless", "annoying", "broken")
  • Time-pressure words ("now", "immediately", "deadline")
  • Doubt words ("really?", "are you sure", "is that right")
  • Disengagement words ("never mind", "forget it", "whatever", "fine")

Detection should be cumulative across signals and turns, not single-feature.

Decision rules

  • One signal is noise; two is a pattern. Don't act on a single CAPS message; act when CAPS plus repetition appear.
  • If frustration is rising AND the AI has already attempted a fix once, escalate. Don't reach for a third rephrase.
  • Urgency without frustration ≠ frustration. Speed up; don't change tone.
  • Long latency after a long AI response is a walk-away, not deep reading. Save state, offer re-engagement, don't continue.
  • Adapt silently. Don't name the emotion. "I sense you're frustrated" is patronising. Lower confidence, slow pace, raise warmth — but in the prose, not the meta-commentary.

Anti-patterns

  • Emotion mirroring as performance: "I'm so sorry to hear that!" reads as scripted at scale.
  • Asking the user to confirm their state: "Are you frustrated?" The user came to get help, not be analysed.
  • One-shot detection: a single signal triggers a full empathy cascade. Detection must be cumulative.
  • Detection without action: reading the signal and continuing the same playbook makes the detection performative.
  • Over-empathy: two paragraphs of validation where one sentence and a fix would do. A frustrated user has no bandwidth for warmth.

When not to use this

  • Transactional UIs (search box, code completion) — there's no conversational drift to read. Reach for feedback-loops instead.
  • First-turn cold starts — detection is comparative; you need a baseline. Treat first-turn signals as descriptive, not diagnostic.
  • Products with explicit feedback controls (thumbs down, "this isn't helping") — the user has the controls; don't bolt on inference.

See also

  • tone-calibration — what to do once you've detected the signal: lower confidence, slow pace, raise warmth.
  • escalation-design — frustration is one of the documented escalation triggers; this skill is how you detect that trigger.
  • feedback-loops — the cousin that handles ambient signals about output quality; this one handles ambient signals about user state.
  • harm-anticipation — when frustration shades into distress (crisis markers, vulnerability), route through harm anticipation for elevated handling.

Design Artefacts

A frustration scorecard, scored cumulatively per session:

Signal Weight
ALL CAPS message +2
Profanity +3
Repeated question (3rd+ time) +2
!! or ?? punctuation +1
Explicit handoff request +5
Disengagement word ("forget it") +3
Long latency (>3 min after AI response) +2

Threshold for escalation: 5. Threshold for tone shift: 2.

Worked example:

  • Turn 1: "hey can you help me cancel my order" → 0
  • Turn 2: "the cancel button isn't working" → 0 (problem statement, not frustration)
  • Turn 3: "i've tried 3 times PLEASE" → +4 (CAPS, repetition, "please") → score 4 → tone shift
  • Turn 4: "this is USELESS" → +2 (CAPS) +3 (negative affect) → score 9 → escalate

Other artefacts:

  • Per-product baseline: average frustration score across the last 1000 sessions; alert on 2σ deviation
  • Latency thresholds calibrated per product (chat support: 30 s engaged / 2 min disengaged)
  • Test scenarios: happy path, slow rise, sudden spike, silent walk-away, recovery (score drops mid-session after fix)

Adapted from work on affective computing in conversational systems (Picard; Bickmore on emotional dialogue agents).

当前收录版本

0.0.1

核对来源版本 ↗

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值92/100

亮点

  • 高价值情绪感知能力,直接解决对话系统中用户挫败感识别的核心痛点
  • 提供可落地的信号体系与决策规则,适用于客服、产品交互等高频场景
触发精准95/100

亮点

  • 触发描述精准完整,覆盖 Linguistic/Structural/Lexical 多维度信号变体
  • 边界清晰,明确区分 urgency 与 frustration,避免误触
结构规范93/100

亮点

  • 结构清晰,从信号识别到决策规则再到反模式层层递进
  • 包含端到端 worked example 与可执行的 Design Artefacts(打分卡、阈值)
执行可靠94/100

亮点

  • 基于 affective computing 学术研究,参数设计科学(权重、阈值、延迟校准)
  • 覆盖噪声过滤、冷启动、walk-away 等关键异常场景,具备防误判机制
证据可验 (前四项均值)94/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

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

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。