call-emotional-contagion-monitor

An offline, experimental call-record review based on keyword detection designed to identify emotional contagion trends and provide de-escalation suggestion prompts. For review and suggestion only; it does not modify live calls and does not guarantee that suggestions will produce or change any behavioral outcomes.

Last repository push
GitHub Stars
118
Forks
507
Issues / PRs
109

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 "call-emotional-contagion-monitor" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-a8701da739778ffe06f4047886adbb7c9e4e2159876e49a76c7c224ed9132684. Verify the upstream source and version against https://github.com/CALLE-AI/awesome-phone-call-agents before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

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

Installation test pending

An offline, experimental call-record review based on keyword detection designed to identify emotional contagion trends and provide de-escalation suggestion prompts. For review and suggestion only; it does not modify live calls and does not guarantee that suggestions will produce or change any behavioral outcomes.

0 Downloads

Introduction source: third_party · CALLE-AI · 1.0.0 Reference

SkillPi interpretation

Tasks
Offline experimental keyword-based transcript review with suggested de-escalation prompts, without altering live calls or guaranteeing behavior.
Audience
Not specified in the 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
**Lexicon-Based**: The current implementation uses a heuristic dictionary for demonstration. In production, this should be swapped for an embedding-based or classifier-based sentiment model. **Sarcasm Detection**: Cannot reliably detect passive-aggressive sarcasm without tone-of-voice acoustic features.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: call-emotional-contagion-monitor
description: Offline experimental keyword-based transcript review with suggested de-escalation prompts, without altering live calls or guaranteeing behavior.
version: 1.0.0

Emotional Contagion Monitor

This skill checks supplied post-call transcripts using a small lexicon and suggests prompt changes for human review. It does not apply those changes, measure internal emotions, or guarantee de-escalation.

Research Scope

Related literature is background inspiration, not validation of the prototype or its thresholds. See research scope. The scores are keyword heuristics, not calibrated measures of professionalism.

Background

Current generation LLMs have an inherent "alignment bias" where they tend to mirror the style and sentiment of the user. In a customer service or crisis setting, if a human yells or uses abusive language, an unmonitored AI might begin mirroring that aggression, becoming inappropriately terse, or inappropriately defensive ("I am not to blame, you need to calm down"). This skill catches those instances.

How It Works

  1. The system scans each turn in the transcript.
  2. When the callee speaks, it calculates a Negative Arousal score (0.0 to 1.0).
  3. When the agent speaks, it calculates a Negative Valence score and derives the agent's Professionalism (1.0 - Negative Valence).
  4. If Callee_Arousal >= 0.6 (angry) and Agent_Valence <= 0.6 (defensive/aggressive), the system triggers a CONTAGION_RISK.
  5. It extracts the exact violating quote and automatically generates a system prompt patch to prevent recurrence.

Decision Matrix

Condition Risk Status Agent Response Quality
Arousal high, Valence high SAFE Agent maintained professional boundary
Arousal high, Valence low CONTAGION_RISK Agent mirrored aggression or became defensive
Arousal low, Valence high SAFE Normal interaction
Arousal low, Valence low WARNING Agent is unprovoked but being terse/negative

Configuration Reference

Parameter Default Range Description
arousal_threshold 0.60 0.40 - 0.80 Threshold above which callee is considered highly aroused/angry.
valence_threshold 0.60 0.40 - 0.80 Threshold below which agent is considered defensive/unprofessional.

Expected Outcomes & Metrics

The following numbers are unvalidated design targets, not measured results.

Metric Target Notes
Contagion Detection Rate > 90% Highly sensitive to accusatory phrases ("calm down", "your fault").
Prompt Patch Success > 80% The generated patch should reliably fix the LLM's behavior on replay.

Limitations & Known Constraints

  • Lexicon-Based: The current implementation uses a heuristic dictionary for demonstration. In production, this should be swapped for an embedding-based or classifier-based sentiment model.
  • Sarcasm Detection: Cannot reliably detect passive-aggressive sarcasm without tone-of-voice acoustic features.

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 Value72/100

Highlights

  • 解决AI对齐偏差的实际痛点
  • 明确的决策矩阵提升可操作性
Trigger Precision85/100

Highlights

  • 触发描述精准且边界清晰
Structure and Standards90/100

Highlights

  • 结构完整,配置参考清晰
Execution Reliability88/100

Highlights

  • 参数范围合理,异常场景覆盖全面
Evidence Verifiability (mean of the first four)84/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.