Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Affective Computing Basics

ASecurity

Measuring emotion from behavior and physiology — facial expression, voice, EDA, and self-report integration.

2 stars
0 votes
0 copies
1 views
Added 9/29/2026
ai-agentsgoexpress

Works with

cli

Security Analysis

A100/100

Scanned 9/29/2026

$npx -y skills add aicodedecode/awesome-muse-skills --skill affective-computing-basics --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Affective Computing Basics?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Affective Computing Basics
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aicodedecode-affective-computing-basics/badge)](https://www.skillsdirectory.com/skills/aicodedecode-affective-computing-basics)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
Files
SKILL.md
---
name: affective-computing-basics
description: Measuring emotion from behavior and physiology — facial expression, voice, EDA, and self-report integration.
category: scientific
---

## Overview

affective-computing-basics covers the scientific measurement of emotion and affect: self-report
instruments, facial expression analysis, vocal prosody, and peripheral physiology (EDA, heart rate,
respiration). It focuses on validity — what each channel actually indexes — because emotion
measurement is where convenient proxies most often replace the construct.

The dimensional view (valence × arousal, plus dominance) organizes most measurement; discrete
emotion categories ("basic emotions") are useful labels but contested as natural kinds. Measure
dimensions; interpret categories cautiously.

## When to use

- Choosing emotion measures for an experiment: self-report vs behavior vs physiology.
- Facial expression analysis: FACS/action units vs black-box "emotion AI" classifiers.
- Vocal affect: prosodic features (pitch, intensity, rate) and their limits.
- Physiology: EDA (arousal), HRV (regulatory capacity), startle/facial EMG (valence).
- Multimodal integration: combining channels without double-counting.
- Evaluating commercial "emotion recognition" claims.

## Core concepts

- **Self-report: still the gold standard for experience.** Validated scales (PANAS, SAM manikins,
  Geneva Emotion Wheel) measure felt affect directly. Limitations: introspection limits,
  demand characteristics, and retrospective bias — use momentary (EMA) over recalled reports when
  possible. Never treat a proxy as superior to self-report for subjective experience without
  evidence.
- **Dimensional vs discrete.** Valence (pleasant-unpleasant) × arousal (calm-activated) captures
  most variance in affective responses. Discrete labels (anger, fear, joy) are folk categories
  with fuzzy boundaries — useful for communication, weak as measurement targets.
- **Facial expressions.** FACS action units (AU4 brow lowerer, AU12 lip corner puller) are
  anatomically grounded and codable; automated AU detection is reasonably mature. Black-box
  "this face = angry" classifiers conflate expression with felt emotion — posed-expression
  training data doesn't generalize to spontaneous affect, and context dominates interpretation.
- **Vocal prosody.** Mean/range of F0, intensity, speech rate, jitter/shimmer index arousal
  reliably; valence from voice alone is weak. Speaker normalization is essential; recording
  conditions (microphone, room) confound features.
- **EDA (skin conductance).** Indexes sympathetic arousal — sensitive, but valence-blind (fear
  and excitement look identical). Measure: skin conductance responses (event-related peaks,
  1-4 s latency) and tonic level. Confounds: temperature, humidity, movement, electrode drying.
  Always record a baseline and analyze change scores.
- **Cardiac measures.** Heart rate (arousal/effort), HRV — RMSSD and high-frequency power index
  parasympathetic activity, associated with emotion regulation capacity. Needs clean ECG/PPG,
  controlled respiration (respiratory rate confounds HF-HRV), and ≥5 min recordings for trait
  HRV.
- **Facial EMG.** Corrugator (frown) tracks negative valence, zygomaticus (smile) positive
  valence — more valence-sensitive than EDA. Invasive-feeling but the best peripheral valence
  measure available.
- **Multimodal integration.** Channels disagree routinely (desynchrony is normal — experience,
  expression, and physiology decouple). Don't average them into one "emotion score"; model them
  as separate indicators of a latent state, and report divergence as a finding.

## Practical workflow

1. **Define the affective target.** Valence? Arousal? Specific appraisal? Pick measures that
   index that target (don't use EDA to study valence).
2. **Baseline.** Resting baseline for every physiological channel, every session; control room
   temperature and time of day.
3. **Elicit.** Validated stimuli (IAPS/NAPS images, film clips, music) with pilot-tested
   effectiveness; include neutral controls; randomize order.
4. **Record multimodally.** Self-report (SAM/PANAS) + at least one behavioral + one
   physiological channel; synchronize timestamps.
5. **Preprocess.** Artifact rejection per channel (movement in EDA, ectopic beats in ECG);
   baseline-correct; extract features in preregistered windows.
6. **Analyze.** Channel-appropriate models; test convergence across channels; treat divergence as
   informative, not as error.
7. **Report.** Stimulus validation data, preprocessing parameters, baseline procedures, and the
   validity evidence for each measure's claimed interpretation.

## Common pitfalls

- Treating commercial "emotion AI" labels as ground truth about felt emotion.
- Using EDA (arousal-only) to claim valence effects.
- Posed-expression datasets presented as spontaneous-emotion evidence.
- Ignoring desynchrony — forcing channels to agree.
- No baseline correction for physiology (individual differences swamp effects).
- Retrospective emotion ratings treated as momentary experience.
- Confounding emotion with attention, effort, or novelty (arousal is not specific).

Attribution

aicodedecodeaicodedecode
View sourceSee grades on GitHubMore from aicodedecode →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Caveman

Terse caveman voice: answer first, fluff gone, every technical fact kept. Use for /caveman, "caveman mode", "talk like caveman", "be brief", "less tokens". Stays on until "stop caveman" or "normal mode".

1100021 votes

Hyperplan

Adversarial multi-agent planning skill. Self-orchestrates 5 hostile category members (unspecified-low, unspecified-high, deep, ultrabrain, artistry) via team-mode for ruthless cross-critique debate, distills only the defensible insights, then MANDATORILY hands the distilled insight bundle to the `plan` agent for executable plan formalization. Use when planning needs maximum rigor and surfacing of weak assumptions, blind spots, and over-engineering. Triggers: 'hyperplan', 'hpp', '/hyperplan', ...

698621 votes

Writing Skills

Create and manage Claude Code skills in HASH repository following Anthropic best practices. Use when creating new skills, modifying skill-rules.json, understanding trigger patterns, working with hooks, debugging skill activation, or implementing progressive disclosure. Covers skill structure, YAML frontmatter, trigger types (keywords, intent patterns), UserPromptSubmit hook, and the 500-line rule. Includes validation and debugging with SKILL_DEBUG. Examples include rust-error-stack, cargo-dep...

3931 votes

Mcp Code Execution

Routes multi-tool workflows through MCP servers for large datasets and pipelines. Use when Bash tool overhead is limiting throughput on data-heavy tasks.

3421 votes

catchup

Recovers the conversation and failed tool calls of a previous Codex, Amp, Claude Code, Antigravity, Cline, Copilot CLI, Cursor, DeepSeek Harness, Grok Build, Kimi, OpenCode, Pi Agent, or ZCode session. Use when the user says "catch up", "what did the last session do", "get me up to speed", "I switched agents", asks to recover/summarize a previous session before continuing, or asks to diagnose or report a catchup failure. Do NOT use for the current conversation, git history, or any non-agent log.

741 votes
View all in ai-agents →