# Tribe V2 Engagement Analysis

Predict viewer brain engagement, identify low-engagement moments, and receive timestamped edit recommendations for videos, podcasts, or scripts. Outputs include a Markdown report and engagement curve plot.

**Canonical URL:** https://skillshunter.net/skills/discovered-0b162f969c8ac6cd05ab3a4acd7a1b13d032b043c547b880

**JSON URL:** https://skillshunter.net/api/public/v1/skills/discovered-0b162f969c8ac6cd05ab3a4acd7a1b13d032b043c547b880

**Markdown URL:** https://skillshunter.net/skills/discovered-0b162f969c8ac6cd05ab3a4acd7a1b13d032b043c547b880.md

**Instructions download URL:** https://skillshunter.net/skills/discovered-0b162f969c8ac6cd05ab3a4acd7a1b13d032b043c547b880/download

**Category:** Software & Development

**Source URL:** https://github.com/exhuman777/tribe-v2-engagement-analysis/blob/cefcdfd4929fb22da8b301455d576d68945fdf4a/SKILL.md

**Source commit:** cefcdfd4929fb22da8b301455d576d68945fdf4a

**Listing approved at:** 2026-11-30

**Created at:** 2026-11-29T10:51:18.000000Z

**Updated at:** 2026-11-30T06:51:23.000000Z

## Catalog information

The following descriptions are catalog information. Listing approval does not mean the skill has been tested or is safe for every environment.

### Editor's note

Install Yeo-7 annotation files (`lh/rh.Yeo2011_7Networks_N1000.annot`) and run `pip install numpy nibabel matplotlib` before using. Choose between local installation or Colab inference for TRIBE v2. TRIBE v2 is CC-BY-NC-4.0 licensed and intended for research or internal creative use only.

### When to use it

- Analyze this video for engagement drops
- Identify where to cut this podcast
- Predict how viewers react to an edit
- Find the boring parts of a script
- Rank different cuts by predicted attention

## Skill instructions

---
name: tribe-v2-engagement-analysis
description: Use when user wants to predict viewer brain engagement, find low-engagement moments, or get data-driven edit cuts for a video/podcast/script. Runs Meta's TRIBE v2 fMRI encoder, maps predictions to Yeo-7 networks (attention, DMN, reward, visual, language), and outputs timestamped edit recommendations.
---

# TRIBE v2 Engagement Analysis

## Overview

TRIBE v2 (Meta FAIR, 2026) predicts fMRI brain responses to video/audio/text on the fsaverage5 cortical surface (~20k vertices, 1 Hz). This skill turns those raw predictions into actionable edit notes: **where viewers tune out, where they focus, where to cut**.

**Core pipeline:** stimulus → TRIBE v2 → vertex time-series → Yeo-7 network aggregation → engagement score → valley detection → timestamped recommendations.

**License caveat:** TRIBE v2 is CC-BY-NC-4.0. Research / internal creative iteration only. Not a commercial audience measurement product.

## When to Use

- "Analyze this video for engagement drops"
- "Where should I cut this podcast?"
- "Predict how viewers react to this edit"
- "Find the boring parts of my script"
- "Rank these three cuts by predicted attention"

**Do NOT use for:** clinical claims, medical diagnosis, real-subject data (TRIBE predicts average-subject fMRI, not individuals), or commercial audience measurement products.

## Quick Reference

| Network (Yeo-7) | Meaning | High value = |
|---|---|---|
| Visual | V1–V4 activation | scene is visually dense |
| Dorsal Attention (DAN) | top-down focus | viewer locked in |
| Ventral Attention (VAN) | salience / surprise | something grabbed them |
| Limbic | reward / affect (cortical proxy) | emotional engagement |
| Frontoparietal (FPN) | cognitive control | active thinking |
| Default Mode (DMN) | self-referential / mind-wandering | **disengagement / drift** |
| Somatomotor | action / speech motor | physical involvement |

**Engagement score:** `E(t) = z(DAN) + z(VAN) + z(Limbic) + z(Visual) − z(DMN)`

## Workflow

Two paths — pick whichever is easier:

### A. Colab inference → local analysis (recommended for most users)

Run TRIBE v2 in Google Colab (free GPU), download `preds.npy`, analyze locally. No TRIBE/torch install needed on your machine.

See [colab-snippet.md](references/colab-snippet.md) for the notebook cells.

```bash
python scripts/analyze.py --preds preds.npy --out report.md --plot curve.png
```

### B. Full local install

Install TRIBE v2, HF weights (~15 GB), Yeo annot. See [setup.md](references/setup.md).

```bash
python scripts/analyze.py --video input.mp4 --out report.md --plot curve.png
```

## Running the Analysis

```bash
python ~/.claude/skills/tribe-v2-engagement-analysis/scripts/analyze.py \
  [--video FILE | --audio FILE | --text FILE | --preds preds.npy] \
  --out report.md \
  [--plot curve.png]
```

Exactly one input source. `--preds` accepts `(T, 20484)` float32 fsaverage5 arrays already HRF-offset.

See [scripts/analyze.py](scripts/analyze.py) for the full pipeline and [scripts/networks.py](scripts/networks.py) for Yeo mapping logic.

## Interpreting Output

- **Valley** (E(t) < −1σ for ≥4s): candidate cut or tighten. Check DMN — if DMN spikes, viewers are mind-wandering.
- **Peak** (E(t) > +1σ): keep, consider as thumbnail / clip hook.
- **Language-heavy with low visual:** add B-roll or cutaways.
- **DAN flat + DMN rising:** pacing problem, re-cut.
- **Limbic peak + VAN peak:** emotional hook — protect this moment.

## Mapping Table

See [roi-to-engagement.md](references/roi-to-engagement.md) for full vertex→network→editorial-meaning lookup and the rationale / literature pointers behind each mapping.

## Script & Hook Writing (pre-production)

Before rendering and analyzing, write the reel correctly. See [hooks-and-ugc-scripting.md](references/hooks-and-ugc-scripting.md) for:

- 5 awareness stages (match hook to audience)
- 8 psychological triggers (Pattern Interrupt, Identity Call-Out, Pain Agitation, Curiosity Gap, Social Proof, Contrarian, Aspiration, Urgency)
- Triple-layer hook rule (Spoken + Visual + Text Overlay)
- 35 hook tactics taxonomy
- UGC emotional arc (Hook → Problem → Solution → Proof → CTA)
- Read-aloud test
- Word-count targets by duration
- Voice-pattern swipe file
- VIA-specific legal-safe phrasing (EU AI Act)

The typical loop: write with hooks-and-ugc → render → score with TRIBE → fix the beat that valleyed.

## Common Mistakes

- **Treating TRIBE predictions as ground truth for one viewer.** It predicts the *average* subject. Use for relative ranking within one stimulus, not absolute claims.
- **Ignoring the 5s HRF offset.** Predictions are already offset by the pipeline; don't apply it again.
- **Reading subcortical claims into results.** TRIBE v2 is cortical-only. "Reward" here = cortical limbic proxy (OFC, vmPFC, ACC), NOT NAcc/VTA.
- **Running on clips <10s.** Too short for stable temporal context (window = 3s, model expects several windows).
- **Using for ads without a license review.** CC-BY-NC-4.0.

## Red Flags

- Stakeholder wants "neuroscience-validated" claim → reject, this is a predictive model not a measurement.
- Asked to compare two viewer groups → out of scope, model is subject-average.
- Asked for millisecond precision → model is 1 Hz, fMRI resolution only.

