ワンクリックで
frustration-detection
// Reading user emotional state from text signals — caps, punctuation density, repetition, latency — and adapting before the user disengages.
// Reading user emotional state from text signals — caps, punctuation density, repetition, latency — and adapting before the user disengages.
| name | frustration-detection |
| description | Reading user emotional state from text signals — caps, punctuation density, repetition, latency — and adapting before the user disengages. |
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.
Linguistic
?!?!, ...., multiple !!Structural
Lexical / affect
Detection should be cumulative across signals and turns, not single-feature.
feedback-loops instead.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.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:
Other artefacts:
Adapted from work on affective computing in conversational systems (Picard; Bickmore on emotional dialogue agents).
Proactively identifying failure modes, misuse, and unintended consequences.
Managing shared context, memory, and state across multiple agents.
Coordinating text, image, voice, and tool-use modalities in a single interaction.
Helping users form warranted trust in the AI — neither overtrust nor undertrust — through deliberate confidence and source signalling.