affective-computing-emotion-ai

affective-computing-emotion-ai is a skill for Cursor from roedyrustam/vibes-plug. It costs 41 tokens per session (5,169 once invoked), scanned A, original, MIT.

A design guide for AI systems that infer emotion from speech patterns and facial movements, then adjust their responses or interfaces.

In plain words
What is it for?
Use it to plan sentiment-aware support bots, tutoring systems that respond to frustration, and games or stories whose characters react to a player's voice.
Why use it?
It helps account for tone and visible reactions, not just the literal meaning of words. This matters when an application needs to notice frustration, urgency, or engagement during interaction.

Skill for Cursor

Written for Cursor: shipped in a Cursor plugin.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import { AffectiveEngine, AffectVector } from '../../engine/affective-engine';.

Part of the vibes-plug plugin — 179 skills, 9 agents, 2 MCP servers shipped together

Good fit Use it to plan sentiment-aware support bots, tutoring systems that respond to frustration, and games or stories whose characters react to a player's voice.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/roedyrustam/vibes-plug
agentmods
npx agentmods add skills/roedyrustam/vibes-plug/affective-computing-emotion-ai

Made for: Cursor.

Or install vibes-plug, the plugin that ships this one along with the rest of its 179 skills, 9 agents, 2 MCP servers.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for affective-computing-emotion-ai

README.md
[![agentmods](https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/affective-computing-emotion-ai/github.svg)](https://agentmods.dev/skills/roedyrustam/vibes-plug/affective-computing-emotion-ai)
Your own site
<a href="https://agentmods.dev/skills/roedyrustam/vibes-plug/affective-computing-emotion-ai"><img src="https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/affective-computing-emotion-ai/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for affective-computing-emotion-ai

Your own site · 80×15
<a href="https://agentmods.dev/skills/roedyrustam/vibes-plug/affective-computing-emotion-ai"><img src="https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/affective-computing-emotion-ai.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,169 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00041 $0.05169
Opus 5.5 $0.00016 $0.02068
Sonnet 5.5 $0.00008 $0.01034
Haiku 4.5 $0.00004 $0.00517

Measured 14d ago against content hash 8b33a9c5c3a0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

affective-computing-emotion-ai scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 14d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/skills/affective-computing-emotion-ai/SKILL.md · 353 lines

How it starts

The opening of the file, as written. The whole thing — 353 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Affective Computing & Emotion AI (2026 Sovereign Edition)

English | Bahasa Indonesia


English

Executive Directive & The Empathic Interface Paradigm (2026 Shift)

Traditional software interfaces and chat systems treat human communication as flat, dry text syntax. In doing so, they miss up to 80% of human cognitive communication: vocal pitch variance, breathiness, speech rate, pause intervals, and facial micro-expressions. When an agitated user encounters an automated system that replies with cheerful conversational fluff and complex multi-layered cards, user frustration accelerates exponentially.

Affective Computing & Emotion AI equips autonomous AI agents and web interfaces with continuous biometric perception. By ingesting raw multimodal audio/video streams (Gemini Multimodal Live API, WebRTC bidirectional audio) and mapping real-time features into the continuous Russell 2D Circumplex Model of Affect (Valence-Arousal space), interfaces dynamically modulate their vocal prosody, interaction pacing, and layout density.


Orchestration & Integration

  • Upstream Orchestrators: Works under brainstorming and zero-to-prod-orchestrator (Phase 4 - AI Agents & Multimodal Pipelines).
  • Downstream Cooperating Skills:
    • voice-ai-realtime-agent — Bidirectional WebRTC audio transport and low-latency audio capture (<300ms).
    • ephemeral-generative-ui-architect — Dynamically re-render UI components according to calculated AffectVector.
    • ui-ux-pro-max — Ensure affective UI themes adhere to WCAG 2.2 AA contrast ratios.
    • ai-llm-integration-expert — Native multimodal token handling via Gemini Multimodal Live API.
    • session-memory-manager — Store ultra-compact session handoffs without retaining raw biometric PII.
    • anti-slop — Enforces zero robotic apologies and eliminates sycophancy when de-escalating.

Core Architectural Topologies

┌────────────────────────────────────────────────────────────────────────┐
│                   AFFECTIVE EMOTION AI PIPELINE                        │
├────────────────────────────────────────────────────────────────────────┤
│ 1. Raw Multimodal Input (PCM Audio Stream & Video Frames)              │
│                                  │                                     │
│                                  ▼                                     │
│ 2. Feature Extraction (Pitch Variance, Jitter, Shimmer, Pause Ratio)   │
│                                  │                                     │
│                                  ▼                                     │
│ 3. Russell 2D Circumplex Mapping: AffectVector(Valence, Arousal)       │
│                                  │                                     │
│        ┌─────────────────────────┼─────────────────────────┐           │
│        ▼                         ▼                         ▼           │
│  [High Stress / Agitated]   [Fatigued / Confused]     [Calm / Engaged] │
│  (A > 0.4, V < -0.2)        (A < -0.3, V < 0.1)       (A ~ 0.0, V > 0) │
│        │                         │                         │           │
│        ▼                         ▼                         ▼           │
│ 4. Adaptive Morphing        4. High-Contrast Focus    4. Rich Dynamic  │
│    • Collapse to 1 CTA         • Enlarge Typo (+20%)     • Exploratory │
│    • Soften Animations         • Direct Hints            • Multi-Tab   │
│    • Lower Agent Pitch         • Slow Pacing             • Live Charts │
└────────────────────────────────────────────────────────────────────────┘

Read the full file on GitHub · 353 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 14d ago Changed 8b33a9c5c3a0
  2. 19d ago Changed · +22 lines 644f33d8a4c8
  3. 28d ago Changed · +147 lines · -26 tokens per session 0621c0082131
  4. 1mo ago Changed · +3 lines 7bdb2a4cb408
  5. 1mo ago Changed · +1 lines c74ca8862a41
  6. 1mo ago Changed · +96 lines 83c3fdc4d119
  7. 1mo ago Changed f31f768ebf6d
  8. 2mo ago Changed b5b9e79e6c2f
  9. 2mo ago Changed ba1f4fee5d74
  10. 2mo ago First seen · 84 lines · 67 tokens per session scan A aa3e64010c0b

Subscribe to this mod's changes

affective-computing-emotion-ai is a skill published in the GitHub repository roedyrustam/vibes-plug (132 stars, last pushed today), licensed MIT. It adds 41 tokens to every session and 5,169 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-29.

Related

affective-computing-emotion-ai compared with skills from other repositories

affective-computing-emotion-ai next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
affective-computing-emotion-airoedyrustam/vibes-plugSkill132todayMITA41Cursor
ai-engineering-toolkitsickn33/agentic-awesome-skillsSkill51ktodayMITA47Claude Code
ai-prompt-regression-testingsickn33/agentic-awesome-skillsSkill51ktodayMITA37Claude Code
ai-engineering-toolkitlingxling/awesome-skills-cnSkill3431mo agoMITA47Claude Code
ai-prompt-regression-testinglingxling/awesome-skills-cnSkill3431mo agoMITA28Claude Code
prompt-modelerchidekina/aria-superpowersSkill21mo agononeA24Claude Code
ai-engineering-toolkitmarysatasselshaped667/skills-collection-1Skill11mo agoMITA47Claude Code, Codex